public interface IProperty
IPropertyName
), data type (PropertyType
), value(s), atttributes, a definition (IPropertyDef
)
and a description.IPropertyName
,
PropertyType
,
IPropertyDef
,
IMutableProperty
Modifier and Type | Method and Description |
---|---|
String |
getAttribute(String name)
Get the value of an attribute
|
Properties |
getAttributes()
Returns a collection of attributes
|
boolean |
getBooleanValue()
Get the property value if the type is PropertyType.BOOLEAN
|
Date |
getDateValue()
Get the property value if the type is PropertyType.DATE
|
String |
getDescription()
Returns the description of the property
|
String |
getDescription(IResourceContext context) |
int |
getIntValue()
Get the property value if the type is PropertyType.INTEGER
|
long |
getLongIntValue()
Get the property value if the type is PropertyType.LONG
|
IMutableProperty |
getMutable()
Returns a copy of this propertry that can be modified
|
IPropertyDef |
getPropertyDef()
Get a reference to the proeprty definition.
|
IPropertyName |
getPropertyName()
Returns the property name
|
String |
getStringValue()
Get the property value if the type is String
|
PropertyType |
getType()
Return the property's data type
|
Object |
getValue()
Returns the property value as a Object if this is not a multi-valued property.
|
String |
getValueAsString()
Get the property value converted to a string.
|
List |
getValues()
Returns the property values if this is a multi-valued property.
|
boolean |
isMultivalued()
Returns true if the property is multi-valued
|
IPropertyName getPropertyName()
PropertyType getType()
boolean isMultivalued()
IPropertyDef getPropertyDef()
String getValueAsString()
boolean getBooleanValue()
int getIntValue()
long getLongIntValue()
Date getDateValue()
String getStringValue()
List getValues() throws ResourceException
ResourceException
Object getValue() throws ResourceException
ResourceException
IMutableProperty getMutable()
String getAttribute(String name) throws ResourceException
name
- Attribute nameResourceException
Properties getAttributes() throws ResourceException
ResourceException
String getDescription() throws WcmException
WcmException
- Exception raised in failure situationString getDescription(IResourceContext context) throws WcmException
WcmException
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