|
SAP NetWeaver '04 | |||||||||
| 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.xmltype.XmlMultiValueProperty
Class implementing a Xml multi value property. See IProperty and
IMutableProperty for details on properties.
AbstractProperty,
IMutableProperty,
IProperty,
Serialized Form| Field Summary | |
protected String[] |
values
|
| Fields inherited from class com.sap.netweaver.bc.rf.common.property.AbstractProperty |
attributes, flags, name, resourceBundles |
| Constructor Summary | |
|
XmlMultiValueProperty(IPropertyName name,
String[] values)
Construct property instance based on its internals. |
|
XmlMultiValueProperty(IPropertyName name,
String[] values,
int flags)
Construct property instance based on its internals. |
|
XmlMultiValueProperty(IPropertyName name,
String[] values,
Properties attributes)
Construct property instance based on its internals. |
|
XmlMultiValueProperty(IPropertyName name,
String[] values,
Properties attributes,
int flags)
Construct property instance based on its internals. |
protected |
XmlMultiValueProperty(IPropertyName name,
String[] values,
Properties attributes,
int flags,
ResourceBundles resourceBundles)
Construct property instance based on its internals. |
| Method Summary | |
PropertyType |
getType()
Get immutable type of this property. |
String |
getValue(int index)
Get property value with given index. |
String |
getValueAsString()
Get the property value converted to a string. |
String[] |
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. |
| Methods inherited from class com.sap.netweaver.bc.rf.common.property.AbstractProperty |
areFlagsSet, equals, getAttribute, 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 |
| Field Detail |
protected String[] values
| Constructor Detail |
public XmlMultiValueProperty(IPropertyName name,
String[] values)
throws ResourceException
name - property namevalues - property values
ResourceException - when the property creation failed
public XmlMultiValueProperty(IPropertyName name,
String[] values,
Properties attributes)
throws ResourceException
name - property namevalues - property valuesattributes - property attributes
ResourceException - when the property creation failed
public XmlMultiValueProperty(IPropertyName name,
String[] 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 XmlMultiValueProperty(IPropertyName name,
String[] 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
protected XmlMultiValueProperty(IPropertyName name,
String[] 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
description
ResourceException - when the property creation failed| Method Detail |
public PropertyType getType()
public boolean isMultiValue()
public String getValueAsString()
throws ResourceException
ResourceException - when the property is invalid
public String[] getValuesAsStrings()
throws ResourceException
ResourceException - when the property is invalidpublic String[] getValues()
public String getValue(int index)
throws IndexOutOfBoundsException
index - index of property value
IndexOutOfBoundsException - when the index is out of bounds
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||