public class MutableDateSingleValueProperty extends DateSingleValueProperty implements IMutableProperty
IProperty
and
IMutableProperty
for details on propertiesAbstractProperty
,
IMutableProperty
,
IProperty
,
Serialized FormpropertyType, value
attributes, flags, name, resourceBundles
Constructor and Description |
---|
MutableDateSingleValueProperty(DateSingleValueProperty property)
Construct property instance/copy based on another property template
(Usually a property to be changed in parts).
|
MutableDateSingleValueProperty(PropertyType propertyType,
IPropertyName name,
Date value)
Construct property instance based on its internals.
|
MutableDateSingleValueProperty(PropertyType propertyType,
IPropertyName name,
Date value,
int flags)
Construct property instance based on its internals.
|
MutableDateSingleValueProperty(PropertyType propertyType,
IPropertyName name,
Date value,
Properties attributes)
Construct property instance based on its internals.
|
MutableDateSingleValueProperty(PropertyType propertyType,
IPropertyName name,
Date value,
Properties attributes,
int flags)
Construct property instance based on its internals.
|
Modifier and Type | Method and Description |
---|---|
void |
clearAttributes()
Remove all attributes for the property at once.
|
String |
getAttribute(String attributeName)
Get attribute for the property.
|
void |
removeAttribute(String attributeName)
Remove attribute from the property.
|
void |
setAttribute(String attributeName,
String attributeValue)
Add attribute for the property.
|
void |
setAttributes(Properties attributes)
Set all attributes for the property at once.
|
void |
setValue(Date value)
Set property value.
|
void |
setValueAsLong(long value)
Set property value as long.
|
getType, getValue, getValueAsLong, getValueAsString, getValuesAsStrings, isMultiValue
areFlagsSet, equals, getAttributes, getDescription, getDescription, getFlags, getPropertyName, hashCode, isHidden, isLive, isReadOnly, isRequired, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
areFlagsSet, getAttributes, getDescription, getDescription, getFlags, getPropertyName, getType, getValueAsString, getValuesAsStrings, isHidden, isLive, isMultiValue, isReadOnly, isRequired
public MutableDateSingleValueProperty(DateSingleValueProperty property) throws ResourceException
property
- property used as templateResourceException
- when the property creation failedpublic MutableDateSingleValueProperty(PropertyType propertyType, IPropertyName name, Date value) throws ResourceException
propertyType
- specific property typename
- property namevalue
- property valueResourceException
- when the property creation failedpublic MutableDateSingleValueProperty(PropertyType propertyType, IPropertyName name, Date value, Properties attributes) throws ResourceException
propertyType
- specific property typename
- property namevalue
- property valueattributes
- property attributesResourceException
- when the property creation failedpublic MutableDateSingleValueProperty(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 fieldsResourceException
- when the property creation failedpublic MutableDateSingleValueProperty(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 fieldsResourceException
- when the property creation failedpublic void setValue(Date value)
value
- property valuepublic void setValueAsLong(long value)
value
- property valuepublic void setAttributes(Properties attributes) throws ResourceException
setAttributes
in interface IMutableProperty
attributes
- property map holding all attributesResourceException
- when the attributes map or the property is
invalidpublic void clearAttributes() throws ResourceException
clearAttributes
in interface IMutableProperty
ResourceException
- when the property is invalidpublic String getAttribute(String attributeName) throws ResourceException
getAttribute
in interface IProperty
getAttribute
in class AbstractProperty
attributeName
- attribute nameResourceException
- when the attribute name or the property is
invalidpublic void setAttribute(String attributeName, String attributeValue) throws ResourceException
setAttribute
in interface IMutableProperty
attributeName
- attribute nameattributeValue
- attribute valueResourceException
- when the attribute name or value or the
property is invalidpublic void removeAttribute(String attributeName) throws ResourceException
removeAttribute
in interface IMutableProperty
attributeName
- attribute nameResourceException
- when the attribute name or the property is
invalidAccess Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice