Class PathInfoTask.PathInfo
java.lang.Object
ch.tocco.nice2.persist.core.api.exec.tasks2.PathInfoTask.PathInfo
- Enclosing class:
PathInfoTask
Information gathered when resolving a path against a source entity model.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getField()
Returns the field model, if resolving the path results in one.getPath()
The path that was resolved againstgetSource()
.If the path includes relation paths, this is the model of the last relation component in the path.The source entity model.The target entity model that is obtained by resolving the path against `source`.int
hashCode()
-
Method Details
-
getTarget
The target entity model that is obtained by resolving the path against `source`. If a relation model is present, then this is always its target entity. Otherwise, source and target are the same and the path resolves to a field. -
getField
Returns the field model, if resolving the path results in one. The path was then either just a field name or prefixed by relations (if so,getRelation()
returns the last relation model that resolves to the entity model containing this field). -
getSource
The source entity model. -
getPath
The path that was resolved againstgetSource()
. -
getRelation
If the path includes relation paths, this is the model of the last relation component in the path. -
equals
-
hashCode
public int hashCode()
-