@Api public interface Variable
Modifier and Type | Method and Description |
---|---|
Type<?> |
getBasicType()
Returns basic type from xpdl declaration.
|
String |
getDescription()
Returns variable description.
|
String |
getId()
Returns variable id.
|
String |
getName()
Returns variable name.
|
Type<?> |
getPmidxType()
Returns pm_idx type from db
|
Type<?> |
getType()
Returns variable type.
|
<T> T |
getValue()
Returns variable value.
|
Object |
getValueAsBasicType()
Returns value parsed to basic type from xpdl definition.
|
Object |
getValueAsPmidxType()
Returns value parsed to type for pm_idx table
|
boolean |
hasPhantomValue()
Determines if variable has value changed but that value has not been saved in database yet.
|
boolean |
isArray()
Determines if variable is from table.
|
void |
setValue(Object value)
Sets the value;
|
void |
valueSynchronized()
Marks that value is synchronized because it was saved in database.
|
String getId()
Type<?> getType()
Type<?> getBasicType()
Type<?> getPmidxType()
<T> T getValue()
void setValue(Object value)
value
- Value to set.Object getValueAsBasicType()
Object getValueAsPmidxType()
String getName()
String getDescription()
boolean isArray()
boolean hasPhantomValue()
void valueSynchronized()
Copyright © 2019 Suncode. All rights reserved.