public class StringSingleValueProperty extends AbstractProperty
IProperty
and
IMutableProperty
for details on propertiesAbstractProperty
,
IMutableProperty
,
IProperty
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected String |
value |
attributes, flags, name, resourceBundles
Constructor and Description |
---|
StringSingleValueProperty(IPropertyName name,
String value)
Construct property instance based on its internals.
|
StringSingleValueProperty(IPropertyName name,
String value,
int flags)
Construct property instance based on its internals.
|
StringSingleValueProperty(IPropertyName name,
String value,
Properties attributes)
Construct property instance based on its internals.
|
StringSingleValueProperty(IPropertyName name,
String value,
Properties attributes,
int flags)
Construct property instance based on its internals.
|
StringSingleValueProperty(IPropertyName name,
String value,
Properties attributes,
int flags,
ResourceBundles resourceBundles)
Construct property instance based on its internals.
|
Modifier and Type | Method and Description |
---|---|
PropertyType |
getType()
Get immutable type of this property.
|
String |
getValue()
Get property value.
|
String |
getValueAsString()
Get the property value converted to a string.
|
String[] |
getValuesAsStrings()
Get the property values converted to a string array.
|
boolean |
isMultiValue()
Returns true if this property is a multi-value property.
|
areFlagsSet, equals, getAttribute, getAttributes, getDescription, getDescription, getFlags, getPropertyName, hashCode, isHidden, isLive, isReadOnly, isRequired, toString
protected String value
public StringSingleValueProperty(IPropertyName name, String value) throws ResourceException
name
- property namevalue
- property valueResourceException
- when the property creation failedpublic StringSingleValueProperty(IPropertyName name, String value, Properties attributes) throws ResourceException
name
- property namevalue
- property valueattributes
- property attributesResourceException
- when the property creation failedpublic StringSingleValueProperty(IPropertyName name, String value, int flags) throws ResourceException
name
- property namevalue
- property valueflags
- bit array holding internal system attributes according to
PropertyFlags bit mask fieldsResourceException
- when the property creation failedpublic StringSingleValueProperty(IPropertyName name, String value, Properties attributes, int flags) throws ResourceException
name
- property namevalue
- property valueattributes
- property attributesflags
- bit array holding internal system attributes according to
PropertyFlags bit mask fieldsResourceException
- when the property creation failedpublic StringSingleValueProperty(IPropertyName name, String value, Properties attributes, int flags, ResourceBundles resourceBundles) throws ResourceException
name
- property namevalue
- property valueattributes
- property attributesflags
- bit array holding internal system attributes according to
PropertyFlags bit mask fieldsresourceBundles
- resource bundles containing (localized) property
descriptionResourceException
- when the property creation failedpublic PropertyType getType()
public boolean isMultiValue()
public String getValueAsString() throws ResourceException
ResourceException
- when the property is invalidpublic String[] getValuesAsStrings() throws ResourceException
ResourceException
- when the property is invalidpublic String getValue()
Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice