xmltool.datastructure
Class Attrib

java.lang.Object
  |
  +--xmltool.datastructure.Attrib

public class Attrib
extends java.lang.Object
implements java.lang.Cloneable

Definition of an attribute of a DTD and its properties


Constructor Summary
Attrib()
          Default constructor for this class
Attrib(java.lang.String attributeName, boolean editable, java.lang.String attributeValue, boolean selected, int attributeType, java.lang.String attributeOpValue)
          Constructor for this class
Attrib(java.lang.String attributeName, int attributeType, boolean editable)
          Constructor for this class
 
Method Summary
 java.lang.String getAttributesName()
           
 java.lang.String getAttributesOpValue()
           
 int getAttributesType()
           
 java.lang.String getAttributesValue()
           
 boolean getConsidered()
           
 boolean getDuplicate()
           
 boolean getEditable()
           
 boolean getSelected()
           
 void setAttributesName(java.lang.String c)
           
 void setAttributesOpValue(java.lang.String c)
           
 void setAttributesType(int c)
           
 void setAttributesValue(java.lang.String c)
           
 void setConsidered(boolean c)
           
 void setDuplicate(boolean c)
           
 void setEditable(boolean c)
           
 void setSelected(boolean c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Attrib

public Attrib()
Default constructor for this class

Attrib

public Attrib(java.lang.String attributeName,
              boolean editable,
              java.lang.String attributeValue,
              boolean selected,
              int attributeType,
              java.lang.String attributeOpValue)
Constructor for this class
Parameters:
attributeName - Name of the attribute
editable - Currently always true, determines whether this is to be displayed as a textbox in which user can enter query or not
attributeValue - Value of the attribute
attributeOpValue - Operator value of the attribute
selected - Whether the user has selected this value (by checking the checkbox)
type - Type of the attribute as assigned by the parser

Attrib

public Attrib(java.lang.String attributeName,
              int attributeType,
              boolean editable)
Constructor for this class
Parameters:
attributeName - Name of the attribute
editable - Currently always true
attributeType - Type of the attribute as assigned by the parser
Method Detail

getAttributesName

public java.lang.String getAttributesName()

getAttributesType

public int getAttributesType()

getEditable

public boolean getEditable()

getSelected

public boolean getSelected()

getDuplicate

public boolean getDuplicate()

getConsidered

public boolean getConsidered()

getAttributesValue

public java.lang.String getAttributesValue()

getAttributesOpValue

public java.lang.String getAttributesOpValue()

setAttributesName

public void setAttributesName(java.lang.String c)

setAttributesType

public void setAttributesType(int c)

setEditable

public void setEditable(boolean c)

setSelected

public void setSelected(boolean c)

setDuplicate

public void setDuplicate(boolean c)

setConsidered

public void setConsidered(boolean c)

setAttributesValue

public void setAttributesValue(java.lang.String c)

setAttributesOpValue

public void setAttributesOpValue(java.lang.String c)