ewe.data
Class Property
java.lang.Object
ewe.data.DataObject
ewe.data.Property
- All Implemented Interfaces:
- Comparable, Copyable, DataUnit, Encodable
- public class Property
- extends DataObject
- implements Encodable
| Methods inherited from class ewe.data.DataObject |
_getSetField, appendAllFields, copied, copyFrom, equals, getCopy, getDeclaredField, getDeclaredFieldValue, getDeclaredFieldValue, getFieldList, getFieldList, getMyFieldList, getNew |
name
public String name
value
public Object value
_fields
public String _fields
Property
public Property()
Property
public Property(String theName,
Object theValue)
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)