com.ca.directory.jxplorer.viewer.tableviewer
Class AttributeType

java.lang.Object
  |
  +--com.ca.directory.jxplorer.viewer.tableviewer.AttributeType

public class AttributeType
extends java.lang.Object

TableAttributeEditor utility class; encapsulates the idea of a displayable object type name, that may or may not be mandatory (and hence displayed differently).


Field Summary
 boolean mandatory
           
 java.lang.String value
           
 
Constructor Summary
AttributeType(java.lang.String name, boolean isMandatory)
          initialise with an object, take a backup, and set changed to false
 
Method Summary
 java.lang.String getValue()
           
 boolean isMandatory()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

value

public java.lang.String value

mandatory

public boolean mandatory
Constructor Detail

AttributeType

public AttributeType(java.lang.String name,
                     boolean isMandatory)
initialise with an object, take a backup, and set changed to false

Method Detail

getValue

public java.lang.String getValue()

isMandatory

public boolean isMandatory()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object