com.metamatrix.common.config.model
Class BasicPropDefnAllowedValue

java.lang.Object
  extended by com.metamatrix.common.namedobject.BasicObject
      extended by com.metamatrix.common.config.model.BasicPropDefnAllowedValue
All Implemented Interfaces:
PropDefnAllowedValue, BaseObject, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable

public class BasicPropDefnAllowedValue
extends BasicObject
implements PropDefnAllowedValue

BasicPropDefnAllowedValue extends PropDefnAllowedValue so that the editor can utilize this class to obtain non-exposed methods

See Also:
Serialized Form

Constructor Summary
BasicPropDefnAllowedValue(ComponentTypeDefnID typeDefnID, ComponentTypeID typeID, PropDefnAllowedValueID allowedValueID, java.lang.String newValue)
           
 
Method Summary
 java.lang.Object clone()
          Return a deep cloned instance of this object.
 int getAllowedCode()
           
 ComponentTypeDefnID getComponentTypeDefnID()
          Returns the ComponentTypeDefnID this allowed values belongs to.
 ComponentTypeID getComponentTypeID()
          Returns the ComponentTypeID this represents the type of component this is defined for.
 java.lang.String getValue()
          Returns the value
 void setValue(java.lang.String newValue)
           
 java.lang.String toString()
          Returns a string representing the current state of the object.
 
Methods inherited from class com.metamatrix.common.namedobject.BasicObject
compareTo, equals, getFullName, getID, getName, hashCode, setID
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.metamatrix.common.namedobject.BaseObject
getFullName, getID, getName
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

BasicPropDefnAllowedValue

public BasicPropDefnAllowedValue(ComponentTypeDefnID typeDefnID,
                                 ComponentTypeID typeID,
                                 PropDefnAllowedValueID allowedValueID,
                                 java.lang.String newValue)
Method Detail

getComponentTypeDefnID

public ComponentTypeDefnID getComponentTypeDefnID()
Description copied from interface: PropDefnAllowedValue
Returns the ComponentTypeDefnID this allowed values belongs to.

Specified by:
getComponentTypeDefnID in interface PropDefnAllowedValue

getComponentTypeID

public ComponentTypeID getComponentTypeID()
Description copied from interface: PropDefnAllowedValue
Returns the ComponentTypeID this represents the type of component this is defined for.

Specified by:
getComponentTypeID in interface PropDefnAllowedValue

getValue

public java.lang.String getValue()
Description copied from interface: PropDefnAllowedValue
Returns the value

Specified by:
getValue in interface PropDefnAllowedValue
Returns:
String value

toString

public java.lang.String toString()
Description copied from class: BasicObject
Returns a string representing the current state of the object.

Overrides:
toString in class BasicObject
Returns:
the string representation of this instance.

setValue

public void setValue(java.lang.String newValue)

getAllowedCode

public int getAllowedCode()

clone

public java.lang.Object clone()
Return a deep cloned instance of this object. Subclasses must override this method.

Specified by:
clone in interface BaseObject
Overrides:
clone in class BasicObject
Returns:
the object that is the clone of this instance.


Copyright © 2009. All Rights Reserved.