public interface IProperty
IPropertyName
), type (PropertyType
), some attributes, a natural
language description and most important a value. For each type exists a
specific property interface and implementation extending this interface.IPropertyName
,
PropertyType
,
IMutableProperty
Modifier and Type | Method and Description |
---|---|
boolean |
areFlagsSet()
Return true if the internal system attributes are set.
|
String |
getAttribute(String attributeName)
Get attribute for the property.
|
Properties |
getAttributes()
Get all attributes for the property at once.
|
String |
getDescription()
Get description of property.
|
String |
getDescription(Locale locale)
Get localized description of property.
|
int |
getFlags()
Get bit array holding internal system attributes according to PropertyFlags
bit mask fields.
|
IPropertyName |
getPropertyName()
Get immutable name of this property.
|
PropertyType |
getType()
Get immutable type of this property.
|
String |
getValueAsString()
Get the property value converted to a string.
|
String[] |
getValuesAsStrings()
Get the property values converted to a string array.
|
boolean |
isHidden()
Returns true if this property is hidden.
|
boolean |
isLive()
Returns true if this property is live.
|
boolean |
isMultiValue()
Returns true if this property is a multi-value property.
|
boolean |
isReadOnly()
Returns true if this property is read only.
|
boolean |
isRequired()
Returns true if this property is required.
|
IPropertyName getPropertyName()
PropertyType getType()
boolean areFlagsSet()
int getFlags()
boolean isMultiValue()
boolean isRequired()
boolean isLive()
boolean isReadOnly()
boolean isHidden()
String getDescription()
String getDescription(Locale locale)
locale
- locale to be used for localizationProperties getAttributes() throws ResourceException
ResourceException
- when the property is invalidString getAttribute(String attributeName) throws ResourceException
attributeName
- attribute nameResourceException
- when the attribute name or the property is
invalidString getValueAsString() throws ResourceException
ResourceException
- when the property is invalidString[] getValuesAsStrings() throws ResourceException
ResourceException
- when the property is invalidAccess 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