com.ibm.adt.topology.object.properties
Class PropertyValue
java.lang.Object
com.ibm.adt.topology.object.properties.PropertyObject
com.ibm.adt.topology.object.properties.PropertyValue
- All Implemented Interfaces:
- java.io.Serializable
public class PropertyValue
- extends PropertyObject
- See Also:
- Serialized Form
Constructor Summary |
PropertyValue(java.lang.Object object)
Builds a PropertyValue object in order to wrapper a generic property
object. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
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.
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