|
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.datetype.DateMultiValueProperty
|
+--com.sap.netweaver.bc.rf.common.property.datetype.MutableDateMultiValueProperty
Class implementing a Date multi value property. See IProperty and
IMutableProperty for details on properties.
AbstractProperty,
IMutableProperty,
IProperty, Serialized Form| Fields inherited from class com.sap.netweaver.bc.rf.common.property.datetype.DateMultiValueProperty |
propertyType, values |
| Fields inherited from class com.sap.netweaver.bc.rf.common.property.AbstractProperty |
attributes, flags, name, resourceBundles |
| Constructor Summary | |
MutableDateMultiValueProperty(DateMultiValueProperty property)
Construct property instance/copy based on another property template (uaually a property to be changed in parts). |
|
MutableDateMultiValueProperty(PropertyType propertyType,
IPropertyName name,
java.util.Date[] values)
Construct property instance based on its internals. |
|
MutableDateMultiValueProperty(PropertyType propertyType,
IPropertyName name,
java.util.Date[] values,
int flags)
Construct property instance based on its internals. |
|
MutableDateMultiValueProperty(PropertyType propertyType,
IPropertyName name,
java.util.Date[] values,
java.util.Properties attributes)
Construct property instance based on its internals. |
|
MutableDateMultiValueProperty(PropertyType propertyType,
IPropertyName name,
java.util.Date[] values,
java.util.Properties attributes,
int flags)
Construct property instance based on its internals. |
|
| Method Summary | |
void |
addValue(java.util.Date value)
Add property value. |
void |
addValueAsLong(long value)
Add property value. |
void |
clearAttributes()
Remove all attributes for the property at once. |
java.lang.String |
getAttribute(java.lang.String attributeName)
Get attribute for the property. |
void |
insertValue(java.util.Date value,
int index)
Insert property value at given index. |
void |
insertValueAsLong(long value,
int index)
Insert property value at given index. |
void |
removeAttribute(java.lang.String attributeName)
Remove attribute from the property. |
void |
removeValue(java.util.Date value)
Remove all occurences of the given property value. |
void |
removeValue(int index)
Remove property value with given index. |
void |
removeValueAsLong(long value)
Remove all occurences of the given property value. |
void |
setAttribute(java.lang.String attributeName,
java.lang.String attributeValue)
Add attribute for the property. |
void |
setAttributes(java.util.Properties attributes)
Set all attributes for the property at once. |
void |
setValue(java.util.Date value,
int index)
Set property value with given index. |
void |
setValueAsLong(long value,
int index)
Set property value with given index. |
void |
setValues(java.util.Date[] values)
Set array of property values. |
void |
setValuesAsLongs(long[] values)
Set array of property values. |
| Methods inherited from class com.sap.netweaver.bc.rf.common.property.datetype.DateMultiValueProperty |
getType, getValue, getValueAsLong, getValueAsString, getValues, getValuesAsLongs, 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 MutableDateMultiValueProperty(DateMultiValueProperty property)
throws ResourceException
property - property used as templateResourceException - when the property creation failed
public MutableDateMultiValueProperty(PropertyType propertyType,
IPropertyName name,
java.util.Date[] values)
throws ResourceException
propertyType - specific property typename - property namevalues - property valuesResourceException - when the property creation failed
public MutableDateMultiValueProperty(PropertyType propertyType,
IPropertyName name,
java.util.Date[] values,
java.util.Properties attributes)
throws ResourceException
propertyType - specific property typename - property namevalues - property valuesattributes - property attributesResourceException - when the property creation failed
public MutableDateMultiValueProperty(PropertyType propertyType,
IPropertyName name,
java.util.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 fieldsResourceException - when the property creation failed
public MutableDateMultiValueProperty(PropertyType propertyType,
IPropertyName name,
java.util.Date[] values,
java.util.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 fieldsResourceException - when the property creation failed| Method Detail |
public void setValues(java.util.Date[] values)
values - array of property valuespublic void setValuesAsLongs(long[] values)
values - array of property values
public void setValue(java.util.Date value,
int index)
throws java.lang.IndexOutOfBoundsException
value - property valueindex - index of property valuejava.lang.IndexOutOfBoundsException - when the index is out of bounds
public void setValueAsLong(long value,
int index)
throws java.lang.IndexOutOfBoundsException
value - property valueindex - index of property valuejava.lang.IndexOutOfBoundsException - when the index is out of boundspublic void addValue(java.util.Date value)
value - property valuepublic void addValueAsLong(long value)
value - property value
public void insertValue(java.util.Date value,
int index)
throws java.lang.IndexOutOfBoundsException
value - property valueindex - index of property valuejava.lang.IndexOutOfBoundsException - when the index is out of bounds
public void insertValueAsLong(long value,
int index)
throws java.lang.IndexOutOfBoundsException
value - property valueindex - index of property valuejava.lang.IndexOutOfBoundsException - when the index is out of boundspublic void removeValue(java.util.Date value)
value - property valuepublic void removeValueAsLong(long value)
value - property value
public void removeValue(int index)
throws java.lang.IndexOutOfBoundsException
index - index of property valuejava.lang.IndexOutOfBoundsException - when the index is out of bounds
public void setAttributes(java.util.Properties attributes)
throws ResourceException
setAttributes in interface IMutablePropertyattributes - property map holding all attributesResourceException - when the attributes map or the property is
invalid
public void clearAttributes()
throws ResourceException
clearAttributes in interface IMutablePropertyResourceException - when the property is invalid
public java.lang.String getAttribute(java.lang.String attributeName)
throws ResourceException
getAttribute in interface IPropertygetAttribute in class AbstractPropertyattributeName - attribute nameResourceException - when the attribute name or the property is
invalid
public void setAttribute(java.lang.String attributeName,
java.lang.String attributeValue)
throws ResourceException
setAttribute in interface IMutablePropertyattributeName - attribute nameattributeValue - attribute valueResourceException - when the attribute name or value or the
property is invalid
public void removeAttribute(java.lang.String attributeName)
throws ResourceException
removeAttribute in interface IMutablePropertyattributeName - attribute nameResourceException - when the attribute name or the property is
invalid
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||