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()
BaseElement
getId
in interface BaseElement
public String getName()
NamedElement
getName
in interface NamedElement
public String getDescription()
DataInstance
DataDefinition
.getDescription
in interface DataInstance
DescriptionElement.getDescription()
public abstract Serializable getValue()
DataInstance
getValue
in interface DataInstance
public abstract void setValue(Serializable value)
public Boolean isTransientData()
DataInstance
isTransientData
in interface DataInstance
true
if the data is transient, false
otherwise.DataDefinition.isTransientData()
public String getClassName()
DataInstance
DataDefinition
.getClassName
in interface DataInstance
DataDefinition.getClassName()
public long getContainerId()
DataInstance
ProcessInstance
or a
FlowNodeInstance
.getContainerId
in interface DataInstance
BaseElement.getId()
,
BaseElement.getId()
public String getContainerType()
DataInstance
PROCESS_INSTANCE
ACTIVITY_INSTANCE
MESSAGE_INSTANCE
getContainerType
in interface DataInstance
Copyright © 2020 Bonitasoft S.A. All rights reserved.