|
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.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 java.util.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,
java.util.Date value)
Construct property instance based on its internals. |
|
DateSingleValueProperty(PropertyType propertyType,
IPropertyName name,
java.util.Date value,
int flags)
Construct property instance based on its internals. |
|
DateSingleValueProperty(PropertyType propertyType,
IPropertyName name,
java.util.Date value,
java.util.Properties attributes)
Construct property instance based on its internals. |
|
DateSingleValueProperty(PropertyType propertyType,
IPropertyName name,
java.util.Date value,
java.util.Properties attributes,
int flags)
Construct property instance based on its internals. |
protected |
DateSingleValueProperty(PropertyType propertyType,
IPropertyName name,
java.util.Date value,
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.util.Date |
getValue()
Get property value. |
long |
getValueAsLong()
Get property value as long. |
java.lang.String |
getValueAsString()
Get the property value converted to a string. |
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 PropertyType propertyType
protected java.util.Date value
| Constructor Detail |
public DateSingleValueProperty(PropertyType propertyType,
IPropertyName name,
java.util.Date value)
throws ResourceException
propertyType - specific property typename - property namevalue - property valueResourceException - when the property creation failed
public DateSingleValueProperty(PropertyType propertyType,
IPropertyName name,
java.util.Date value,
java.util.Properties attributes)
throws ResourceException
propertyType - specific property typename - property namevalue - property valueattributes - property attributesResourceException - when the property creation failed
public DateSingleValueProperty(PropertyType propertyType,
IPropertyName name,
java.util.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 fieldsResourceException - when the property creation failed
public DateSingleValueProperty(PropertyType propertyType,
IPropertyName name,
java.util.Date value,
java.util.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 fieldsResourceException - when the property creation failed
protected DateSingleValueProperty(PropertyType propertyType,
IPropertyName name,
java.util.Date value,
java.util.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
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.util.Date getValue()
public long getValueAsLong()
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||