|
|||||||||||
| 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)
Sets the value attribute of the CharacterField object. |
| Methods inherited from interface com.sap.ip.me.api.smartsync.Field |
getFieldDescriptor, getGroupFields, getRow, getValue, setValue |
| Method Detail |
public void setValue(java.lang.String fieldValue)
throws ModificationNotAllowedException,
PersistenceException
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 | ||||||||||