|
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 |
java.lang.Object kodo.beans.StateClassAccessor.StateFieldAccessor
public class StateClassAccessor.StateFieldAccessor
Constructor Summary | |
---|---|
StateClassAccessor.StateFieldAccessor(FieldMetaData meta)
|
Method Summary | |
---|---|
boolean |
declaresField(Object forObject)
|
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. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StateClassAccessor.StateFieldAccessor(FieldMetaData meta)
Method Detail |
---|
public Class getType()
FieldAccessor
getType
in interface FieldAccessor
public String getName()
FieldAccessor
getName
in interface FieldAccessor
public ClassAccessor getClassAccessor()
FieldAccessor
ClassAccessor
for this field.
getClassAccessor
in interface FieldAccessor
public boolean declaresField(Object forObject)
public Object getValue(Object forObject)
FieldAccessor
getValue
in interface FieldAccessor
forObject
- the object for which to return the field valuepublic void setValue(Object forObject, Object value)
FieldAccessor
setValue
in interface FieldAccessor
forObject
- the object whose field should be setvalue
- the new value to apply to the fieldpublic boolean isEditable(Object forObject)
FieldAccessor
true
if this field is editable; else
returns false
.
isEditable
in interface FieldAccessor
forObject
- the object whose field may be setpublic int hashCode()
FieldAccessor
ClassAccessor
and
name and type of the field.
hashCode
in interface FieldAccessor
hashCode
in class Object
public boolean equals(Object other)
FieldAccessor
ClassAccessor
and
name and type of the field.
equals
in interface FieldAccessor
equals
in class Object
public String toString()
toString
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 |