C
- The Class containing the Field to be accessedpublic static class PortableFieldAccess.PortableCharFieldAccess<C> extends PortableFieldAccess<C>
PortableFieldAccess.PortableBooleanFieldAccess<C>, PortableFieldAccess.PortableByteFieldAccess<C>, PortableFieldAccess.PortableCharFieldAccess<C>, PortableFieldAccess.PortableDoubleFieldAccess<C>, PortableFieldAccess.PortableFloatFieldAccess<C>, PortableFieldAccess.PortableIntFieldAccess<C>, PortableFieldAccess.PortableLongFieldAccess<C>, PortableFieldAccess.PortableShortFieldAccess<C>
Constructor and Description |
---|
PortableCharFieldAccess(Field f)
Construct a new instance for the given Field
|
Modifier and Type | Method and Description |
---|---|
char |
getCharValue(C parent)
Retrieve the value of the field for the given instance
|
void |
putCharValue(C parent,
char newFieldValue)
Update the value of the field for the given instance
|
declaringClass, field, fieldClass, get, getBooleanValue, getByteValue, getDoubleValue, getFloatValue, getIntValue, getLongValue, getShortValue, getValue, putBooleanValue, putByteValue, putDoubleValue, putFloatValue, putIntValue, putLongValue, putShortValue, putValue
public PortableCharFieldAccess(Field f)
f
- The Field to be accessedpublic char getCharValue(C parent)
FieldAccess
getCharValue
in interface FieldAccess<C>
getCharValue
in class PortableFieldAccess<C>
parent
- The instance to access the field forpublic void putCharValue(C parent, char newFieldValue)
FieldAccess
putCharValue
in interface FieldAccess<C>
putCharValue
in class PortableFieldAccess<C>
parent
- The instance to access the field fornewFieldValue
- The new value as a charCopyright © 2010–2018 Jadira Systems. All rights reserved.