|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.adt.topology.object.properties.PropertyObject
com.ibm.adt.topology.object.properties.Property
public class Property
Property is a component of the TopologyObject Properties heirachy. It is used for string named properties whose value can be of any type. Property objects are always anchored in a PropertyList. The Property value can be either a PropertyList, PropertyArray, or other Java object. Objects that are not a subclass of PropertyObject will automatically be stored in a PropertyValue object.
Field Summary |
---|
Fields inherited from class com.ibm.adt.topology.object.properties.PropertyObject |
---|
hashCode, name |
Constructor Summary | |
---|---|
Property(java.lang.String name)
Builds a Property object with the specified name. |
|
Property(java.lang.String name,
java.lang.Object value)
Builds a Property object with the specified name and value. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
(package private) void |
finalizeProperty()
Finalizes the PropertyObject structure. |
PropertyObject |
getValue()
Gets the Property value. |
int |
hashCode()
|
java.lang.String |
peek()
Returns string that peeks the property value. |
void |
setName(java.lang.String name)
Sets the Property name. |
void |
setValue(java.lang.Object value)
Sets the Property valuaue to the specifed value. |
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 |
---|
public Property(java.lang.String name)
name
- public Property(java.lang.String name, java.lang.Object value) throws TopologyException
name
- value
-
TopologyException
Method Detail |
---|
public final void setName(java.lang.String name)
name
- the name to setpublic final PropertyObject getValue()
public final void setValue(java.lang.Object value) throws TopologyException
value
- The value to set.
TopologyException
public final java.lang.String toString()
toString
in class java.lang.Object
public final int hashCode()
hashCode
in class java.lang.Object
public final boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public final java.lang.String peek()
PropertyObject
peek
in class PropertyObject
final void finalizeProperty()
PropertyObject
finalizeProperty
in class PropertyObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |