|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | 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 | |
java.lang.String |
getAttribute(java.lang.String name)
Get the value of an attribute |
java.util.Properties |
getAttributes()
Returns a collection of attributes |
boolean |
getBooleanValue()
Get the property value if the type is PropertyType.BOOLEAN |
java.util.Date |
getDateValue()
Get the property value if the type is PropertyType.DATE |
java.lang.String |
getDescription()
Returns the description of the property |
java.lang.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 |
java.lang.String |
getStringValue()
Get the property value if the type is String |
PropertyType |
getType()
Return the property's data type |
java.lang.Object |
getValue()
Returns the property value as a Object if this is not a multi-valued property. |
java.lang.String |
getValueAsString()
Get the property value converted to a string. |
java.util.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 java.lang.String getValueAsString()
public boolean getBooleanValue()
public int getIntValue()
public long getLongIntValue()
public java.util.Date getDateValue()
public java.lang.String getStringValue()
public java.util.List getValues()
throws ResourceException
public java.lang.Object getValue()
throws ResourceException
public IMutableProperty getMutable()
public java.lang.String getAttribute(java.lang.String name)
throws ResourceException
name - Attribute nameResourceException -
public java.util.Properties getAttributes()
throws ResourceException
ResourceException -
public java.lang.String getDescription()
throws WcmException
WcmException - Exception raised in failure situation
public java.lang.String getDescription(IResourceContext context)
throws WcmException
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||