|
Kodo 4.2.0. generated on July 28 2008 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FieldAccessor
Accessor for setting and getting the value of a field.
Method Summary | |
---|---|
boolean |
equals(Object other)
Equality depends on the owning ClassAccessor and
name and type of the field. |
ClassAccessor |
getClassAccessor()
The owning ClassAccessor for this field. |
String |
getName()
The name of the field. |
Class |
getType()
The type of this field. |
Object |
getValue(Object forObject)
Returns the field's value for the specified object. |
int |
hashCode()
Equality depends on the owning ClassAccessor and
name and type of the field. |
boolean |
isEditable(Object forObject)
Returns true if this field is editable; else
returns false . |
void |
setValue(Object forObject,
Object value)
Set the value of the specified field. |
Method Detail |
---|
String getName()
ClassAccessor getClassAccessor()
ClassAccessor
for this field.
Class getType()
Object getValue(Object forObject)
forObject
- the object for which to return the field valuevoid setValue(Object forObject, Object value)
forObject
- the object whose field should be setvalue
- the new value to apply to the fieldboolean isEditable(Object forObject)
true
if this field is editable; else
returns false
.
forObject
- the object whose field may be setboolean equals(Object other)
ClassAccessor
and
name and type of the field.
equals
in class Object
int hashCode()
ClassAccessor
and
name and type of the field.
hashCode
in class Object
|
Kodo 4.2.0. generated on July 28 2008 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |