|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Read-Only interface describing a property, which is part of the resource and
describes certain aspects of it. A property has a name (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| Method Summary | |
boolean |
areFlagsSet()
Return true if the internal system attributes are set. |
java.lang.String |
getAttribute(java.lang.String attributeName)
Get attribute for the property. |
java.util.Properties |
getAttributes()
Get all attributes for the property at once. |
java.lang.String |
getDescription()
Get description of property. |
java.lang.String |
getDescription(java.util.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. |
java.lang.String |
getValueAsString()
Get the property value converted to a string. |
java.lang.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. |
| Method Detail |
public IPropertyName getPropertyName()
public PropertyType getType()
public boolean areFlagsSet()
public int getFlags()
public boolean isMultiValue()
public boolean isRequired()
public boolean isLive()
public boolean isReadOnly()
public boolean isHidden()
public java.lang.String getDescription()
public java.lang.String getDescription(java.util.Locale locale)
locale - locale to be used for localization
public java.util.Properties getAttributes()
throws ResourceException
ResourceException - when the property is invalid
public java.lang.String getAttribute(java.lang.String attributeName)
throws ResourceException
attributeName - attribute nameResourceException - when the attribute name or the property is
invalid
public java.lang.String getValueAsString()
throws ResourceException
ResourceException - when the property is invalid
public java.lang.String[] getValuesAsStrings()
throws ResourceException
ResourceException - when the property is invalid
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||