|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
TimeField represents the static type of field with java.sql.Time as the underlying data type.
To retrieve the TimeField instance on a certain Row, the FieldDescriptor of this Field is used.
Example:
TimeField timeFieldDELIVERYTIME = parentRow.getTimeField(timeFieldDELIVERYTIME_FieldDesciptor);
java.sql.Time value = timeFieldDELIVERYTIME.getSqlTime();
value is the current value of the TimeField object.
java.sql.Time newValue = java.sql.Time.valueOf("12:00:00");
timeFieldDELIVERYTIME.setValue(newValue);
Setting of a new value to the field.
Copyright: Copyright (c) 2002
Company: SAP AG
Field
Method Summary | |
DateField |
getPairedDateField()
Returns DateField instance that is grouped with this TimeField as defined in the group type T |
java.sql.Time |
getSqlTime()
Gets the value attribute of the TimeField object in java.sql.Time data type |
void |
setValue(java.sql.Time 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.sql.Time fieldValue) throws ModificationNotAllowedException, PersistenceException
Field.modifyValue(Object)
instead for better performance.
fieldValue
- The new value 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 retrievalpublic java.sql.Time getSqlTime()
public DateField getPairedDateField()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |