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