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:
getKey
in interfaceIEntityReferenceDescriptor
- Returns:
Object
identifying the location of the entity reference. You may use any object you wish it is guaranteed that the key you return fromreadEntityReferences
is 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:
getRef
in interfaceIEntityReferenceDescriptor
- Returns:
- The
reference
to an entity in the properties at the givenIEntityReferenceDescriptor.getKey()
.
-
toString
-