com.ibm.adt.topology.object.properties
Class PropertyValue

java.lang.Object
  extended by com.ibm.adt.topology.object.properties.PropertyObject
      extended by com.ibm.adt.topology.object.properties.PropertyValue
All Implemented Interfaces:
java.io.Serializable

public class PropertyValue
extends PropertyObject

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibm.adt.topology.object.properties.PropertyObject
hashCode, name
 
Constructor Summary
PropertyValue(java.lang.Object object)
          Builds a PropertyValue object in order to wrapper a generic property object.
 
Method Summary
 boolean equals(java.lang.Object o)
           
(package private)  void finalizeProperty()
          Finalizes the PropertyObject structure.
 int getComparatorKey()
           
 java.lang.Object getObject()
           
 int hashCode()
           
 java.lang.String peek()
          Returns string that peeks the property value.
(package private)  void setComparatorKey(int comparatorKey)
           
 void setObject(java.lang.Object object)
           
 java.lang.String toString()
           
 
Methods inherited from class com.ibm.adt.topology.object.properties.PropertyObject
getKey, getName, getOrdinal, getParent, getRoot, setParent, setRoot
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyValue

PropertyValue(java.lang.Object object)
Builds a PropertyValue object in order to wrapper a generic property object. This object is built automatically by Property and PropertyArray whenever a value's object type is not an instance of PropertyObject.

Parameters:
object - The generic object to wrapper.
Method Detail

getObject

public final java.lang.Object getObject()
Returns:
the underlying Object that this vlaue is wrappering.

setObject

public final void setObject(java.lang.Object object)
Parameters:
object - the object to set

toString

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

equals

public final boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public final int hashCode()
Overrides:
hashCode in class java.lang.Object

getComparatorKey

public final int getComparatorKey()
Returns:
a key that can be used for testing equality when contained within PropertyArray objects.

peek

public final java.lang.String peek()
Description copied from class: PropertyObject
Returns string that peeks the property value.

Specified by:
peek in class PropertyObject
Returns:

setComparatorKey

final void setComparatorKey(int comparatorKey)
Parameters:
comparatorKey - key that is used for correlating this value within a PropertyArray

finalizeProperty

final void finalizeProperty()
Description copied from class: PropertyObject
Finalizes the PropertyObject structure.

Specified by:
finalizeProperty in class PropertyObject


© Copyright 2006 IBM Corp. 2006 All Rights Reserved