Package io.ran
Class RelationDescriber
java.lang.Object
io.ran.RelationDescriber
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionstatic RelationDescriberdescriber(Clazz<?> fromClass, Relation relationAnnotation, Token field, Clazz<?> toClass, KeySet fromKeys, KeySet toKeys, RelationType type, Clazz<?> collectionType) Clazz<?>getField()Clazz<?>Clazz<?>getType()getVia()For direct relations, this returns an empty list.inverse()booleanboolean
- 
Method Details- 
describerpublic static RelationDescriber describer(Clazz<?> fromClass, Relation relationAnnotation, Token field, Clazz<?> toClass, KeySet fromKeys, KeySet toKeys, RelationType type, Clazz<?> collectionType) 
- 
getFromClass
- 
getToClass
- 
getFromKeys
- 
getType
- 
getField
- 
getToKeys
- 
getCollectionType
- 
isCollectionRelationpublic boolean isCollectionRelation()
- 
getViaFor direct relations, this returns an empty list. For "via" relations this returns list with 2 elements, the first is the relation from -> via, and the second is the relation via -> to.
- 
inverse
- 
getRelationAnnotation
- 
requiredFieldsEquals
 
-