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