|
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.datetype.DateMultiValueProperty
Class implementing a Date multi value property. See IProperty and
IMutableProperty for details on properties.
AbstractProperty,
IMutableProperty,
IProperty,
Serialized Form| Field Summary | |
protected PropertyType |
propertyType
|
protected Date[] |
values
|
| Fields inherited from class com.sap.netweaver.bc.rf.common.property.AbstractProperty |
attributes, flags, name, resourceBundles |
| Constructor Summary | |
|
DateMultiValueProperty(PropertyType propertyType,
IPropertyName name,
Date[] values)
Construct property instance based on its internals. |
|
DateMultiValueProperty(PropertyType propertyType,
IPropertyName name,
Date[] values,
int flags)
Construct property instance based on its internals. |
|
DateMultiValueProperty(PropertyType propertyType,
IPropertyName name,
Date[] values,
Properties attributes)
Construct property instance based on its internals. |
|
DateMultiValueProperty(PropertyType propertyType,
IPropertyName name,
Date[] values,
Properties attributes,
int flags)
Construct property instance based on its internals. |
protected |
DateMultiValueProperty(PropertyType propertyType,
IPropertyName name,
Date[] values,
Properties attributes,
int flags,
ResourceBundles resourceBundles)
Construct property instance based on its internals. |
| Method Summary | |
PropertyType |
getType()
Get immutable type of this property. |
Date |
getValue(int index)
Get property value with given index. |
long |
getValueAsLong(int index)
Get property value with given index. |
String |
getValueAsString()
Get the property value converted to a string. |
Date[] |
getValues()
Get array of property values. |
long[] |
getValuesAsLongs()
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 PropertyType propertyType
protected Date[] values
| Constructor Detail |
public DateMultiValueProperty(PropertyType propertyType,
IPropertyName name,
Date[] values)
throws ResourceException
propertyType - specific property typename - property namevalues - property values
ResourceException - when the property creation failed
public DateMultiValueProperty(PropertyType propertyType,
IPropertyName name,
Date[] values,
Properties attributes)
throws ResourceException
propertyType - specific property typename - property namevalues - property valuesattributes - property attributes
ResourceException - when the property creation failed
public DateMultiValueProperty(PropertyType propertyType,
IPropertyName name,
Date[] values,
int flags)
throws ResourceException
propertyType - specific property typename - property namevalues - property valuesflags - bit array holding internal system attributes according to
PropertyFlags bit mask fields
ResourceException - when the property creation failed
public DateMultiValueProperty(PropertyType propertyType,
IPropertyName name,
Date[] values,
Properties attributes,
int flags)
throws ResourceException
propertyType - specific property typename - 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 DateMultiValueProperty(PropertyType propertyType,
IPropertyName name,
Date[] values,
Properties attributes,
int flags,
ResourceBundles resourceBundles)
throws ResourceException
propertyType - specific property typename - 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 Date[] getValues()
public long[] getValuesAsLongs()
public Date getValue(int index)
throws IndexOutOfBoundsException
index - index of property value
IndexOutOfBoundsException - when the index is out of bounds
public long getValueAsLong(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 | |||||||||