|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xanot.structure.XanotRule
org.xanot.structure.ParentReferenceRule
public class ParentReferenceRule
This rule defines that the current instance of object should contains reference to parent.
Constructor Summary | |
---|---|
ParentReferenceRule(java.lang.String path,
java.lang.String attributeName)
Create new instance of parent reference rule |
Method Summary | |
---|---|
java.lang.String |
getAttributeName()
Get the attributeName value. |
void |
setAttributeName(java.lang.String attributeName)
Set the attributeName value. |
java.lang.String |
toString()
Get string representation of this object. |
Methods inherited from class org.xanot.structure.XanotRule |
---|
getPath, setPath |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ParentReferenceRule(java.lang.String path, java.lang.String attributeName)
path
- XML pathattributeName
- Attribute of the object.Method Detail |
---|
public java.lang.String getAttributeName()
public void setAttributeName(java.lang.String attributeName)
attributeName
- Attribute Name new valuepublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |