|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IProperty
This interface provides read-only access to a property of a resource. A
property has a name (IPropertyName), data type (PropertyType), value(s), atttributes, a definition (IPropertyDef)
and a description.
IPropertyName,
PropertyType,
IPropertyDef,
IMutableProperty| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
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
ResourceExceptionIMutableProperty getMutable()
String getAttribute(String name)
throws ResourceException
name - Attribute name
ResourceException
Properties getAttributes()
throws ResourceException
ResourceException
String getDescription()
throws WcmException
WcmException - Exception raised in failure situation
String 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
|
|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||