public class PropertyNode extends java.lang.Object implements java.io.Serializable, RevisionHandler
| Modifier and Type | Field and Description |
|---|---|
java.lang.Class<?> |
parentClass
The class of the object with this property
|
java.beans.PropertyDescriptor |
property
Other info about the property
|
java.lang.Object |
value
The current property value
|
| Constructor and Description |
|---|
PropertyNode(java.lang.Object pValue)
Creates a mostly empty property.
|
PropertyNode(java.lang.Object pValue,
java.beans.PropertyDescriptor prop,
java.lang.Class<?> pClass)
Creates a fully specified property node.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getRevision()
Returns the revision string.
|
java.lang.String |
toString()
Returns a string description of this property.
|
public java.lang.Object value
public java.lang.Class<?> parentClass
public java.beans.PropertyDescriptor property
public PropertyNode(java.lang.Object pValue)
pValue - a property value.public PropertyNode(java.lang.Object pValue,
java.beans.PropertyDescriptor prop,
java.lang.Class<?> pClass)
pValue - the current property value.prop - the PropertyDescriptor.pClass - the Class of the object with this property.public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getRevision()
getRevision in interface RevisionHandler