org.xanot.structure
Class ParentReferenceRule

java.lang.Object
  extended by org.xanot.structure.XanotRule
      extended by org.xanot.structure.ParentReferenceRule

public class ParentReferenceRule
extends XanotRule

This rule defines that the current instance of object should contains reference to parent.

Author:
fneman

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

ParentReferenceRule

public ParentReferenceRule(java.lang.String path,
                           java.lang.String attributeName)
Create new instance of parent reference rule

Parameters:
path - XML path
attributeName - Attribute of the object.
Method Detail

getAttributeName

public java.lang.String getAttributeName()
Get the attributeName value.

Returns:
Attribute Name Value.

setAttributeName

public void setAttributeName(java.lang.String attributeName)
Set the attributeName value.

Parameters:
attributeName - Attribute Name new value

toString

public java.lang.String toString()
Get string representation of this object.

Overrides:
toString in class java.lang.Object
Returns:
String representation.


Copyright 2006 null. All Rights Reserved.