|
Jazz API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--edu.umd.cs.jazz.util.ZProperty
ZProperty represents a ZNode client property. It just encapsulates a (key, value) pair, and supports ZSerialization.
| Constructor Summary | |
ZProperty()
Create an empty ZProperty. |
|
ZProperty(java.lang.Object key,
java.lang.Object value)
Create a ZProperty with the specified (key, value) pair |
|
| Method Summary | |
java.lang.Object |
clone()
Duplicates this property by using the copy constructor. |
java.lang.Object |
getKey()
Determine the key of this property. |
java.lang.Object |
getValue()
Determine the value of this property. |
void |
set(java.lang.Object key,
java.lang.Object value)
Set the (key, value) pair stored in this property |
void |
setKey(java.lang.Object key)
Specify the key of this property. |
void |
setState(java.lang.String fieldType,
java.lang.String fieldName,
java.lang.Object fieldValue)
Set some state of this object as it gets read back in. |
void |
setValue(java.lang.Object value)
Specify the value of this property. |
java.lang.String |
toString()
Generate a string that represents this object for debugging. |
void |
writeObject(ZObjectOutputStream out)
Write out all of this object's state. |
void |
writeObjectRecurse(ZObjectOutputStream out)
Specify which objects this object references in order to write out the scenegraph properly |
ZSerializable |
writeReplace()
Properties get written out if the value is ZSerializable. |
| Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public ZProperty()
public ZProperty(java.lang.Object key,
java.lang.Object value)
key - the new property keyvalue - the new property value| Method Detail |
public java.lang.Object clone()
public void set(java.lang.Object key,
java.lang.Object value)
key - the new property keyvalue - the new property valuepublic java.lang.Object getKey()
public java.lang.Object getValue()
public void setKey(java.lang.Object key)
key - the new property keypublic void setValue(java.lang.Object value)
value - the new property valuepublic java.lang.String toString()
public void writeObject(ZObjectOutputStream out)
throws java.io.IOException
out - The stream that this object writes into
public void writeObjectRecurse(ZObjectOutputStream out)
throws java.io.IOException
out - The stream that this object writes into
public void setState(java.lang.String fieldType,
java.lang.String fieldName,
java.lang.Object fieldValue)
fieldType - The fully qualified type of the fieldfieldName - The name of the fieldfieldValue - The value of the fieldpublic ZSerializable writeReplace()
|
Jazz API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||