Class ObjectReferenceDescriptor
java.lang.Object
de.xima.fc.workflow.ObjectReferenceDescriptor
- All Implemented Interfaces:
IObjectReferenceDescriptor, Serializable
POJO implementation of
IObjectReferenceDescriptor.- Since:
- 8.5.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionObjectReferenceDescriptor(Serializable key, IObjectReference reference) Creates a new POJO instance with the given data. -
Method Summary
-
Constructor Details
-
ObjectReferenceDescriptor
Creates a new POJO instance with the given data.- Parameters:
key- The key or path to the reference.reference- The reference.
-
-
Method Details
-
equals
-
getPath
Description copied from interface:IObjectReferenceDescriptorReturns the object identifying the location or path of the object reference. You may use any serializable object you wish. It is guaranteed that the path you return fromreadObjectReferencesis the same path that will be passed towriteObjectReferenceslater. You can then use this path to write back the object to the properties model. For example, you may choose to use simple string names; or JSON paths if your properties model contains lists or maps.- Specified by:
getPathin interfaceIObjectReferenceDescriptor- Returns:
- The path identifying the location of the object reference.
-
getReference
Description copied from interface:IObjectReferenceDescriptorReturns thereferenceto an object in the properties at the givenpath. Usually this is the ID of the object that can be used to identify it.- Specified by:
getReferencein interfaceIObjectReferenceDescriptor- Returns:
- The reference to the object at the path.
-
hashCode
-
toString
-