All Packages  Class Hierarchy  This Package  Previous  Next  Index  WEKA's home

Class weka.experiment.PropertyNode

java.lang.Object
    |
    +----weka.experiment.PropertyNode

public class PropertyNode
extends java.lang.Object
implements java.io.Serializable
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: 1.4 $
Author:
Len Trigg (trigg@cs.waikato.ac.nz)

Variable Index

 o parentClass
The class of the object with this property
 o property
Other info about the property
 o value
The current property value

Constructor Index

 o PropertyNode(Object)
Creates a mostly empty property.
 o PropertyNode(Object, PropertyDescriptor, Class)
Creates a fully specified property node.

Method Index

 o toString()
Returns a string description of this property.

Field Detail

 o value
public java.lang.Object value
          The current property value
 o parentClass
public java.lang.Class parentClass
          The class of the object with this property
 o property
public java.beans.PropertyDescriptor property
          Other info about the property

Constructor Detail

 o PropertyNode
public PropertyNode(java.lang.Object pValue)
          Creates a mostly empty property.
Parameters:
pValue - a property value.
 o PropertyNode
public PropertyNode(java.lang.Object pValue,
                    java.beans.PropertyDescriptor prop,
                    java.lang.Class pClass)
          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 Detail

 o toString
public java.lang.String toString()
          Returns a string description of this property.
Returns:
a value of type 'String'
Overrides:
toString in class java.lang.Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index  WEKA's home