Package de.xima.fc.workflow
Class EntityReferenceDescriptor
java.lang.Object
de.xima.fc.workflow.EntityReferenceDescriptor
- All Implemented Interfaces:
IEntityReferenceDescriptor
POJO implementation of
IEntityReferenceDescriptor.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
ConstructorsConstructorDescriptionEntityReferenceDescriptor(Object key, IEntityReference ref) New POJO instance with the given data. -
Method Summary
-
Constructor Details
-
Method Details
-
getKey
- Specified by:
getKeyin interfaceIEntityReferenceDescriptor- Returns:
Objectidentifying the location of the entity reference. You may use any object you wish it is guaranteed that the key you return fromreadEntityReferencesis the same key that will be passed towriteEntityReferences. You can then use this key to write back the entity 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.
-
getRef
- Specified by:
getRefin interfaceIEntityReferenceDescriptor- Returns:
- The
referenceto an entity in the properties at the givenIEntityReferenceDescriptor.getKey().
-
toString
-