|
SAP NetWeaver 7.30 (SP02) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IGCAttribute
The interface that defines an attribute specified in <Attribute> tags that
are nested in the <Context> or <Action> tags.
Attributes have one value. Text attributes can have many values, one per locale.
| Field Summary | |
|---|---|
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
|
| Method Summary | |
|---|---|
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 |
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. |
| Field Detail |
|---|
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
| Method Detail |
|---|
String getID()
String getMetaData(String metaDataID)
METADATA_.
metaDataID - a metadata ID
void 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 attribute
void 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.
- Parameters:
locale - a locale
- Returns:
- the value set for this attribute for the specified locale
String getValue(int i)
String[] getValues()
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/semantics/api
|
api
|
EP-PIN
|
|
SAP NetWeaver 7.30 (SP02) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||