org.nuiton.topia.persistence.util
Class TopiaEntityRef

java.lang.Object
  extended by 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
static java.lang.String SEPARATOR
           
 
Constructor Summary
TopiaEntityRef(TopiaEntity root, TopiaEntity ref, java.lang.String accessorExpression, TopiaEntity[] path)
           
 
Method Summary
 int compareTo(TopiaEntityRef o)
           
 java.lang.String getAccessorExpression()
           
 TopiaEntity getInvoker()
           
 java.lang.String getInvokerProperty()
           
 TopiaEntity[] getPath()
           
 TopiaEntity getRef()
           
 TopiaEntity getRoot()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SEPARATOR

public static final java.lang.String SEPARATOR
See Also:
Constant Field Values
Constructor Detail

TopiaEntityRef

public TopiaEntityRef(TopiaEntity root,
                      TopiaEntity ref,
                      java.lang.String accessorExpression,
                      TopiaEntity[] path)
Method Detail

getRoot

public TopiaEntity getRoot()

getRef

public TopiaEntity getRef()

getAccessorExpression

public java.lang.String getAccessorExpression()

getPath

public TopiaEntity[] getPath()

getInvoker

public TopiaEntity getInvoker()

getInvokerProperty

public java.lang.String getInvokerProperty()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

compareTo

public int compareTo(TopiaEntityRef o)
Specified by:
compareTo in interface java.lang.Comparable<TopiaEntityRef>


Copyright © 2004-2009 CodeLutin. All Rights Reserved.