Package weka.experiment
Class PropertyNode
java.lang.Object
weka.experiment.PropertyNode
- All Implemented Interfaces:
Serializable
,RevisionHandler
Stores information on a property of an object: the class of the object with
the property; the property descriptor, and the current value.
- Version:
- $Revision: 10203 $
- Author:
- Len Trigg (trigg@cs.waikato.ac.nz)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionClass<?>
The class of the object with this propertyOther info about the propertyThe current property value -
Constructor Summary
ConstructorDescriptionPropertyNode
(Object pValue) Creates a mostly empty property.PropertyNode
(Object pValue, PropertyDescriptor prop, Class<?> pClass) Creates a fully specified property node. -
Method Summary
Modifier and TypeMethodDescriptionReturns the revision string.toString()
Returns a string description of this property.
-
Field Details
-
value
The current property value -
parentClass
The class of the object with this property -
property
Other info about the property
-
-
Constructor Details
-
PropertyNode
Creates a mostly empty property.- Parameters:
pValue
- a property value.
-
PropertyNode
Creates a fully specified property node.- Parameters:
pValue
- the current property value.prop
- the PropertyDescriptor.pClass
- the Class of the object with this property.
-
-
Method Details
-
toString
Returns a string description of this property. -
getRevision
Returns the revision string.- Specified by:
getRevision
in interfaceRevisionHandler
- Returns:
- the revision
-