|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sap.ip.me.api.smartsync.BasisFieldType
An enumeration of possible basis field types for SmartSync. Each field type has a backend representation as well as a client representation.
FieldDescriptor
Field Summary | |
static BasisFieldType |
C
A field type for fixed length characters; represented in the client as java.lang.String. |
static BasisFieldType |
D
A field type for date; represented in the client as Calendar when using
Mobile Engine 2.1 API (@link Row#getFieldValue(FieldDescriptor)
Date when using Mobile Infrastructure 2.5
API Field.getValue()
|
static BasisFieldType |
N
A field type for numeric characters; represented in the client as String when using
Mobile Engine 2.1 API Row.getFieldValue(FieldDescriptor)
BigInteger when using Mobile Infrastructure 2.5
APIField.getValue()
Avoid field with a total length greater than 18 digits, this decreases performance. |
static BasisFieldType |
P
A field type for packet; represented in the client as FixedDecimal when using
Mobile Engine 2.1 API Row.getFieldValue(FieldDescriptor)
BigDecimal when using Mobile Infrastructure 2.5
API Field.getValue()
Avoid field with a total length greater than 18 digits, this decreases
performance. |
static BasisFieldType |
T
A field type for time; represented in the client as Calendar when using
Mobile Engine 2.1 API (@link Row#getFieldValue(FieldDescriptor)
Time when using Mobile Infrastructure 2.5
API {(@link Field#getValue()}
|
Method Summary | |
static BasisFieldType |
forString(java.lang.String fieldStringRep)
Returns a BasisFieldType instance for the specified String representation of the field. |
java.lang.String |
getBackendRepresentation()
Returns the backend representation; either one of "C", "D" , "N" , "P", "T". |
java.lang.Class |
getClientRepresentation()
Returns the client representation class of this BasisFieldType.. |
AttributeType |
getPersistenceRepresentation()
Returns the persistence representation type of this BasisFieldType. |
java.lang.String |
toString()
Description of the Method |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static BasisFieldType C
public static BasisFieldType D
Calendar
when using
Mobile Engine 2.1 API (@link Row#getFieldValue(FieldDescriptor)Date
when using Mobile Infrastructure 2.5
API Field.getValue()
public static BasisFieldType P
FixedDecimal
when using
Mobile Engine 2.1 API Row.getFieldValue(FieldDescriptor)
BigDecimal
when using Mobile Infrastructure 2.5
API Field.getValue()
public static BasisFieldType N
String
when using
Mobile Engine 2.1 API Row.getFieldValue(FieldDescriptor)
BigInteger
when using Mobile Infrastructure 2.5
APIField.getValue()
public static BasisFieldType T
Calendar
when using
Mobile Engine 2.1 API (@link Row#getFieldValue(FieldDescriptor)Time
when using Mobile Infrastructure 2.5
API {(@link Field#getValue()}
Method Detail |
public static BasisFieldType forString(java.lang.String fieldStringRep)
fieldStringRep
- the string representation of the field; should be
one of the following "C", "D" , "N" , "P", "T", "B".
public java.lang.String getBackendRepresentation()
public java.lang.Class getClientRepresentation()
public AttributeType getPersistenceRepresentation()
AttributeType
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |