public class MutableBooleanMultiValueProperty extends BooleanMultiValueProperty implements IMutableProperty
IProperty
and
IMutableProperty
for details on properties.AbstractProperty
,
IMutableProperty
,
IProperty
,
Serialized Formvalues
attributes, flags, name, resourceBundles
Constructor and Description |
---|
MutableBooleanMultiValueProperty(BooleanMultiValueProperty property)
Construct property instance/copy based on another property template
(Usually a property to be changed in parts).
|
MutableBooleanMultiValueProperty(IPropertyName name,
boolean[] values)
Construct property instance based on its internals.
|
MutableBooleanMultiValueProperty(IPropertyName name,
boolean[] values,
int flags)
Construct property instance based on its internals.
|
MutableBooleanMultiValueProperty(IPropertyName name,
boolean[] values,
Properties attributes)
Construct property instance based on its internals.
|
MutableBooleanMultiValueProperty(IPropertyName name,
boolean[] values,
Properties attributes,
int flags)
Construct property instance based on its internals.
|
Modifier and Type | Method and Description |
---|---|
void |
addValue(boolean value)
Add property value.
|
void |
clearAttributes()
Remove all attributes for the property at once.
|
void |
insertValue(boolean value,
int index)
Insert property value at given index.
|
void |
removeAttribute(String attributeName)
Remove attribute from the property.
|
void |
removeValue(int index)
Remove property value with given index.
|
void |
setAttribute(String attributeName,
String attributeValue)
Add attribute for the property.
|
void |
setAttributes(Properties attributes)
Set all attributes for the property at once.
|
void |
setValue(boolean value,
int index)
Set property value with given index.
|
void |
setValues(boolean[] values)
Set array of property values.
|
getType, getValue, getValueAsString, getValues, getValuesAsStrings, isMultiValue
areFlagsSet, equals, getAttribute, getAttributes, getDescription, getDescription, getFlags, getPropertyName, hashCode, isHidden, isLive, isReadOnly, isRequired, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
areFlagsSet, getAttribute, getAttributes, getDescription, getDescription, getFlags, getPropertyName, getType, getValueAsString, getValuesAsStrings, isHidden, isLive, isMultiValue, isReadOnly, isRequired
public MutableBooleanMultiValueProperty(BooleanMultiValueProperty property) throws ResourceException
property
- property used as templateResourceException
- when the property creation failedpublic MutableBooleanMultiValueProperty(IPropertyName name, boolean[] values) throws ResourceException
name
- property namevalues
- property valuesResourceException
- when the property creation failedpublic MutableBooleanMultiValueProperty(IPropertyName name, boolean[] values, Properties attributes) throws ResourceException
name
- property namevalues
- property valuesattributes
- property attributesResourceException
- when the property creation failedpublic MutableBooleanMultiValueProperty(IPropertyName name, boolean[] values, int flags) throws ResourceException
name
- property namevalues
- property valuesflags
- bit array holding internal system attributes according to
PropertyFlags bit mask fieldsResourceException
- when the property creation failedpublic MutableBooleanMultiValueProperty(IPropertyName name, boolean[] values, Properties attributes, int flags) throws ResourceException
name
- property namevalues
- property valuesattributes
- property attributesflags
- bit array holding internal system attributes according to
PropertyFlags bit mask fieldsResourceException
- when the property creation failedpublic void setValues(boolean[] values)
values
- array of property valuespublic void setValue(boolean value, int index) throws IndexOutOfBoundsException
value
- property valueindex
- index of property valueIndexOutOfBoundsException
- when the index is out of boundspublic void addValue(boolean value)
value
- property valuepublic void insertValue(boolean value, int index) throws IndexOutOfBoundsException
value
- property valueindex
- index of property valueIndexOutOfBoundsException
- when the index is out of boundspublic void removeValue(int index) throws IndexOutOfBoundsException
index
- index of property valueIndexOutOfBoundsException
- when the index is out of boundspublic void setAttributes(Properties attributes) throws ResourceException
setAttributes
in interface IMutableProperty
attributes
- property map holding all attributesResourceException
- when the attributes map or the property is
invalidpublic void clearAttributes() throws ResourceException
clearAttributes
in interface IMutableProperty
ResourceException
- when the property is invalidpublic void setAttribute(String attributeName, String attributeValue) throws ResourceException
setAttribute
in interface IMutableProperty
attributeName
- attribute nameattributeValue
- attribute valueResourceException
- when the attribute name or value or the
property is invalidpublic void removeAttribute(String attributeName) throws ResourceException
removeAttribute
in interface IMutableProperty
attributeName
- attribute nameResourceException
- when the attribute name or the property is
invalidAccess 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
|
Copyright 2018 SAP AG Complete Copyright Notice