|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.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 java.lang.String[] |
values
|
| Fields inherited from class com.sap.netweaver.bc.rf.common.property.AbstractProperty |
attributes, flags, name, resourceBundles |
| Constructor Summary | |
|
XmlMultiValueProperty(IPropertyName name,
java.lang.String[] values)
Construct property instance based on its internals. |
|
XmlMultiValueProperty(IPropertyName name,
java.lang.String[] values,
int flags)
Construct property instance based on its internals. |
|
XmlMultiValueProperty(IPropertyName name,
java.lang.String[] values,
java.util.Properties attributes)
Construct property instance based on its internals. |
|
XmlMultiValueProperty(IPropertyName name,
java.lang.String[] values,
java.util.Properties attributes,
int flags)
Construct property instance based on its internals. |
protected |
XmlMultiValueProperty(IPropertyName name,
java.lang.String[] values,
java.util.Properties attributes,
int flags,
ResourceBundles resourceBundles)
Construct property instance based on its internals. |
| Method Summary | |
PropertyType |
getType()
Get immutable type of this property. |
java.lang.String |
getValue(int index)
Get property value with given index. |
java.lang.String |
getValueAsString()
Get the property value converted to a string. |
java.lang.String[] |
getValues()
Get array of property values. |
java.lang.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 java.lang.String[] values
| Constructor Detail |
public XmlMultiValueProperty(IPropertyName name,
java.lang.String[] values)
throws ResourceException
name - property namevalues - property valuesResourceException - when the property creation failed
public XmlMultiValueProperty(IPropertyName name,
java.lang.String[] values,
java.util.Properties attributes)
throws ResourceException
name - property namevalues - property valuesattributes - property attributesResourceException - when the property creation failed
public XmlMultiValueProperty(IPropertyName name,
java.lang.String[] 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 failed
public XmlMultiValueProperty(IPropertyName name,
java.lang.String[] values,
java.util.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 failed
protected XmlMultiValueProperty(IPropertyName name,
java.lang.String[] values,
java.util.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 failed| Method Detail |
public PropertyType getType()
public boolean isMultiValue()
public java.lang.String getValueAsString()
throws ResourceException
ResourceException - when the property is invalid
public java.lang.String[] getValuesAsStrings()
throws ResourceException
ResourceException - when the property is invalidpublic java.lang.String[] getValues()
public java.lang.String getValue(int index)
throws java.lang.IndexOutOfBoundsException
index - index of property valuejava.lang.IndexOutOfBoundsException - when the index is out of bounds
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||