public interface IGCAttribute
| Modifier and Type | Field and Description |
|---|---|
static String |
METADATA_INHERITANCE |
static String |
METADATA_IS_ORDERED |
static String |
METADATA_TRANSLATION_KEY |
static String |
METADATA_TYPE |
static String |
TYPE_BOOLEAN |
static String |
TYPE_DOUBLE |
static String |
TYPE_INTEGER |
static String |
TYPE_LONG |
static String |
TYPE_STRING |
static String |
TYPE_TEXT |
| Modifier and Type | Method and Description |
|---|---|
void |
addNestedAttribute(IGCAttribute attr)
Nests a single attribute in this attribute.
|
void |
addValue(String val)
Sets the value of this attribute.
|
String |
getID()
Returns the attribute's ID.
|
Enumeration |
getLocales()
Returns all the locales for which values have been set.
|
String |
getMetaData(String metaDataID)
Returns metadata for this attribute.
|
IGCAttributes |
getNestedAttributes()
Returns the collection of attributes nested in this attribute.
|
String |
getTextValue(String locale)
Returns the
String value for the specified locale. |
String |
getValue(int i)
Returns the value at a specified index, for multi-value attributes.
|
String[] |
getValues()
Returns all the values set for this attribute.
|
void |
setMetaData(String metaDataID,
String metaDataValue)
Sets metadata for the specified metadata ID.
|
void |
setNestedAttributes(IGCAttributes nestedAttrs)
Nests a collection of attributes in this attribute.
|
void |
setTextValue(String val,
String locale)
Adds a value for this attribute for the specified locale.
|
static final String TYPE_STRING
static final String TYPE_TEXT
static final String TYPE_INTEGER
static final String TYPE_DOUBLE
static final String TYPE_BOOLEAN
static final String TYPE_LONG
static final String METADATA_TYPE
static final String METADATA_TRANSLATION_KEY
static final String METADATA_IS_ORDERED
static final String METADATA_INHERITANCE
String getID()
String getMetaData(String metaDataID)
METADATA_.metaDataID - a metadata IDvoid setMetaData(String metaDataID, String metaDataValue)
METADATA_.metaDataID - a metadata IDmetaDataValue - the value for specified metadataIGCAttributes getNestedAttributes()
null if no attributes are nestedvoid setNestedAttributes(IGCAttributes nestedAttrs)
nestedAttrs - a collection of attributes to nest in this attributevoid addNestedAttribute(IGCAttribute attr)
attr - an attribute to nest in this attributevoid addValue(String val)
val - the new value of this attributevoid setTextValue(String val, String locale)
val - a value for the specified localelocale - a localeEnumeration getLocales()
String objects that are codes for the locales
for which values have been set for this attributeString getTextValue(String locale)
String value for the specified locale.locale - a localeString getValue(int i)
i - indexString[] getValues()
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/semantics/api
|
api
|
EP-PIN
|
Copyright 2017 SAP AG Complete Copyright Notice