public class IntSingleValueProperty extends AbstractProperty
IProperty
and
IMutableProperty
for details on propertiesAbstractProperty
,
IMutableProperty
,
IProperty
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected int |
value |
attributes, flags, name, resourceBundles
Modifier | Constructor and Description |
---|---|
|
IntSingleValueProperty(IPropertyName name,
int value)
Construct property instance based on its internals.
|
|
IntSingleValueProperty(IPropertyName name,
int value,
int flags)
Construct property instance based on its internals.
|
|
IntSingleValueProperty(IPropertyName name,
int value,
Properties attributes)
Construct property instance based on its internals.
|
|
IntSingleValueProperty(IPropertyName name,
int value,
Properties attributes,
int flags)
Construct property instance based on its internals.
|
protected |
IntSingleValueProperty(IPropertyName name,
int value,
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.
|
int |
getValue()
Get property value.
|
String |
getValueAsString()
Get the property value converted to a string.
|
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 IntSingleValueProperty(IPropertyName name, int value) throws ResourceException
name
- property namevalue
- property valueResourceException
- when the property creation failedpublic IntSingleValueProperty(IPropertyName name, int value, Properties attributes) throws ResourceException
name
- property namevalue
- property valueattributes
- property attributesResourceException
- when the property creation failedpublic IntSingleValueProperty(IPropertyName name, int value, int flags) throws ResourceException
name
- property namevalue
- property valueflags
- bit array holding internal system attributes according to
PropertyFlags bit mask fieldsResourceException
- when the property creation failedpublic IntSingleValueProperty(IPropertyName name, int value, Properties attributes, int flags) throws ResourceException
name
- property namevalue
- property valueattributes
- property attributesflags
- bit array holding internal system attributes according to
PropertyFlags bit mask fieldsResourceException
- when the property creation failedprotected IntSingleValueProperty(IPropertyName name, int value, Properties attributes, int flags, ResourceBundles resourceBundles) throws ResourceException
name
- property namevalue
- property valueattributes
- 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 int getValue()
Access 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