|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @Inherited public @interface ObjectIdRelationship
Defines a "virtual" read-only to-one relationship based on an FK that is a String representation of Cayenne ObjectId. A target object of this relationship can be of any entity type.
| Optional Element Summary | |
|---|---|
String |
value
Returns the name of the property of the annotated entity that stores a String "FK" of a related entity. |
public abstract String value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||