|
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.DateSingleValueProperty
Class implementing a Date single value property. See IProperty and
IMutableProperty for details on properties
AbstractProperty,
IMutableProperty,
IProperty,
Serialized Form| Field Summary | |
protected PropertyType |
propertyType
|
protected Date |
value
|
| Fields inherited from class com.sap.netweaver.bc.rf.common.property.AbstractProperty |
attributes, flags, name, resourceBundles |
| Constructor Summary | |
|
DateSingleValueProperty(PropertyType propertyType,
IPropertyName name,
Date value)
Construct property instance based on its internals. |
|
DateSingleValueProperty(PropertyType propertyType,
IPropertyName name,
Date value,
int flags)
Construct property instance based on its internals. |
|
DateSingleValueProperty(PropertyType propertyType,
IPropertyName name,
Date value,
Properties attributes)
Construct property instance based on its internals. |
|
DateSingleValueProperty(PropertyType propertyType,
IPropertyName name,
Date value,
Properties attributes,
int flags)
Construct property instance based on its internals. |
protected |
DateSingleValueProperty(PropertyType propertyType,
IPropertyName name,
Date value,
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()
Get property value. |
long |
getValueAsLong()
Get property value as long. |
String |
getValueAsString()
Get the property value converted to a string. |
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 value
| Constructor Detail |
public DateSingleValueProperty(PropertyType propertyType,
IPropertyName name,
Date value)
throws ResourceException
propertyType - specific property typename - property namevalue - property value
ResourceException - when the property creation failed
public DateSingleValueProperty(PropertyType propertyType,
IPropertyName name,
Date value,
Properties attributes)
throws ResourceException
propertyType - specific property typename - property namevalue - property valueattributes - property attributes
ResourceException - when the property creation failed
public DateSingleValueProperty(PropertyType propertyType,
IPropertyName name,
Date value,
int flags)
throws ResourceException
propertyType - specific property typename - property namevalue - property valueflags - bit array holding internal system attributes according to
PropertyFlags bit mask fields
ResourceException - when the property creation failed
public DateSingleValueProperty(PropertyType propertyType,
IPropertyName name,
Date value,
Properties attributes,
int flags)
throws ResourceException
propertyType - specific property typename - property namevalue - property valueattributes - property attributesflags - bit array holding internal system attributes according to
PropertyFlags bit mask fields
ResourceException - when the property creation failed
protected DateSingleValueProperty(PropertyType propertyType,
IPropertyName name,
Date value,
Properties attributes,
int flags,
ResourceBundles resourceBundles)
throws ResourceException
propertyType - specific property typename - property namevalue - property valueattributes - 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 getValue()
public long getValueAsLong()
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||