public abstract class DataInstanceImpl extends Object implements DataInstance
| Constructor and Description |
|---|
DataInstanceImpl() |
DataInstanceImpl(DataDefinition dataDefinition) |
| Modifier and Type | Method and Description |
|---|---|
String |
getClassName()
Get the class name of the type of the data defined in
DataDefinition. |
long |
getContainerId()
Get the identifier of the element where the data is defined.
|
String |
getContainerType()
Get the type of the element where the data is defined.
|
String |
getDescription()
Get the description of the data defined in
DataDefinition. |
long |
getId()
Gets the unique object identifier.
|
String |
getName()
Gets the element name.
|
long |
getTenantId()
Deprecated.
|
abstract Serializable |
getValue()
Get the value of the data.
|
Boolean |
isTransientData()
Is it transient?
|
void |
setClassName(String className) |
void |
setContainerId(long containerId) |
void |
setContainerType(String containerType) |
void |
setDataTypeClassName(String className) |
void |
setDescription(String description) |
void |
setId(long id) |
void |
setName(String name) |
void |
setTenantId(long tenantId)
Deprecated.
|
void |
setTransientData(boolean transientData) |
abstract void |
setValue(Serializable value) |
public DataInstanceImpl()
public DataInstanceImpl(DataDefinition dataDefinition)
@Deprecated public void setTenantId(long tenantId)
public void setId(long id)
public void setName(String name)
public void setDescription(String description)
public void setTransientData(boolean transientData)
public void setClassName(String className)
public void setContainerId(long containerId)
public void setContainerType(String containerType)
public void setDataTypeClassName(String className)
@Deprecated public long getTenantId()
public long getId()
BaseElementgetId in interface BaseElementpublic String getName()
NamedElementgetName in interface NamedElementpublic String getDescription()
DataInstanceDataDefinition.getDescription in interface DataInstanceDescriptionElement.getDescription()public abstract Serializable getValue()
DataInstancegetValue in interface DataInstancepublic abstract void setValue(Serializable value)
public Boolean isTransientData()
DataInstanceisTransientData in interface DataInstancetrue if the data is transient, false otherwise.DataDefinition.isTransientData()public String getClassName()
DataInstanceDataDefinition.getClassName in interface DataInstanceDataDefinition.getClassName()public long getContainerId()
DataInstanceProcessInstance or a
FlowNodeInstance.getContainerId in interface DataInstanceBaseElement.getId(),
BaseElement.getId()public String getContainerType()
DataInstancePROCESS_INSTANCE
ACTIVITY_INSTANCE
MESSAGE_INSTANCE
getContainerType in interface DataInstanceCopyright © 2018 Bonitasoft S.A.. All rights reserved.