|
SAP NetWeaver 7.31 (SP01) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sap.netweaver.bc.rf.common.property.AbstractProperty
com.sap.netweaver.bc.rf.common.property.longtype.LongMultiValueProperty
com.sap.netweaver.bc.rf.common.property.longtype.MutableLongMultiValueProperty
public class MutableLongMultiValueProperty
Class implementing a long multi value property. See IProperty and
IMutableProperty for details on properties.
AbstractProperty,
IMutableProperty,
IProperty,
Serialized Form| Field Summary |
|---|
| Fields inherited from class com.sap.netweaver.bc.rf.common.property.longtype.LongMultiValueProperty |
|---|
values |
| Fields inherited from class com.sap.netweaver.bc.rf.common.property.AbstractProperty |
|---|
attributes, flags, name, resourceBundles |
| Constructor Summary | |
|---|---|
MutableLongMultiValueProperty(IPropertyName name,
long[] values)
Construct property instance based on its internals. |
|
MutableLongMultiValueProperty(IPropertyName name,
long[] values,
int flags)
Construct property instance based on its internals. |
|
MutableLongMultiValueProperty(IPropertyName name,
long[] values,
Properties attributes)
Construct property instance based on its internals. |
|
MutableLongMultiValueProperty(IPropertyName name,
long[] values,
Properties attributes,
int flags)
Construct property instance based on its internals. |
|
MutableLongMultiValueProperty(LongMultiValueProperty property)
Construct property instance/copy based on another property template (uaually a property to be changed in parts). |
|
| Method Summary | |
|---|---|
void |
addValue(long value)
Add property value. |
void |
clearAttributes()
Remove all attributes for the property at once. |
String |
getAttribute(String attributeName)
Get attribute for the property. |
void |
insertValue(long 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(long value,
int index)
Set property value with given index. |
void |
setValues(long[] values)
Set array of property values. |
| Methods inherited from class com.sap.netweaver.bc.rf.common.property.longtype.LongMultiValueProperty |
|---|
getType, getValue, getValueAsString, getValues, getValuesAsStrings, isMultiValue |
| Methods inherited from class com.sap.netweaver.bc.rf.common.property.AbstractProperty |
|---|
areFlagsSet, equals, getAttributes, getDescription, getDescription, getFlags, getPropertyName, hashCode, isHidden, isLive, isReadOnly, isRequired, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.sap.netweaver.bc.rf.common.property.IProperty |
|---|
areFlagsSet, getAttributes, getDescription, getDescription, getFlags, getPropertyName, getType, getValueAsString, getValuesAsStrings, isHidden, isLive, isMultiValue, isReadOnly, isRequired |
| Constructor Detail |
|---|
public MutableLongMultiValueProperty(LongMultiValueProperty property)
throws ResourceException
property - property used as template
ResourceException - when the property creation failed
public MutableLongMultiValueProperty(IPropertyName name,
long[] values)
throws ResourceException
name - property namevalues - property values
ResourceException - when the property creation failed
public MutableLongMultiValueProperty(IPropertyName name,
long[] values,
Properties attributes)
throws ResourceException
name - property namevalues - property valuesattributes - property attributes
ResourceException - when the property creation failed
public MutableLongMultiValueProperty(IPropertyName name,
long[] values,
int flags)
throws ResourceException
name - property namevalues - property valuesflags - bit array holding internal system attributes according to
PropertyFlags bit mask fields
ResourceException - when the property creation failed
public MutableLongMultiValueProperty(IPropertyName name,
long[] 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 fields
ResourceException - when the property creation failed| Method Detail |
|---|
public void setValues(long[] values)
values - array of property values
public void setValue(long value,
int index)
throws IndexOutOfBoundsException
value - property valueindex - index of property value
IndexOutOfBoundsException - when the index is out of boundspublic void addValue(long value)
value - property value
public void insertValue(long value,
int index)
throws IndexOutOfBoundsException
value - property valueindex - index of property value
IndexOutOfBoundsException - when the index is out of bounds
public void removeValue(int index)
throws IndexOutOfBoundsException
index - index of property value
IndexOutOfBoundsException - when the index is out of bounds
public void setAttributes(Properties attributes)
throws ResourceException
setAttributes in interface IMutablePropertyattributes - property map holding all attributes
ResourceException - when the attributes map or the property is
invalid
public void clearAttributes()
throws ResourceException
clearAttributes in interface IMutablePropertyResourceException - when the property is invalid
public String getAttribute(String attributeName)
throws ResourceException
getAttribute in interface IPropertygetAttribute in class AbstractPropertyattributeName - attribute name
ResourceException - when the attribute name or the property is
invalid
public void setAttribute(String attributeName,
String attributeValue)
throws ResourceException
setAttribute in interface IMutablePropertyattributeName - attribute nameattributeValue - attribute value
ResourceException - when the attribute name or value or the
property is invalid
public void removeAttribute(String attributeName)
throws ResourceException
removeAttribute in interface IMutablePropertyattributeName - attribute name
ResourceException - when the attribute name or the property is
invalid| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
|
SAP NetWeaver 7.31 (SP01) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||