Class TopiaEntityRef
java.lang.Object
org.nuiton.topia.persistence.util.TopiaEntityRef
- All Implemented Interfaces:
java.lang.Comparable<TopiaEntityRef>
public class TopiaEntityRef extends java.lang.Object implements java.lang.Comparable<TopiaEntityRef>
Definition of a reference of an entity from a root entity.
the method
getAccessorExpression() return the jxpath to access the
ref from the root object.
TODO Javadoc...- Since:
- 2.2.0
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSEPARATOR -
Constructor Summary
Constructors Constructor Description TopiaEntityRef(TopiaEntity root, TopiaEntity ref, java.lang.String accessorExpression, TopiaEntity[] path) -
Method Summary
Modifier and Type Method Description intcompareTo(TopiaEntityRef o)java.lang.StringgetAccessorExpression()TopiaEntitygetInvoker()java.lang.StringgetInvokerProperty()TopiaEntity[]getPath()TopiaEntitygetRef()TopiaEntitygetRoot()java.lang.StringtoString()
-
Field Details
-
SEPARATOR
public static final java.lang.String SEPARATOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
TopiaEntityRef
public TopiaEntityRef(TopiaEntity root, TopiaEntity ref, java.lang.String accessorExpression, TopiaEntity[] path)
-
-
Method Details
-
getRoot
-
getRef
-
getAccessorExpression
public java.lang.String getAccessorExpression() -
getPath
-
getInvoker
-
getInvokerProperty
public java.lang.String getInvokerProperty() -
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
compareTo
- Specified by:
compareToin interfacejava.lang.Comparable<TopiaEntityRef>
-