Class ObjectIdRelationshipHandler
java.lang.Object
org.apache.cayenne.lifecycle.relationship.ObjectIdRelationshipHandler
- Since:
- 3.1
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionobjectIdPropertyName(DataObject object) objectIdRelationshipName(String uuidPropertyName) voidrelate(DataObject from, DataObject to) Establishes an ObjectId relationship between two objects.
-
Field Details
-
referenceableHandler
-
-
Constructor Details
-
ObjectIdRelationshipHandler
-
-
Method Details
-
objectIdRelationshipName
-
objectIdPropertyName
-
relate
Establishes an ObjectId relationship between two objects. Objects must be registered in the same ObjectContext. "from" argument is the object annotated with UuidRelationship. Second argument can optionally be null.
-