ScriptMember is a simple container for member data.
The set methods only update the object, and do not write the values to the database. Use objects of type ScriptNodeWritableDerived or ScriptNodeWritableOriginal to write a script member back to the database.
double = getScale() | Get the scale of the member. |
ScriptNode = getTarget() | Get the target of the member. |
int = getNodeVersionIdentifierTarget() | Return the node version identifier of the target, or 0 if there is none. Does not read database. |
String = getValue() | Get the value of the member. |
setScale(double) | Set the scale of the member. |
setValue(string) | Set the value of the member. |
setTarget(target) | Set the target of the member. Target can be an integer, string or ScriptNode. |
int = getUserIdentifierCreated() | Get the internal id of the user who created the member, or 0 if not set. |
int = getUserIdentifierAmended() | Get the internal id of the user who last amended the member, or 0 if not set. |
String = getTimestampCreated() | Get the timestamp when the member was created, in yyyy-mm-ddThh:mm:ss.sss format, or null if not set. |
String = getTimestampAmended() | Get the timestamp when the member was last amended, in yyyy-mm-ddThh:mm:ss.sss format, or null if not set. |
int = getSequence() | Get the sequence number of the member. This is returned when a member is retrieved from a node. Passing this into setMember allows the same member to be overwritten. |
ScriptNode = getNodeVersionIdentifierOriginal() | Return the identifier of the node that created this member, or 0 if this is not recorded. Generally this is the same as the node from which the member was read, except for inherited members where it will be set to the node from which the data was inherited. |