public class BooleanMultiValueProperty extends AbstractProperty
IProperty
and
IMutableProperty
for details on properties.AbstractProperty
,
IMutableProperty
,
IProperty
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected boolean[] |
values |
attributes, flags, name, resourceBundles
Modifier | Constructor and Description |
---|---|
|
BooleanMultiValueProperty(IPropertyName name,
boolean[] values)
Construct property instance based on its internals.
|
|
BooleanMultiValueProperty(IPropertyName name,
boolean[] values,
int flags)
Construct property instance based on its internals.
|
|
BooleanMultiValueProperty(IPropertyName name,
boolean[] values,
Properties attributes)
Construct property instance based on its internals.
|
|
BooleanMultiValueProperty(IPropertyName name,
boolean[] values,
Properties attributes,
int flags)
Construct property instance based on its internals.
|
protected |
BooleanMultiValueProperty(IPropertyName name,
boolean[] values,
Properties attributes,
int flags,
ResourceBundles resourceBundles)
Construct property instance based on its internals.
|
Modifier and Type | Method and Description |
---|---|
PropertyType |
getType()
Get immutable type of this property.
|
boolean |
getValue(int index)
Get property value with given index.
|
String |
getValueAsString()
Get the property value converted to a string.
|
boolean[] |
getValues()
Get array of property values.
|
String[] |
getValuesAsStrings()
Get the property values converted to a string array.
|
boolean |
isMultiValue()
Returns true if this property is a multi-value property.
|
areFlagsSet, equals, getAttribute, getAttributes, getDescription, getDescription, getFlags, getPropertyName, hashCode, isHidden, isLive, isReadOnly, isRequired, toString
public BooleanMultiValueProperty(IPropertyName name, boolean[] values) throws ResourceException
name
- property namevalues
- property valuesResourceException
- when the property creation failedpublic BooleanMultiValueProperty(IPropertyName name, boolean[] values, Properties attributes) throws ResourceException
name
- property namevalues
- property valuesattributes
- property attributesResourceException
- when the property creation failedpublic BooleanMultiValueProperty(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 BooleanMultiValueProperty(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 failedprotected BooleanMultiValueProperty(IPropertyName name, boolean[] values, Properties attributes, int flags, ResourceBundles resourceBundles) throws ResourceException
name
- property namevalues
- property valuesattributes
- property attributesflags
- bit array holding internal system attributes according to
PropertyFlags bit mask fieldsresourceBundles
- resource bundles containing (localized) property
descriptionResourceException
- when the property creation failedpublic PropertyType getType()
public boolean isMultiValue()
public String getValueAsString() throws ResourceException
ResourceException
- when the property is invalidpublic String[] getValuesAsStrings() throws ResourceException
ResourceException
- when the property is invalidpublic boolean[] getValues()
public boolean getValue(int index) throws IndexOutOfBoundsException
index
- index of property valueIndexOutOfBoundsException
- when the index is out of boundsAccess 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