Interface RuntimeObject
- 
- All Superinterfaces:
- RuntimeClass,- RuntimeClassComp
 
 public interface RuntimeObject extends RuntimeClass Runtime object instance information.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectgetMemberValue(String name)Get the member valueRuntimeListValuegetMemberValues(String name)Get the member collection value.booleansetMemberValue(String name, Object value)Will throw RunTimeException when: - RuntimeMemberClassCastException - when the value could not be cast to the expected ClassType.voidsetStrictMode(boolean value)In strict mode RunTimeExceptions may be thrown when calling setMemberValue() or getMemberValue(), such as: - RuntimeMemberClassCastException - RuntimeMemberDoesNotExistException In case strict mode is disabled, the above exceptions will be repressed.- 
Methods inherited from interface com.redwood.scheduler.api.runtime.RuntimeClassgetBuiltInFunctions, getContextVariables, getDescription, getMembers, getMemberType, getMemberTypeString, getObjectType, getRELEntryPoints, getRuntimeClass, hasMember, isAuditable, isAuditableAtLevel, supportsREL
 
- 
 
- 
- 
- 
Method Detail- 
setMemberValueboolean setMemberValue(String name, Object value) Will throw RunTimeException when: - RuntimeMemberClassCastException - when the value could not be cast to the expected ClassType. Note: When strictMode is disabled, it will still return false on failure.- Parameters:
- name- The member name
- value- The object value to set, which must be of the class-type described in RuntimeClass.getMemberType().
- Returns:
- false if the value could not be set.
 
 - 
getMemberValueObject getMemberValue(String name) Get the member value- Parameters:
- name- The member name
- Returns:
- The member value
 
 - 
getMemberValuesRuntimeListValue getMemberValues(String name) Get the member collection value. Note: Will also return a valid RuntimeListValue for non collection members.- Parameters:
- name- The member name
- Returns:
- The members collection value
 
 - 
setStrictModevoid setStrictMode(boolean value) In strict mode RunTimeExceptions may be thrown when calling setMemberValue() or getMemberValue(), such as: - RuntimeMemberClassCastException - RuntimeMemberDoesNotExistException In case strict mode is disabled, the above exceptions will be repressed.- Parameters:
- value- The strict mode status
 
 
- 
 
-