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 |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
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 attributeeditable - Currently always true, determines whether this is to be displayed as a textbox in which user can enter query or notattributeValue - Value of the attributeattributeOpValue - Operator value of the attributeselected - 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 attributeeditable - Currently always trueattributeType - Type of the attribute as assigned by the parser
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)