public interface IRuntimeElement
Modifier and Type | Method and Description |
---|---|
void |
forceSave()
Causes an immediate call to the underlying persistence mechanism's write-now method.
|
BigDecimal |
getBigDecimalProperty(String key)
Gets a BigDecimal property from the Runtime Element.
|
BigDecimal |
getBigDecimalProperty(String key,
BigDecimal defaultValue)
Gets a BigDecimal property from the Runtime Element.
|
Date |
getDateProperty(String key)
Gets a Date property from the Runtime Element.
|
Date |
getDateProperty(String key,
Date defaultValue)
Gets a Date property from the Runtime Element.
|
String |
getInstanceId() |
List |
getListProperty(String key)
Gets a List property from the Runtime Element
|
boolean |
getLoaded() |
int |
getLoggingLevel() |
long |
getLongProperty(String key,
long defaultValue)
Gets a property from the paramMap as a long using a default value if it doesn't exist in the map
|
Long |
getLongProperty(String key,
Long defaultValue)
Gets a Long property from the Runtime Element.
|
Map |
getMapProperty(String key)
Gets a Map property from the Runtime Element Special implementation note - Null values aren't supported in the
Map.
|
Set |
getParameterNames() |
String |
getParameterType(String name)
Gets the type of the parameter
|
String |
getParentId() |
String |
getParentType() |
int |
getRevision() |
String |
getSolutionId() |
String |
getStringProperty(String key)
Gets a string property from the Runtime Element.
|
String |
getStringProperty(String key,
String defaultValue)
Gets a string property from the Runtime Element.
|
void |
setAllowableAttributeNames(Collection allowableReadAttributeNames) |
void |
setBigDecimalProperty(String key,
BigDecimal value)
Sets a BigDecimal property in the Runtime Element.
|
void |
setDateProperty(String key,
Date value)
Sets a Date property in the Runtime Element.
|
void |
setInstanceId(String instanceId) |
void |
setListProperty(String key,
List value)
Sets a List Property in the Runtime Element
|
void |
setLoaded(boolean value) |
void |
setLongProperty(String key,
long value)
Sets a Long property in the Runtime Element.
|
void |
setLongProperty(String key,
Long value)
Sets a Long property in the Runtime Element.
|
void |
setMapProperty(String key,
Map value)
Sets a Map Property in the Runtime Element Special implementation note - Null values aren't supported in the
Map.
|
void |
setParentId(String parentId) |
void |
setParentType(String parentType) |
void |
setSolutionId(String solutionId) |
void |
setStringProperty(String key,
String value)
Sets a string property in the Runtime Element.
|
String |
toXML() |
String getParentId()
void setParentId(String parentId)
parentId
- The parentId to set.String getParentType()
void setParentType(String parentType)
parentType
- The parent type to setString getInstanceId()
void setInstanceId(String instanceId)
instanceId
- The instance Id to setString getSolutionId()
void setSolutionId(String solutionId)
solutionId
- The solution Id to setint getRevision()
String getStringProperty(String key)
key
- The key of the propertyString getStringProperty(String key, String defaultValue)
key
- The key of the propertydefaultValue
- The value to return if the property doesn't existvoid setStringProperty(String key, String value)
key
- The key of the property to setvalue
- The value to associate with the keyBigDecimal getBigDecimalProperty(String key)
key
- The key of the propertyBigDecimal getBigDecimalProperty(String key, BigDecimal defaultValue)
key
- The key of the propertydefaultValue
- The value to return if the property doesn't existvoid setBigDecimalProperty(String key, BigDecimal value)
key
- The key of the property to setvalue
- The value to associate with the key.Date getDateProperty(String key)
key
- The key of the propertyDate getDateProperty(String key, Date defaultValue)
key
- The key of the propertydefaultValue
- The value to return if the property doesn't existvoid setDateProperty(String key, Date value)
key
- The key of the property to setvalue
- The value to associate with the key.Long getLongProperty(String key, Long defaultValue)
key
- The key of the propertydefaultValue
- The value to return if the property doesn't existlong getLongProperty(String key, long defaultValue)
key
- Key in the paramMapdefaultValue
- The default value if the property doesn't exist in the paramMap.void setLongProperty(String key, Long value)
key
- The key of the property to setvalue
- The value to associate with the key.void setLongProperty(String key, long value)
key
- The key of the property to setvalue
- The value to associate with the key. Note - A new Long object is constructed and stored.List getListProperty(String key)
key
- The key of the property to getMap getMapProperty(String key)
key
- The key of the property to getvoid setListProperty(String key, List value)
key
- The key of the property to setvalue
- The List value to associate with the key.void setMapProperty(String key, Map value)
key
- The key of the property to setvalue
- The Map value to associate with the key.String toXML()
int getLoggingLevel()
void setAllowableAttributeNames(Collection allowableReadAttributeNames)
allowableReadAttributeNames
- The names of the attributes that this process is allowed to read.Set getParameterNames()
String getParameterType(String name)
name
- Parameter namevoid setLoaded(boolean value)
boolean getLoaded()
void forceSave()