|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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 |
public IPropertyName getPropertyName()
public PropertyType getType()
public boolean isMultivalued()
public IPropertyDef getPropertyDef()
public String getValueAsString()
public boolean getBooleanValue()
public int getIntValue()
public long getLongIntValue()
public Date getDateValue()
public String getStringValue()
public List getValues()
throws ResourceException
ResourceException
public Object getValue()
throws ResourceException
ResourceExceptionpublic IMutableProperty getMutable()
public String getAttribute(String name)
throws ResourceException
name - Attribute name
ResourceException
public Properties getAttributes()
throws ResourceException
ResourceException
public String getDescription()
throws WcmException
WcmException - Exception raised in failure situation
public String getDescription(IResourceContext context)
throws WcmException
WcmException
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||