|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
NumericField represents the static type of field with java.math.BigInteger as the underlying data type.
To retrieve the NumericField instance on a certain Row, the FieldDescriptor of this Field is used.
Example:
NumericField numcFieldITEMCOUNT = parentRow.getNumericField(numcFieldITEMCOUNT_FieldDesciptor); BigInteger value = numcFieldITEMCOUNT.getBigInteger();value is the current value of the NumericField object.
BigInteger newValue = new BigInteger("123456789");
numcFieldITEMCOUNT.setValue(newValue);
Setting of a new value to the field.
Copyright: Copyright (c) 2002
Company: SAP AG
Field
Method Summary | |
java.math.BigInteger |
getBigInteger()
Returns the value attribute of the NumericField object as a java.math.BigInteger object. |
java.lang.String |
getValueWithLeadingZeros()
Returns the String value of this Field of length equal to the defined length in the metadata. |
void |
setValue(java.math.BigInteger fieldValue)
Deprecated. use Field.modifyValue(Object) instead for better performance. |
Methods inherited from interface com.sap.ip.me.api.smartsync.Field |
getFieldDescriptor, getGroupFields, getRow, getValue, modifyValue, setValue |
Method Detail |
public void setValue(java.math.BigInteger fieldValue) throws ModificationNotAllowedException, PersistenceException
Field.modifyValue(Object)
instead for better performance.
fieldValue
- The new field value.
ModificationNotAllowedException
- thrown if the operation is not complying with the rules set in the metadata definition.
PersistenceException
- thrown if any persistent layer exception occurred during the retrieval.public java.math.BigInteger getBigInteger()
public java.lang.String getValueWithLeadingZeros()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |