org.nuiton.topia.persistence.util
Class TopiaEntityRef

java.lang.Object
  extended by org.nuiton.topia.persistence.util.TopiaEntityRef
All Implemented Interfaces:
Comparable<TopiaEntityRef>

public class TopiaEntityRef
extends Object
implements 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 String SEPARATOR
           
 
Constructor Summary
TopiaEntityRef(TopiaEntity root, TopiaEntity ref, String accessorExpression, TopiaEntity[] path)
           
 
Method Summary
 int compareTo(TopiaEntityRef o)
           
 String getAccessorExpression()
           
 TopiaEntity getInvoker()
           
 String getInvokerProperty()
           
 TopiaEntity[] getPath()
           
 TopiaEntity getRef()
           
 TopiaEntity getRoot()
           
 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 String SEPARATOR
See Also:
Constant Field Values
Constructor Detail

TopiaEntityRef

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

getRoot

public TopiaEntity getRoot()

getRef

public TopiaEntity getRef()

getAccessorExpression

public String getAccessorExpression()

getPath

public TopiaEntity[] getPath()

getInvoker

public TopiaEntity getInvoker()

getInvokerProperty

public String getInvokerProperty()

toString

public String toString()
Overrides:
toString in class Object

compareTo

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


Copyright © 2004-2010 CodeLutin. All Rights Reserved.