Package org.tentackle.wurblet
Class JoinPath
java.lang.Object
org.tentackle.wurblet.JoinPath
Path of
Joins.- Author:
- harald
-
Constructor Details
-
JoinPath
Creates a relation path.- Parameters:
elements- the relations, null or empty if nonepaths- the continuation paths, null or empty if none
-
JoinPath
Creates a normalized relation path.- Parameters:
element- the relationpaths- the continuation paths, null or empty if none
-
-
Method Details
-
getElements
-
getPaths
-
findJoin
Finds the join for a given component.- Parameters:
component- the component- Returns:
- the path if unique, null if no path
- Throws:
org.wurbelizer.wurbel.WurbelException- if component path is ambiguous
-
findJoin
Find the join for given relation path.- Parameters:
relations- the relation path- Returns:
- the join if found, else null
-
normalize
public void normalize()Normalizes the join and all subjoins.
A normalized join contains only a single element. -
toString
-