|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
CharacterField represents the static type of field with java.lang.String as the underlying data type.
To retrieve the CharacterField instance on a certain Row, the FieldDescriptor of this Field is used.
Example:
CharacterField charFieldNAME = parentRow.getCharacterField(charFieldNAME_FieldDesciptor);
String value = charFieldNAME.getCharacters();
//value is the field value of the CharacterField object.
String newValue = "new value";
charFieldNAME.setValue(newValue);
//Setting of a new value to the field.
Field
Method Summary | |
java.lang.String |
getCharacters()
Returns the value attribute of the CharacterField object as a String object. |
void |
setValue(java.lang.String 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.lang.String 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.lang.String getCharacters()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |