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