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