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