Package org.tentackle.wurblet
Class WurbletRelation
java.lang.Object
org.tentackle.wurblet.WurbletRelation
A relation within a
Describes an element of a path to an attribute or entity.
WurbletArgument
.Describes an element of a path to an attribute or entity.
-
Constructor Summary
ConstructorDescriptionWurbletRelation
(Relation relation, String filter) Creates a wurblet relation. -
Method Summary
-
Constructor Details
-
WurbletRelation
public WurbletRelation(Relation relation, String filter) throws org.wurbelizer.wurbel.WurbelException Creates a wurblet relation.- Parameters:
relation
- the model relationfilter
- an optional filter string (only for load joins), null if none- Throws:
org.wurbelizer.wurbel.WurbelException
- if parsing the filter failed
-
-
Method Details
-
getRelation
Gets the model relation.- Returns:
- the relation
-
getFilter
Gets the optional filter string.- Returns:
- the filter, null if none
-
getParser
Gets the optional parser that has been applied to the filter string.- Returns:
- the parser, null if none
-
toString
-
equals
-
hashCode
public int hashCode()
-