|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Describes the definition of a configuration attribute. The configuration
attribute types are defined as constants. A confguration attribute is
identified by its technical name. It can have localized name and description.
The configuration attribute can beoptional and provide a default String
value.
For a configuration attribute a set of option values could be defined. Each option
value consists of a string value and localizable text. In this case the configuration
attriute as treated as being of a enumerated type and the value are displayed with
their localized texts as a drop-down menu.
| Field Summary | |
static int |
CONFIGPARAM_BASE_BOOLEAN
Base Type: Boolean |
static int |
CONFIGPARAM_BASE_INT
Base Type: Integer |
static int |
CONFIGPARAM_BASE_NUMERIC
Base Type: Numeric |
static int |
CONFIGPARAM_BASE_STRING
Base Type: String |
| Method Summary | |
IGPConfigAttributeValue |
addOptionValue(String value,
String key)
Adds a new value option for this configuration attribute. |
Collection |
getConfigAttributeValues()
Returns the configuration attribute values |
String |
getDefaultStringValue()
Retutns the default string value of the configuration attribute |
String |
getDescriptionKey()
Returns the key for the localized description of the configuration attribute. |
String |
getNameKey()
Returns the key for the localized name of the configuration attribute. |
String |
getTechName()
Returns the technical name of the configuration attribute |
int |
getType()
Returns the type of the configuration attribute |
boolean |
isOptional()
Returns the optional flag of the configuration attribute |
void |
setDefaultStringValue(String defaultValue)
Specifies the defualt string value of the configuration attribute |
void |
setDescriptionKey(String descriptionKey)
Sets the key for the localized description of the configuration parameter |
void |
setNameKey(String nameKey)
Sets the key for the localized name of the configuration parameter |
void |
setOptional(boolean optional)
Specifies the optional flag of the configuration attribute |
void |
setType(int type)
Specifies the type of the configuration attribute |
| Field Detail |
public static final int CONFIGPARAM_BASE_STRING
public static final int CONFIGPARAM_BASE_INT
public static final int CONFIGPARAM_BASE_BOOLEAN
public static final int CONFIGPARAM_BASE_NUMERIC
| Method Detail |
public int getType()
public void setType(int type)
type - public String getDefaultStringValue()
public void setDefaultStringValue(String defaultValue)
defaultValue - public boolean isOptional()
public void setOptional(boolean optional)
optional - the optional flag of the configuration attributepublic String getTechName()
public String getNameKey()
public String getDescriptionKey()
public void setNameKey(String nameKey)
nameKey - the key for the localized name of the configuration paramterpublic void setDescriptionKey(String descriptionKey)
descriptionKey - the key for the localized description of the configuration paramter
public IGPConfigAttributeValue addOptionValue(String value,
String key)
value - the value option for this configuration attributekey - the for the localizable display text
public Collection getConfigAttributeValues()
IGPConfigAttributeValue
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||