|
Cool documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Describes the properties of a specific field of a strcuture.
| Field Summary | |
static java.lang.String |
BINARY
Constant for the binary data type used by cool fields. |
static java.lang.String |
BOOLEAN
Constant for the boolean type used by cool fields. |
static java.lang.String |
DATE
Constant for the date type used by cool fields. |
static java.lang.String |
DECIMAL
Constant for the decimal type used by cool fields. |
static java.lang.String |
DOUBLE
Constant for the floating point type used by cool fields. |
static java.lang.String |
INTEGER
Constant for the integer type used by cool fields. |
static java.lang.String |
STRING
Constant for the string type used by cool fields. |
static int |
TEXT_FIELDTEXT
|
static int |
TEXT_SCRTEXT_L
|
static int |
TEXT_SCRTEXT_M
|
static int |
TEXT_SCRTEXT_S
|
static java.lang.String |
TIME
Constant for the time type used by cool fields. |
static java.lang.String |
TIMESTAMP
Constant for the timestamp type used by cool fields. |
static java.lang.String |
VARIANT
Constant for the variant type used by cool fields. |
| Method Summary | |
java.lang.String |
getName()
Returns the name of the field. |
com.sap.dictionary.runtime.ISimpleType |
getSimpleType()
Returns a simple type object which represents the type of this field. |
java.lang.String |
getText()
Method getText. |
java.lang.String |
getText(int textId)
Method getText. |
java.lang.String |
getType()
Returns the cool type of this field. |
IStructureDescriptor |
getVariant(java.lang.String variantName)
Returns the structure descriptor for the given field variant. |
IStructureDescriptor[] |
getVariants()
Returns an array with the structure descriptors which are possible variants for this field. |
boolean |
isExtension()
Returns whether this field is an extension of the original structure. |
boolean |
isVariant()
Returns whether this field descriptor describes a variant structure. |
java.lang.String |
toString()
returns a string representation of this FieldDescriptor |
| Field Detail |
public static final java.lang.String STRING
public static final java.lang.String INTEGER
public static final java.lang.String DATE
public static final java.lang.String BOOLEAN
public static final java.lang.String DECIMAL
public static final java.lang.String TIMESTAMP
public static final java.lang.String TIME
public static final java.lang.String DOUBLE
public static final java.lang.String BINARY
public static final java.lang.String VARIANT
getVariant(String),
getVariants()public static final int TEXT_FIELDTEXT
public static final int TEXT_SCRTEXT_S
public static final int TEXT_SCRTEXT_M
public static final int TEXT_SCRTEXT_L
| Method Detail |
public java.lang.String getName()
public java.lang.String getType()
STRING, INTEGER,
BOOLEAN, DATE.public com.sap.dictionary.runtime.ISimpleType getSimpleType()
public java.lang.String getText()
public java.lang.String getText(int textId)
textId - id for the text (for example TEXT_FIELDTEXT)public boolean isExtension()
true if this is an extension field, otherwise falsepublic boolean isVariant()
createSimpleType() methods will
throw an exception.true if this is a variant field, otherwise false#createSimpleType(),
#createSimpleType(Locale)public IStructureDescriptor getVariant(java.lang.String variantName)
variantName - name of the field variantjava.lang.IllegalArgumentException - if the variantName is not in the
list of possible variants for this field.UnsupportedOperationException - if the field is not of type VARIANTVARIANTpublic IStructureDescriptor[] getVariants()
UnsupportedOperationException - if the field is not of type VARIANTVARIANTpublic java.lang.String toString()
toString in class java.lang.Object
|
Cool documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||