ewe.data
Class Property

java.lang.Object
  extended byewe.data.DataObject
      extended byewe.data.Property
All Implemented Interfaces:
Comparable, Copyable, DataUnit, Encodable

public class Property
extends DataObject
implements Encodable


Field Summary
 String _fields
           
 String name
           
 Object value
           
 
Constructor Summary
Property()
           
Property(String theName, Object theValue)
           
 
Method Summary
 int compareTo(Object other)
          Compare this object with another.
 void get(Wrapper v)
           
static Object getValue(HasProperties obj, String name, Object def)
           
 void set(Wrapper v)
           
 String toString()
          Return a String representation of this object.
 
Methods inherited from class ewe.data.DataObject
_getSetField, appendAllFields, copied, copyFrom, equals, getCopy, getDeclaredField, getDeclaredFieldValue, getDeclaredFieldValue, getFieldList, getFieldList, getMyFieldList, getNew
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode
 

Field Detail

name

public String name

value

public Object value

_fields

public String _fields
Constructor Detail

Property

public Property()

Property

public Property(String theName,
                Object theValue)
Method Detail

toString

public String toString()
Description copied from class: Object
Return a String representation of this object.

Overrides:
toString in class Object
Returns:
a String representing this object.

compareTo

public int compareTo(Object other)
Description copied from interface: Comparable
Compare this object with another. It should return: less than 0 if this object is considered LESS than the "other" object; greater than 0 if this object is considered GREATER than the "other" object; 0 if this object is considered EQUAL to the "other" object. (i.e. it is an implicit subtraction).

Specified by:
compareTo in interface Comparable
Overrides:
compareTo in class DataObject

getValue

public static Object getValue(HasProperties obj,
                              String name,
                              Object def)

set

public void set(Wrapper v)

get

public void get(Wrapper v)