com.sap.netweaver.bc.rf.common.property
Interface IMutableProperty
[contained in: com.sap.netweaver.bc.rf.par - bc.rf.common_api.jar]
- All Superinterfaces:
- IProperty
- All Known Implementing Classes:
- MutableBooleanMultiValueProperty, MutableBooleanSingleValueProperty, MutableDateSingleValueProperty, MutableDateMultiValueProperty, MutableIntMultiValueProperty, MutableIntSingleValueProperty, MutableLongSingleValueProperty, MutableLongMultiValueProperty, MutableStringMultiValueProperty, MutableStringSingleValueProperty, MutableXmlSingleValueProperty, MutableXmlMultiValueProperty
- public interface IMutableProperty
- extends IProperty
Read-And-Write 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.
- See Also:
IProperty,
IPropertyName,
PropertyType
|
Method Summary |
void |
clearAttributes()
Remove all attributes for the property at once. |
void |
removeAttribute(java.lang.String attributeName)
Remove attribute from the property. |
void |
setAttribute(java.lang.String attributeName,
java.lang.String attributeValue)
Add attribute for the property. |
void |
setAttributes(java.util.Properties attributes)
Set all attributes for the property at once. |
| Methods inherited from interface com.sap.netweaver.bc.rf.common.property.IProperty |
areFlagsSet, getAttribute, getAttributes, getDescription, getDescription, getFlags, getPropertyName, getType, getValueAsString, getValuesAsStrings, isHidden, isLive, isMultiValue, isReadOnly, isRequired |
setAttributes
public void setAttributes(java.util.Properties attributes)
throws ResourceException
- Set all attributes for the property at once. The given attribute map will
be stored directly (as is - without being copied). Note that this call
disconnects the attribute map returned from a getAttributes() call from the
property.
- Parameters:
attributes - property map holding all attributes- Throws:
ResourceException - when the attributes map or the property is
invalid
clearAttributes
public void clearAttributes()
throws ResourceException
- Remove all attributes for the property at once.
- Throws:
ResourceException - when the property is invalid
setAttribute
public void setAttribute(java.lang.String attributeName,
java.lang.String attributeValue)
throws ResourceException
- Add attribute for the property.
- Parameters:
attributeName - attribute nameattributeValue - attribute value- Throws:
ResourceException - when the attribute name or value or the
property is invalid
removeAttribute
public void removeAttribute(java.lang.String attributeName)
throws ResourceException
- Remove attribute from the property.
- Parameters:
attributeName - attribute name- Throws:
ResourceException - when the attribute name or the property is
invalid
Copyright © 2004 by
SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein
as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other
countries all over the world. All other product and service names mentioned are the trademarks of their respective companies.
Data contained in this document serves informational purposes only. National product specifications may vary.
These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies
("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be
liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are
those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein
should be construed as constituting an additional warranty.