public class PrecisionDateAttribute extends DateTimeBaseAttribute<PrecisionDateAttribute> implements PrecisionDateAttributeInterface<PrecisionDateAttribute>
Date
together
with a precision of type DateTimePrecision
as attribute value. The
date value is encapsulated by the base class. This class adds the additional
feature of incomplete date handling. This is achieved by adding the precision
to the date value. So dates, which consist only of year and month (like date
ranges of credit cards) can be represented by this attribute class. The
date fields of the imprecise part are either cleared (all fields are set to
zero) or maximized depending on the parameter upperBorder passed to
the constructor.
The attribute may be initialized via the various constructors with the following properties:
clear()
. Default: nullCalendar
Calendar
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date value
to a string and vice versa. This format map is used by the methods getValueAsString()
and setValueWithString(String)
. The formats are
cloned to be immune to changes made outside to the formats. Default: A
format map, which contains instances of the class SimpleDateFormat
with format strings based on the format "dd-MMM-yyyy HH:mm:ss.SSS"clear()
to reset the attribute value. The value must be valid for
the attribute (inside the min/max precision range). Default: DateTimePrecision.MILLISECOND
DateTimePrecision.MILLISECOND
DateTimePrecision.YEAR
DateTimePrecision.MILLISECOND
setValue(Date,DateTimePrecision)
when a date value is set.
Default: falseAttributeTypeTable.PRECISION_DATE
.
The constructors don't call the method setValue(Date,DateTimePrecision)
to set the initial values, because they
don't declare any exceptions. Instead they set the attribute value directly.
The caller is responsible, that the initial and default values are valid for
the attribute, e.g. in the valid range. However the constructors check the
consistency of the values and throws an AssertionError
exception if
the passed parameters are inconsistent.
The attribute is initialized with an upper border flag. This flag
determines if the imprecise fields of the date value are minimized
(false) or maximized (true) by the methods setting the
attribute value. This feature may be used when two date attributes are used
to define a date range. In this case the attribute for the lower border of
the range should be initialized with upperBorder=false and the
attribute for the upper border with upperBorder=true. If a certain
date is checked against this range, the methods Date.before(Date)
and
Date.after(Date)
can be used without considering the imprecise fields
of the date value.
The date field adjustment is done in the method setValue(Date,DateTimePrecision)
. So all methods modifying the attribute
value must be "routed" to this method. The methods of this class, which
modify the date or precision value call this method.
The initial value passed to the constructor is adjusted according to the upper border flag. The date fields of the default, maximum and minimum values passed to the constructor are not adjusted! The caller is responsible to set the date fields correctly for these values.
The method setValue(Date,DateTimePrecision)
, which is at last called
by each method modifying the attribute value, checks that the passed date and
precision value is in the valid range. The range is determined by the
initialization parameters minValue, maxValue,
minPrecision and maxPrecision. When a value is outside this
range, a DateOutOfRange
or PrecisionOutOfRange
exception is
thrown. When null is not allowed, the method throws the exception
DateIllegalValue
when null is passed as date value.
When the attribute value is changed (old value != new value) the observers
registered at the attribute are notified via the method
Attribute.notifyObservers()
. All methods modifying the date or precision value
check this condition and call the notification method. Observers should not
modify the attribute value in their notification method, because this may
lead to an endless loop.
The method getValueAsString()
uses the formatMap passed
to the constructor to convert the attribute value to a string. The date
value is formatted with the format contained for the current precision in
this map.
The method setValueWithString(String)
tries to match the passed date
string with the formats in this map, starting from the maximum precision to
the minimum precision. So, the first matching format determines the date and
precision value for the attribute. It throws an AttributeIllegalFormat
exception, when the date string matches no format.
The string value representing a null date value is the empty string.
When the date value is null, the method getValueAsString()
returns the empty string and when an empty string is passed to the method
setValueWithString(String)
the date value is set to null.
All methods are synchronized. This means i.e. that while observers are notified the attribute value cannot be changed by another thread.
defaultValue
formatter, messageCatalog
Constructor and Description |
---|
PrecisionDateAttribute(java.lang.String keyword)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
boolean readonly)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultAndInitialValue)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultAndInitialValue,
boolean readonly)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultAndInitialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultAndInitialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
DateTimePrecision defaultAndInitialPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultAndInitialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
DateTimePrecision defaultAndInitialPrecision,
DateTimePrecision minPrecision,
DateTimePrecision maxPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultAndInitialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultAndInitialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultAndInitialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed,
boolean upperBorder)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultAndInitialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed,
DateTimePrecision defaultAndInitialPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultAndInitialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed,
DateTimePrecision defaultAndInitialPrecision,
boolean upperBorder)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultAndInitialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed,
DateTimePrecision defaultAndInitialPrecision,
DateTimePrecision minPrecision,
DateTimePrecision maxPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultAndInitialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed,
DateTimePrecision defaultAndInitialPrecision,
DateTimePrecision minPrecision,
DateTimePrecision maxPrecision,
boolean upperBorder)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultAndInitialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
DateTimePrecision defaultAndInitialPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultAndInitialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
DateTimePrecision defaultAndInitialPrecision,
DateTimePrecision minPrecision,
DateTimePrecision maxPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultAndInitialValue,
boolean readonly,
DateTimePrecision defaultAndInitialPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultValue,
java.util.Date initialValue)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultValue,
java.util.Date initialValue,
boolean readonly)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultValue,
java.util.Date initialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultValue,
java.util.Date initialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
DateTimePrecision defaultPrecision,
DateTimePrecision initialPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultValue,
java.util.Date initialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
DateTimePrecision defaultPrecision,
DateTimePrecision initialPrecision,
DateTimePrecision minPrecision,
DateTimePrecision maxPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultValue,
java.util.Date initialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultValue,
java.util.Date initialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultValue,
java.util.Date initialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed,
boolean upperBorder)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultValue,
java.util.Date initialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed,
DateTimePrecision defaultPrecision,
DateTimePrecision initialPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultValue,
java.util.Date initialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed,
DateTimePrecision defaultPrecision,
DateTimePrecision initialPrecision,
boolean upperBorder)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultValue,
java.util.Date initialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed,
DateTimePrecision defaultPrecision,
DateTimePrecision initialPrecision,
DateTimePrecision minPrecision,
DateTimePrecision maxPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultValue,
java.util.Date initialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed,
DateTimePrecision defaultPrecision,
DateTimePrecision initialPrecision,
DateTimePrecision minPrecision,
DateTimePrecision maxPrecision,
boolean upperBorder)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultValue,
java.util.Date initialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
DateTimePrecision defaultPrecision,
DateTimePrecision initialPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultValue,
java.util.Date initialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
DateTimePrecision defaultPrecision,
DateTimePrecision initialPrecision,
DateTimePrecision minPrecision,
DateTimePrecision maxPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultValue,
java.util.Date initialValue,
boolean readonly,
DateTimePrecision defaultPrecision,
DateTimePrecision initialPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultAndInitialValue,
java.util.Date minValue,
java.util.Date maxValue)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultValue,
java.util.Date initialValue,
java.util.Date minValue,
java.util.Date maxValue)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultValue,
java.util.Date initialValue,
java.util.Date minValue,
java.util.Date maxValue,
DateTimePrecision defaultPrecision,
DateTimePrecision initialPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultValue,
java.util.Date initialValue,
java.util.Date minValue,
java.util.Date maxValue,
DateTimePrecision defaultPrecision,
DateTimePrecision initialPrecision,
DateTimePrecision minPrecision,
DateTimePrecision maxPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultValue,
java.util.Date initialValue,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultValue,
java.util.Date initialValue,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultValue,
java.util.Date initialValue,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed,
boolean upperBorder)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultValue,
java.util.Date initialValue,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed,
DateTimePrecision defaultPrecision,
DateTimePrecision initialPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultValue,
java.util.Date initialValue,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed,
DateTimePrecision defaultPrecision,
DateTimePrecision initialPrecision,
boolean upperBorder)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultValue,
java.util.Date initialValue,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed,
DateTimePrecision defaultPrecision,
DateTimePrecision initialPrecision,
DateTimePrecision minPrecision,
DateTimePrecision maxPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultValue,
java.util.Date initialValue,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed,
DateTimePrecision defaultPrecision,
DateTimePrecision initialPrecision,
DateTimePrecision minPrecision,
DateTimePrecision maxPrecision,
boolean upperBorder)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultValue,
java.util.Date initialValue,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
DateTimePrecision defaultPrecision,
DateTimePrecision initialPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultValue,
java.util.Date initialValue,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
DateTimePrecision defaultPrecision,
DateTimePrecision initialPrecision,
DateTimePrecision minPrecision,
DateTimePrecision maxPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultAndInitialValue,
java.util.Date minValue,
java.util.Date maxValue,
DateTimePrecision defaultAndInitialPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultAndInitialValue,
java.util.Date minValue,
java.util.Date maxValue,
DateTimePrecision defaultAndInitialPrecision,
DateTimePrecision minPrecision,
DateTimePrecision maxPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultAndInitialValue,
java.util.Date minValue,
java.util.Date maxValue,
DateTimePrecision defaultAndInitialPrecision,
DateTimePrecision minPrecision,
DateTimePrecision maxPrecision,
boolean nullAllowed)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultAndInitialValue,
java.util.Date minValue,
java.util.Date maxValue,
DateTimePrecision defaultAndInitialPrecision,
DateTimePrecision minPrecision,
DateTimePrecision maxPrecision,
boolean nullAllowed,
boolean upperBorder)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultAndInitialValue,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultAndInitialValue,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultAndInitialValue,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed,
boolean upperBorder)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultAndInitialValue,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed,
DateTimePrecision defaultAndInitialPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultAndInitialValue,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed,
DateTimePrecision defaultAndInitialPrecision,
boolean upperBorder)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultAndInitialValue,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed,
DateTimePrecision defaultAndInitialPrecision,
DateTimePrecision minPrecision,
DateTimePrecision maxPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultAndInitialValue,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed,
DateTimePrecision defaultAndInitialPrecision,
DateTimePrecision minPrecision,
DateTimePrecision maxPrecision,
boolean upperBorder)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultAndInitialValue,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
DateTimePrecision defaultAndInitialPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultAndInitialValue,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
DateTimePrecision defaultAndInitialPrecision,
DateTimePrecision minPrecision,
DateTimePrecision maxPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultValue,
java.util.Date initialValue,
DateTimePrecision defaultPrecision,
DateTimePrecision initialPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.util.Date defaultAndInitialValue,
DateTimePrecision defaultAndInitialPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
boolean readonly)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultAndInitialValue)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultAndInitialValue,
boolean readonly)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultAndInitialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultAndInitialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
DateTimePrecision defaultAndInitialPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultAndInitialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
DateTimePrecision defaultAndInitialPrecision,
DateTimePrecision minPrecision,
DateTimePrecision maxPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultAndInitialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultAndInitialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultAndInitialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed,
boolean upperBorder)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultAndInitialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed,
DateTimePrecision defaultAndInitialPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultAndInitialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed,
DateTimePrecision defaultAndInitialPrecision,
boolean upperBorder)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultAndInitialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed,
DateTimePrecision defaultAndInitialPrecision,
DateTimePrecision minPrecision,
DateTimePrecision maxPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultAndInitialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed,
DateTimePrecision defaultAndInitialPrecision,
DateTimePrecision minPrecision,
DateTimePrecision maxPrecision,
boolean upperBorder)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultAndInitialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
DateTimePrecision defaultAndInitialPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultAndInitialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
DateTimePrecision defaultAndInitialPrecision,
DateTimePrecision minPrecision,
DateTimePrecision maxPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultAndInitialValue,
boolean readonly,
DateTimePrecision defaultAndInitialPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultValue,
java.util.Date initialValue)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultValue,
java.util.Date initialValue,
boolean readonly)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultValue,
java.util.Date initialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultValue,
java.util.Date initialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
DateTimePrecision defaultPrecision,
DateTimePrecision initialPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultValue,
java.util.Date initialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
DateTimePrecision defaultPrecision,
DateTimePrecision initialPrecision,
DateTimePrecision minPrecision,
DateTimePrecision maxPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultValue,
java.util.Date initialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultValue,
java.util.Date initialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultValue,
java.util.Date initialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed,
boolean upperBorder)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultValue,
java.util.Date initialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed,
DateTimePrecision defaultPrecision,
DateTimePrecision initialPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultValue,
java.util.Date initialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed,
DateTimePrecision defaultPrecision,
DateTimePrecision initialPrecision,
boolean upperBorder)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultValue,
java.util.Date initialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed,
DateTimePrecision defaultPrecision,
DateTimePrecision initialPrecision,
DateTimePrecision minPrecision,
DateTimePrecision maxPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultValue,
java.util.Date initialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed,
DateTimePrecision defaultPrecision,
DateTimePrecision initialPrecision,
DateTimePrecision minPrecision,
DateTimePrecision maxPrecision,
boolean upperBorder)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultValue,
java.util.Date initialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
DateTimePrecision defaultPrecision,
DateTimePrecision initialPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultValue,
java.util.Date initialValue,
boolean readonly,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
DateTimePrecision defaultPrecision,
DateTimePrecision initialPrecision,
DateTimePrecision minPrecision,
DateTimePrecision maxPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultValue,
java.util.Date initialValue,
boolean readonly,
DateTimePrecision defaultPrecision,
DateTimePrecision initialPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultAndInitialValue,
java.util.Date minValue,
java.util.Date maxValue)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultValue,
java.util.Date initialValue,
java.util.Date minValue,
java.util.Date maxValue)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultValue,
java.util.Date initialValue,
java.util.Date minValue,
java.util.Date maxValue,
DateTimePrecision defaultPrecision,
DateTimePrecision initialPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultValue,
java.util.Date initialValue,
java.util.Date minValue,
java.util.Date maxValue,
DateTimePrecision defaultPrecision,
DateTimePrecision initialPrecision,
DateTimePrecision minPrecision,
DateTimePrecision maxPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultValue,
java.util.Date initialValue,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultValue,
java.util.Date initialValue,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultValue,
java.util.Date initialValue,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed,
boolean upperBorder)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultValue,
java.util.Date initialValue,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed,
DateTimePrecision defaultPrecision,
DateTimePrecision initialPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultValue,
java.util.Date initialValue,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed,
DateTimePrecision defaultPrecision,
DateTimePrecision initialPrecision,
boolean upperBorder)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultValue,
java.util.Date initialValue,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed,
DateTimePrecision defaultPrecision,
DateTimePrecision initialPrecision,
DateTimePrecision minPrecision,
DateTimePrecision maxPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultValue,
java.util.Date initialValue,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed,
DateTimePrecision defaultPrecision,
DateTimePrecision initialPrecision,
DateTimePrecision minPrecision,
DateTimePrecision maxPrecision,
boolean upperBorder)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultValue,
java.util.Date initialValue,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
DateTimePrecision defaultPrecision,
DateTimePrecision initialPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultValue,
java.util.Date initialValue,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
DateTimePrecision defaultPrecision,
DateTimePrecision initialPrecision,
DateTimePrecision minPrecision,
DateTimePrecision maxPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultAndInitialValue,
java.util.Date minValue,
java.util.Date maxValue,
DateTimePrecision defaultAndInitialPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultAndInitialValue,
java.util.Date minValue,
java.util.Date maxValue,
DateTimePrecision defaultAndInitialPrecision,
DateTimePrecision minPrecision,
DateTimePrecision maxPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultAndInitialValue,
java.util.Date minValue,
java.util.Date maxValue,
DateTimePrecision defaultAndInitialPrecision,
DateTimePrecision minPrecision,
DateTimePrecision maxPrecision,
boolean nullAllowed)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultAndInitialValue,
java.util.Date minValue,
java.util.Date maxValue,
DateTimePrecision defaultAndInitialPrecision,
DateTimePrecision minPrecision,
DateTimePrecision maxPrecision,
boolean nullAllowed,
boolean upperBorder)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultAndInitialValue,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultAndInitialValue,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultAndInitialValue,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed,
boolean upperBorder)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultAndInitialValue,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed,
DateTimePrecision defaultAndInitialPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultAndInitialValue,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed,
DateTimePrecision defaultAndInitialPrecision,
boolean upperBorder)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultAndInitialValue,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed,
DateTimePrecision defaultAndInitialPrecision,
DateTimePrecision minPrecision,
DateTimePrecision maxPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultAndInitialValue,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
boolean nullAllowed,
DateTimePrecision defaultAndInitialPrecision,
DateTimePrecision minPrecision,
DateTimePrecision maxPrecision,
boolean upperBorder)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultAndInitialValue,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
DateTimePrecision defaultAndInitialPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultAndInitialValue,
java.util.Date minValue,
java.util.Date maxValue,
java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap,
DateTimePrecision defaultAndInitialPrecision,
DateTimePrecision minPrecision,
DateTimePrecision maxPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultValue,
java.util.Date initialValue,
DateTimePrecision defaultPrecision,
DateTimePrecision initialPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
PrecisionDateAttribute(java.lang.String keyword,
java.lang.Object displayKeywordKey,
MessageCatalogInterface messageCatalog,
java.util.Date defaultAndInitialValue,
DateTimePrecision defaultAndInitialPrecision)
The constructor initializes the private members and the base class with
the passed parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
This method overrides the method of the base class and sets the attribute
value to the default date and precision value, which has been passed to
the constructor.
|
void |
copyValue(PrecisionDateAttribute sourceAttribute,
ComponentInterface<?> component)
This method overrides the method of the base class and copies the date
and precision value of the passed source attribute to this
attribute.
|
java.text.DateFormat |
getFormat()
This method overrides the method of the base class and returns the date
format of the current precision from the format map passed to the
constructor.
|
DateTimePrecision |
getPrecision()
This method returns the current precision.
|
java.util.Date |
getValue(DateTimePrecisionBox precisionBox)
This method returns the current date value and the precision of the
attribute.
|
java.lang.String |
getValueAsString()
The method overrides the method of the base class and returns the date
formatted with the format of the current precision.
|
boolean |
isValueEqual(PrecisionDateAttribute otherAttribute)
This method overrides the method of the base class and compares the date
and precision value of the passed attribute with the date and precision
value of this attribute.
|
void |
setPrecision(DateTimePrecision precision)
This method sets the precision of the attribute.
|
void |
setValue(java.util.Date newValue)
This method overrides the method of the base class and sets the attribute
value with the passed date.
|
void |
setValue(java.util.Date date,
DateTimePrecision precision)
This method implements the interface
PrecisionDateAttributeInterface and sets the attributes date and
precision value to the passed values and notifies the observers when one
of them changed the attribute value. |
void |
setValueWithString(java.lang.String newValue)
This method overrides the method of the base class and parses the passed
date string to determine the precision and value of the date.
|
getMaxValue, getMinValue, getValue, getValueInfo, nullAllowed, setValueGetObserversNotified
acceptVisitor, attachObserver, detachObserver, formatValue, getDisplayKeyword, getDisplayKeyword, getKeyword, getMode, getType, getTypeInfo, isReadonly, notifyObservers, setAttributeValueFormatter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMaxValue, getMinValue, getValue, nullAllowed
acceptVisitor, attachObserver, detachObserver, formatValue, getDisplayKeyword, getDisplayKeyword, getKeyword, getMode, getType, getTypeInfo, getValueInfo, isReadonly, setAttributeValueFormatter
public PrecisionDateAttribute(java.lang.String keyword)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultAndInitialValue)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultAndInitialValue, java.util.Date minValue, java.util.Date maxValue)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultAndInitialValue, java.util.Date minValue, java.util.Date maxValue, DateTimePrecision defaultAndInitialPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.defaultAndInitialPrecision
- The default and initial precision. The
default precision is used by the method clear()
to reset the
attribute value. The value must be valid for the attribute (inside the
min/max precision range).public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultAndInitialValue, java.util.Date minValue, java.util.Date maxValue, DateTimePrecision defaultAndInitialPrecision, DateTimePrecision minPrecision, DateTimePrecision maxPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.defaultAndInitialPrecision
- The default and initial precision. The
default precision is used by the method clear()
to reset the
attribute value. The value must be valid for the attribute (inside the
min/max precision range).minPrecision
- The minimal allowed precision for the attribute.maxPrecision
- The maximal allowed precision for the attribute.public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultAndInitialValue, java.util.Date minValue, java.util.Date maxValue, DateTimePrecision defaultAndInitialPrecision, DateTimePrecision minPrecision, DateTimePrecision maxPrecision, boolean nullAllowed)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.defaultAndInitialPrecision
- The default and initial precision. The
default precision is used by the method clear()
to reset the
attribute value. The value must be valid for the attribute (inside the
min/max precision range).minPrecision
- The minimal allowed precision for the attribute.maxPrecision
- The maximal allowed precision for the attribute.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultAndInitialValue, java.util.Date minValue, java.util.Date maxValue, DateTimePrecision defaultAndInitialPrecision, DateTimePrecision minPrecision, DateTimePrecision maxPrecision, boolean nullAllowed, boolean upperBorder)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.defaultAndInitialPrecision
- The default and initial precision. The
default precision is used by the method clear()
to reset the
attribute value. The value must be valid for the attribute (inside the
min/max precision range).minPrecision
- The minimal allowed precision for the attribute.maxPrecision
- The maximal allowed precision for the attribute.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).upperBorder
- This flag determines if the imprecise part of the
encapsulated date value is maximized (true) or minimized
(false) when the value is set.public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultAndInitialValue, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultAndInitialValue, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultAndInitialValue, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed, boolean upperBorder)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).upperBorder
- This flag determines if the imprecise part of the
encapsulated date value is maximized (true) or minimized
(false) when the value is set.public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultAndInitialValue, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed, DateTimePrecision defaultAndInitialPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).defaultAndInitialPrecision
- The default and initial precision. The
default precision is used by the method clear()
to reset the
attribute value. The value must be valid for the attribute (inside the
min/max precision range).public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultAndInitialValue, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed, DateTimePrecision defaultAndInitialPrecision, boolean upperBorder)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).defaultAndInitialPrecision
- The default and initial precision. The
default precision is used by the method clear()
to reset the
attribute value. The value must be valid for the attribute (inside the
min/max precision range).upperBorder
- This flag determines if the imprecise part of the
encapsulated date value is maximized (true) or minimized
(false) when the value is set.public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultAndInitialValue, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed, DateTimePrecision defaultAndInitialPrecision, DateTimePrecision minPrecision, DateTimePrecision maxPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).defaultAndInitialPrecision
- The default and initial precision. The
default precision is used by the method clear()
to reset the
attribute value. The value must be valid for the attribute (inside the
min/max precision range).minPrecision
- The minimal allowed precision for the attribute.maxPrecision
- The maximal allowed precision for the attribute.public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultAndInitialValue, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed, DateTimePrecision defaultAndInitialPrecision, DateTimePrecision minPrecision, DateTimePrecision maxPrecision, boolean upperBorder)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).defaultAndInitialPrecision
- The default and initial precision. The
default precision is used by the method clear()
to reset the
attribute value. The value must be valid for the attribute (inside the
min/max precision range).minPrecision
- The minimal allowed precision for the attribute.maxPrecision
- The maximal allowed precision for the attribute.upperBorder
- This flag determines if the imprecise part of the
encapsulated date value is maximized (true) or minimized
(false) when the value is set.public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultAndInitialValue, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, DateTimePrecision defaultAndInitialPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.defaultAndInitialPrecision
- The default and initial precision. The
default precision is used by the method clear()
to reset the
attribute value. The value must be valid for the attribute (inside the
min/max precision range).public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultAndInitialValue, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, DateTimePrecision defaultAndInitialPrecision, DateTimePrecision minPrecision, DateTimePrecision maxPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.defaultAndInitialPrecision
- The default and initial precision. The
default precision is used by the method clear()
to reset the
attribute value. The value must be valid for the attribute (inside the
min/max precision range).minPrecision
- The minimal allowed precision for the attribute.maxPrecision
- The maximal allowed precision for the attribute.public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultAndInitialValue, DateTimePrecision defaultAndInitialPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.defaultAndInitialPrecision
- The default and initial precision. The
default precision is used by the method clear()
to reset the
attribute value. The value must be valid for the attribute (inside the
min/max precision range).public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultValue, java.util.Date initialValue)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultValue, java.util.Date initialValue, java.util.Date minValue, java.util.Date maxValue)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultValue, java.util.Date initialValue, java.util.Date minValue, java.util.Date maxValue, DateTimePrecision defaultPrecision, DateTimePrecision initialPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.defaultPrecision
- The default precision is used by the method
clear()
to reset the attribute value. The value must be valid
for the attribute (inside the min/max precision range).initialPrecision
- The initial precision value.public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultValue, java.util.Date initialValue, java.util.Date minValue, java.util.Date maxValue, DateTimePrecision defaultPrecision, DateTimePrecision initialPrecision, DateTimePrecision minPrecision, DateTimePrecision maxPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.defaultPrecision
- The default precision is used by the method
clear()
to reset the attribute value. The value must be valid
for the attribute (inside the min/max precision range).initialPrecision
- The initial precision value.minPrecision
- The minimal allowed precision for the attribute.maxPrecision
- The maximal allowed precision for the attribute.public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultValue, java.util.Date initialValue, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultValue, java.util.Date initialValue, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultValue, java.util.Date initialValue, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed, boolean upperBorder)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).upperBorder
- This flag determines if the imprecise part of the
encapsulated date value is maximized (true) or minimized
(false) when the value is set.public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultValue, java.util.Date initialValue, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed, DateTimePrecision defaultPrecision, DateTimePrecision initialPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).defaultPrecision
- The default precision is used by the method
clear()
to reset the attribute value. The value must be valid
for the attribute (inside the min/max precision range).initialPrecision
- The initial precision value.public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultValue, java.util.Date initialValue, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed, DateTimePrecision defaultPrecision, DateTimePrecision initialPrecision, boolean upperBorder)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).defaultPrecision
- The default precision is used by the method
clear()
to reset the attribute value. The value must be valid
for the attribute (inside the min/max precision range).initialPrecision
- The initial precision value.upperBorder
- This flag determines if the imprecise part of the
encapsulated date value is maximized (true) or minimized
(false) when the value is set.public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultValue, java.util.Date initialValue, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed, DateTimePrecision defaultPrecision, DateTimePrecision initialPrecision, DateTimePrecision minPrecision, DateTimePrecision maxPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).defaultPrecision
- The default precision is used by the method
clear()
to reset the attribute value. The value must be valid
for the attribute (inside the min/max precision range).initialPrecision
- The initial precision value.minPrecision
- The minimal allowed precision for the attribute.maxPrecision
- The maximal allowed precision for the attribute.public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultValue, java.util.Date initialValue, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed, DateTimePrecision defaultPrecision, DateTimePrecision initialPrecision, DateTimePrecision minPrecision, DateTimePrecision maxPrecision, boolean upperBorder)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).defaultPrecision
- The default precision is used by the method
clear()
to reset the attribute value. The value must be valid
for the attribute (inside the min/max precision range).initialPrecision
- The initial precision value.minPrecision
- The minimal allowed precision for the attribute.maxPrecision
- The maximal allowed precision for the attribute.upperBorder
- This flag determines if the imprecise part of the
encapsulated date value is maximized (true) or minimized
(false) when the value is set.public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultValue, java.util.Date initialValue, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, DateTimePrecision defaultPrecision, DateTimePrecision initialPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.defaultPrecision
- The default precision is used by the method
clear()
to reset the attribute value. The value must be valid
for the attribute (inside the min/max precision range).initialPrecision
- The initial precision value.public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultValue, java.util.Date initialValue, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, DateTimePrecision defaultPrecision, DateTimePrecision initialPrecision, DateTimePrecision minPrecision, DateTimePrecision maxPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.defaultPrecision
- The default precision is used by the method
clear()
to reset the attribute value. The value must be valid
for the attribute (inside the min/max precision range).initialPrecision
- The initial precision value.minPrecision
- The minimal allowed precision for the attribute.maxPrecision
- The maximal allowed precision for the attribute.public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultValue, java.util.Date initialValue, DateTimePrecision defaultPrecision, DateTimePrecision initialPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.defaultPrecision
- The default precision is used by the method
clear()
to reset the attribute value. The value must be valid
for the attribute (inside the min/max precision range).initialPrecision
- The initial precision value.public PrecisionDateAttribute(java.lang.String keyword, boolean readonly)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultAndInitialValue, boolean readonly)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultAndInitialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultAndInitialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, DateTimePrecision defaultAndInitialPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.defaultAndInitialPrecision
- The default and initial precision. The
default precision is used by the method clear()
to reset the
attribute value. The value must be valid for the attribute (inside the
min/max precision range).public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultAndInitialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, DateTimePrecision defaultAndInitialPrecision, DateTimePrecision minPrecision, DateTimePrecision maxPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.defaultAndInitialPrecision
- The default and initial precision. The
default precision is used by the method clear()
to reset the
attribute value. The value must be valid for the attribute (inside the
min/max precision range).minPrecision
- The minimal allowed precision for the attribute.maxPrecision
- The maximal allowed precision for the attribute.public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultAndInitialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultAndInitialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultAndInitialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed, boolean upperBorder)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).upperBorder
- This flag determines if the imprecise part of the
encapsulated date value is maximized (true) or minimized
(false) when the value is set.public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultAndInitialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed, DateTimePrecision defaultAndInitialPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).defaultAndInitialPrecision
- The default and initial precision. The
default precision is used by the method clear()
to reset the
attribute value. The value must be valid for the attribute (inside the
min/max precision range).public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultAndInitialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed, DateTimePrecision defaultAndInitialPrecision, boolean upperBorder)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).defaultAndInitialPrecision
- The default and initial precision. The
default precision is used by the method clear()
to reset the
attribute value. The value must be valid for the attribute (inside the
min/max precision range).upperBorder
- This flag determines if the imprecise part of the
encapsulated date value is maximized (true) or minimized
(false) when the value is set.public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultAndInitialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed, DateTimePrecision defaultAndInitialPrecision, DateTimePrecision minPrecision, DateTimePrecision maxPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).defaultAndInitialPrecision
- The default and initial precision. The
default precision is used by the method clear()
to reset the
attribute value. The value must be valid for the attribute (inside the
min/max precision range).minPrecision
- The minimal allowed precision for the attribute.maxPrecision
- The maximal allowed precision for the attribute.public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultAndInitialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed, DateTimePrecision defaultAndInitialPrecision, DateTimePrecision minPrecision, DateTimePrecision maxPrecision, boolean upperBorder)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).defaultAndInitialPrecision
- The default and initial precision. The
default precision is used by the method clear()
to reset the
attribute value. The value must be valid for the attribute (inside the
min/max precision range).minPrecision
- The minimal allowed precision for the attribute.maxPrecision
- The maximal allowed precision for the attribute.upperBorder
- This flag determines if the imprecise part of the
encapsulated date value is maximized (true) or minimized
(false) when the value is set.public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultAndInitialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, DateTimePrecision defaultAndInitialPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.defaultAndInitialPrecision
- The default and initial precision. The
default precision is used by the method clear()
to reset the
attribute value. The value must be valid for the attribute (inside the
min/max precision range).public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultAndInitialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, DateTimePrecision defaultAndInitialPrecision, DateTimePrecision minPrecision, DateTimePrecision maxPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.defaultAndInitialPrecision
- The default and initial precision. The
default precision is used by the method clear()
to reset the
attribute value. The value must be valid for the attribute (inside the
min/max precision range).minPrecision
- The minimal allowed precision for the attribute.maxPrecision
- The maximal allowed precision for the attribute.public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultAndInitialValue, boolean readonly, DateTimePrecision defaultAndInitialPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).defaultAndInitialPrecision
- The default and initial precision. The
default precision is used by the method clear()
to reset the
attribute value. The value must be valid for the attribute (inside the
min/max precision range).public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultValue, java.util.Date initialValue, boolean readonly)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultValue, java.util.Date initialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultValue, java.util.Date initialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, DateTimePrecision defaultPrecision, DateTimePrecision initialPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.defaultPrecision
- The default precision is used by the method
clear()
to reset the attribute value. The value must be valid
for the attribute (inside the min/max precision range).initialPrecision
- The initial precision value.public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultValue, java.util.Date initialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, DateTimePrecision defaultPrecision, DateTimePrecision initialPrecision, DateTimePrecision minPrecision, DateTimePrecision maxPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.defaultPrecision
- The default precision is used by the method
clear()
to reset the attribute value. The value must be valid
for the attribute (inside the min/max precision range).initialPrecision
- The initial precision value.minPrecision
- The minimal allowed precision for the attribute.maxPrecision
- The maximal allowed precision for the attribute.public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultValue, java.util.Date initialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultValue, java.util.Date initialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultValue, java.util.Date initialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed, boolean upperBorder)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).upperBorder
- This flag determines if the imprecise part of the
encapsulated date value is maximized (true) or minimized
(false) when the value is set.public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultValue, java.util.Date initialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed, DateTimePrecision defaultPrecision, DateTimePrecision initialPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).defaultPrecision
- The default precision is used by the method
clear()
to reset the attribute value. The value must be valid
for the attribute (inside the min/max precision range).initialPrecision
- The initial precision value.public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultValue, java.util.Date initialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed, DateTimePrecision defaultPrecision, DateTimePrecision initialPrecision, boolean upperBorder)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).defaultPrecision
- The default precision is used by the method
clear()
to reset the attribute value. The value must be valid
for the attribute (inside the min/max precision range).initialPrecision
- The initial precision value.upperBorder
- This flag determines if the imprecise part of the
encapsulated date value is maximized (true) or minimized
(false) when the value is set.public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultValue, java.util.Date initialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed, DateTimePrecision defaultPrecision, DateTimePrecision initialPrecision, DateTimePrecision minPrecision, DateTimePrecision maxPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).defaultPrecision
- The default precision is used by the method
clear()
to reset the attribute value. The value must be valid
for the attribute (inside the min/max precision range).initialPrecision
- The initial precision value.minPrecision
- The minimal allowed precision for the attribute.maxPrecision
- The maximal allowed precision for the attribute.public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultValue, java.util.Date initialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed, DateTimePrecision defaultPrecision, DateTimePrecision initialPrecision, DateTimePrecision minPrecision, DateTimePrecision maxPrecision, boolean upperBorder)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).defaultPrecision
- The default precision is used by the method
clear()
to reset the attribute value. The value must be valid
for the attribute (inside the min/max precision range).initialPrecision
- The initial precision value.minPrecision
- The minimal allowed precision for the attribute.maxPrecision
- The maximal allowed precision for the attribute.upperBorder
- This flag determines if the imprecise part of the
encapsulated date value is maximized (true) or minimized
(false) when the value is set.public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultValue, java.util.Date initialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, DateTimePrecision defaultPrecision, DateTimePrecision initialPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.defaultPrecision
- The default precision is used by the method
clear()
to reset the attribute value. The value must be valid
for the attribute (inside the min/max precision range).initialPrecision
- The initial precision value.public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultValue, java.util.Date initialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, DateTimePrecision defaultPrecision, DateTimePrecision initialPrecision, DateTimePrecision minPrecision, DateTimePrecision maxPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.defaultPrecision
- The default precision is used by the method
clear()
to reset the attribute value. The value must be valid
for the attribute (inside the min/max precision range).initialPrecision
- The initial precision value.minPrecision
- The minimal allowed precision for the attribute.maxPrecision
- The maximal allowed precision for the attribute.public PrecisionDateAttribute(java.lang.String keyword, java.util.Date defaultValue, java.util.Date initialValue, boolean readonly, DateTimePrecision defaultPrecision, DateTimePrecision initialPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).defaultPrecision
- The default precision is used by the method
clear()
to reset the attribute value. The value must be valid
for the attribute (inside the min/max precision range).initialPrecision
- The initial precision value.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultAndInitialValue)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultAndInitialValue, java.util.Date minValue, java.util.Date maxValue)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultAndInitialValue, java.util.Date minValue, java.util.Date maxValue, DateTimePrecision defaultAndInitialPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.defaultAndInitialPrecision
- The default and initial precision. The
default precision is used by the method clear()
to reset the
attribute value. The value must be valid for the attribute (inside the
min/max precision range).public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultAndInitialValue, java.util.Date minValue, java.util.Date maxValue, DateTimePrecision defaultAndInitialPrecision, DateTimePrecision minPrecision, DateTimePrecision maxPrecision, boolean nullAllowed)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.defaultAndInitialPrecision
- The default and initial precision. The
default precision is used by the method clear()
to reset the
attribute value. The value must be valid for the attribute (inside the
min/max precision range).minPrecision
- The minimal allowed precision for the attribute.maxPrecision
- The maximal allowed precision for the attribute.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultAndInitialValue, java.util.Date minValue, java.util.Date maxValue, DateTimePrecision defaultAndInitialPrecision, DateTimePrecision minPrecision, DateTimePrecision maxPrecision, boolean nullAllowed, boolean upperBorder)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.defaultAndInitialPrecision
- The default and initial precision. The
default precision is used by the method clear()
to reset the
attribute value. The value must be valid for the attribute (inside the
min/max precision range).minPrecision
- The minimal allowed precision for the attribute.maxPrecision
- The maximal allowed precision for the attribute.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).upperBorder
- This flag determines if the imprecise part of the
encapsulated date value is maximized (true) or minimized
(false) when the value is set.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultAndInitialValue, java.util.Date minValue, java.util.Date maxValue, DateTimePrecision defaultAndInitialPrecision, DateTimePrecision minPrecision, DateTimePrecision maxPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.defaultAndInitialPrecision
- The default and initial precision. The
default precision is used by the method clear()
to reset the
attribute value. The value must be valid for the attribute (inside the
min/max precision range).minPrecision
- The minimal allowed precision for the attribute.maxPrecision
- The maximal allowed precision for the attribute.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultAndInitialValue, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultAndInitialValue, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultAndInitialValue, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed, boolean upperBorder)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).upperBorder
- This flag determines if the imprecise part of the
encapsulated date value is maximized (true) or minimized
(false) when the value is set.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultAndInitialValue, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed, DateTimePrecision defaultAndInitialPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).defaultAndInitialPrecision
- The default and initial precision. The
default precision is used by the method clear()
to reset the
attribute value. The value must be valid for the attribute (inside the
min/max precision range).public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultAndInitialValue, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed, DateTimePrecision defaultAndInitialPrecision, boolean upperBorder)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).defaultAndInitialPrecision
- The default and initial precision. The
default precision is used by the method clear()
to reset the
attribute value. The value must be valid for the attribute (inside the
min/max precision range).upperBorder
- This flag determines if the imprecise part of the
encapsulated date value is maximized (true) or minimized
(false) when the value is set.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultAndInitialValue, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed, DateTimePrecision defaultAndInitialPrecision, DateTimePrecision minPrecision, DateTimePrecision maxPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).defaultAndInitialPrecision
- The default and initial precision. The
default precision is used by the method clear()
to reset the
attribute value. The value must be valid for the attribute (inside the
min/max precision range).minPrecision
- The minimal allowed precision for the attribute.maxPrecision
- The maximal allowed precision for the attribute.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultAndInitialValue, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed, DateTimePrecision defaultAndInitialPrecision, DateTimePrecision minPrecision, DateTimePrecision maxPrecision, boolean upperBorder)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).defaultAndInitialPrecision
- The default and initial precision. The
default precision is used by the method clear()
to reset the
attribute value. The value must be valid for the attribute (inside the
min/max precision range).minPrecision
- The minimal allowed precision for the attribute.maxPrecision
- The maximal allowed precision for the attribute.upperBorder
- This flag determines if the imprecise part of the
encapsulated date value is maximized (true) or minimized
(false) when the value is set.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultAndInitialValue, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, DateTimePrecision defaultAndInitialPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.defaultAndInitialPrecision
- The default and initial precision. The
default precision is used by the method clear()
to reset the
attribute value. The value must be valid for the attribute (inside the
min/max precision range).public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultAndInitialValue, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, DateTimePrecision defaultAndInitialPrecision, DateTimePrecision minPrecision, DateTimePrecision maxPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.defaultAndInitialPrecision
- The default and initial precision. The
default precision is used by the method clear()
to reset the
attribute value. The value must be valid for the attribute (inside the
min/max precision range).minPrecision
- The minimal allowed precision for the attribute.maxPrecision
- The maximal allowed precision for the attribute.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultAndInitialValue, DateTimePrecision defaultAndInitialPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.defaultAndInitialPrecision
- The default and initial precision. The
default precision is used by the method clear()
to reset the
attribute value. The value must be valid for the attribute (inside the
min/max precision range).public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultValue, java.util.Date initialValue)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultValue, java.util.Date initialValue, java.util.Date minValue, java.util.Date maxValue)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultValue, java.util.Date initialValue, java.util.Date minValue, java.util.Date maxValue, DateTimePrecision defaultPrecision, DateTimePrecision initialPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.defaultPrecision
- The default precision is used by the method
clear()
to reset the attribute value. The value must be valid
for the attribute (inside the min/max precision range).initialPrecision
- The initial precision value.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultValue, java.util.Date initialValue, java.util.Date minValue, java.util.Date maxValue, DateTimePrecision defaultPrecision, DateTimePrecision initialPrecision, DateTimePrecision minPrecision, DateTimePrecision maxPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.defaultPrecision
- The default precision is used by the method
clear()
to reset the attribute value. The value must be valid
for the attribute (inside the min/max precision range).initialPrecision
- The initial precision value.minPrecision
- The minimal allowed precision for the attribute.maxPrecision
- The maximal allowed precision for the attribute.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultValue, java.util.Date initialValue, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultValue, java.util.Date initialValue, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultValue, java.util.Date initialValue, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed, boolean upperBorder)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).upperBorder
- This flag determines if the imprecise part of the
encapsulated date value is maximized (true) or minimized
(false) when the value is set.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultValue, java.util.Date initialValue, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed, DateTimePrecision defaultPrecision, DateTimePrecision initialPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).defaultPrecision
- The default precision is used by the method
clear()
to reset the attribute value. The value must be valid
for the attribute (inside the min/max precision range).initialPrecision
- The initial precision value.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultValue, java.util.Date initialValue, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed, DateTimePrecision defaultPrecision, DateTimePrecision initialPrecision, boolean upperBorder)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).defaultPrecision
- The default precision is used by the method
clear()
to reset the attribute value. The value must be valid
for the attribute (inside the min/max precision range).initialPrecision
- The initial precision value.upperBorder
- This flag determines if the imprecise part of the
encapsulated date value is maximized (true) or minimized
(false) when the value is set.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultValue, java.util.Date initialValue, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed, DateTimePrecision defaultPrecision, DateTimePrecision initialPrecision, DateTimePrecision minPrecision, DateTimePrecision maxPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).defaultPrecision
- The default precision is used by the method
clear()
to reset the attribute value. The value must be valid
for the attribute (inside the min/max precision range).initialPrecision
- The initial precision value.minPrecision
- The minimal allowed precision for the attribute.maxPrecision
- The maximal allowed precision for the attribute.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultValue, java.util.Date initialValue, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed, DateTimePrecision defaultPrecision, DateTimePrecision initialPrecision, DateTimePrecision minPrecision, DateTimePrecision maxPrecision, boolean upperBorder)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).defaultPrecision
- The default precision is used by the method
clear()
to reset the attribute value. The value must be valid
for the attribute (inside the min/max precision range).initialPrecision
- The initial precision value.minPrecision
- The minimal allowed precision for the attribute.maxPrecision
- The maximal allowed precision for the attribute.upperBorder
- This flag determines if the imprecise part of the
encapsulated date value is maximized (true) or minimized
(false) when the value is set.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultValue, java.util.Date initialValue, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, DateTimePrecision defaultPrecision, DateTimePrecision initialPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.defaultPrecision
- The default precision is used by the method
clear()
to reset the attribute value. The value must be valid
for the attribute (inside the min/max precision range).initialPrecision
- The initial precision value.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultValue, java.util.Date initialValue, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, DateTimePrecision defaultPrecision, DateTimePrecision initialPrecision, DateTimePrecision minPrecision, DateTimePrecision maxPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.defaultPrecision
- The default precision is used by the method
clear()
to reset the attribute value. The value must be valid
for the attribute (inside the min/max precision range).initialPrecision
- The initial precision value.minPrecision
- The minimal allowed precision for the attribute.maxPrecision
- The maximal allowed precision for the attribute.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultValue, java.util.Date initialValue, DateTimePrecision defaultPrecision, DateTimePrecision initialPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.defaultPrecision
- The default precision is used by the method
clear()
to reset the attribute value. The value must be valid
for the attribute (inside the min/max precision range).initialPrecision
- The initial precision value.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, boolean readonly)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultAndInitialValue, boolean readonly)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultAndInitialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultAndInitialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, DateTimePrecision defaultAndInitialPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.defaultAndInitialPrecision
- The default and initial precision. The
default precision is used by the method clear()
to reset the
attribute value. The value must be valid for the attribute (inside the
min/max precision range).public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultAndInitialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, DateTimePrecision defaultAndInitialPrecision, DateTimePrecision minPrecision, DateTimePrecision maxPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.defaultAndInitialPrecision
- The default and initial precision. The
default precision is used by the method clear()
to reset the
attribute value. The value must be valid for the attribute (inside the
min/max precision range).minPrecision
- The minimal allowed precision for the attribute.maxPrecision
- The maximal allowed precision for the attribute.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultAndInitialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultAndInitialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultAndInitialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed, boolean upperBorder)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).upperBorder
- This flag determines if the imprecise part of the
encapsulated date value is maximized (true) or minimized
(false) when the value is set.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultAndInitialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed, DateTimePrecision defaultAndInitialPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).defaultAndInitialPrecision
- The default and initial precision. The
default precision is used by the method clear()
to reset the
attribute value. The value must be valid for the attribute (inside the
min/max precision range).public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultAndInitialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed, DateTimePrecision defaultAndInitialPrecision, boolean upperBorder)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).defaultAndInitialPrecision
- The default and initial precision. The
default precision is used by the method clear()
to reset the
attribute value. The value must be valid for the attribute (inside the
min/max precision range).upperBorder
- This flag determines if the imprecise part of the
encapsulated date value is maximized (true) or minimized
(false) when the value is set.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultAndInitialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed, DateTimePrecision defaultAndInitialPrecision, DateTimePrecision minPrecision, DateTimePrecision maxPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).defaultAndInitialPrecision
- The default and initial precision. The
default precision is used by the method clear()
to reset the
attribute value. The value must be valid for the attribute (inside the
min/max precision range).minPrecision
- The minimal allowed precision for the attribute.maxPrecision
- The maximal allowed precision for the attribute.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultAndInitialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed, DateTimePrecision defaultAndInitialPrecision, DateTimePrecision minPrecision, DateTimePrecision maxPrecision, boolean upperBorder)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).defaultAndInitialPrecision
- The default and initial precision. The
default precision is used by the method clear()
to reset the
attribute value. The value must be valid for the attribute (inside the
min/max precision range).minPrecision
- The minimal allowed precision for the attribute.maxPrecision
- The maximal allowed precision for the attribute.upperBorder
- This flag determines if the imprecise part of the
encapsulated date value is maximized (true) or minimized
(false) when the value is set.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultAndInitialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, DateTimePrecision defaultAndInitialPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.defaultAndInitialPrecision
- The default and initial precision. The
default precision is used by the method clear()
to reset the
attribute value. The value must be valid for the attribute (inside the
min/max precision range).public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultAndInitialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, DateTimePrecision defaultAndInitialPrecision, DateTimePrecision minPrecision, DateTimePrecision maxPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.defaultAndInitialPrecision
- The default and initial precision. The
default precision is used by the method clear()
to reset the
attribute value. The value must be valid for the attribute (inside the
min/max precision range).minPrecision
- The minimal allowed precision for the attribute.maxPrecision
- The maximal allowed precision for the attribute.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultAndInitialValue, boolean readonly, DateTimePrecision defaultAndInitialPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultAndInitialValue
- The default and initial value. The default
value is used by the method clear()
to reset the attribute
value. The value must be valid for the attribute.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).defaultAndInitialPrecision
- The default and initial precision. The
default precision is used by the method clear()
to reset the
attribute value. The value must be valid for the attribute (inside the
min/max precision range).public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultValue, java.util.Date initialValue, boolean readonly)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultValue, java.util.Date initialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultValue, java.util.Date initialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, DateTimePrecision defaultPrecision, DateTimePrecision initialPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.defaultPrecision
- The default precision is used by the method
clear()
to reset the attribute value. The value must be valid
for the attribute (inside the min/max precision range).initialPrecision
- The initial precision value.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultValue, java.util.Date initialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, DateTimePrecision defaultPrecision, DateTimePrecision initialPrecision, DateTimePrecision minPrecision, DateTimePrecision maxPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.defaultPrecision
- The default precision is used by the method
clear()
to reset the attribute value. The value must be valid
for the attribute (inside the min/max precision range).initialPrecision
- The initial precision value.minPrecision
- The minimal allowed precision for the attribute.maxPrecision
- The maximal allowed precision for the attribute.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultValue, java.util.Date initialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultValue, java.util.Date initialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultValue, java.util.Date initialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed, boolean upperBorder)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).upperBorder
- This flag determines if the imprecise part of the
encapsulated date value is maximized (true) or minimized
(false) when the value is set.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultValue, java.util.Date initialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed, DateTimePrecision defaultPrecision, DateTimePrecision initialPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).defaultPrecision
- The default precision is used by the method
clear()
to reset the attribute value. The value must be valid
for the attribute (inside the min/max precision range).initialPrecision
- The initial precision value.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultValue, java.util.Date initialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed, DateTimePrecision defaultPrecision, DateTimePrecision initialPrecision, boolean upperBorder)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).defaultPrecision
- The default precision is used by the method
clear()
to reset the attribute value. The value must be valid
for the attribute (inside the min/max precision range).initialPrecision
- The initial precision value.upperBorder
- This flag determines if the imprecise part of the
encapsulated date value is maximized (true) or minimized
(false) when the value is set.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultValue, java.util.Date initialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed, DateTimePrecision defaultPrecision, DateTimePrecision initialPrecision, DateTimePrecision minPrecision, DateTimePrecision maxPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).defaultPrecision
- The default precision is used by the method
clear()
to reset the attribute value. The value must be valid
for the attribute (inside the min/max precision range).initialPrecision
- The initial precision value.minPrecision
- The minimal allowed precision for the attribute.maxPrecision
- The maximal allowed precision for the attribute.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultValue, java.util.Date initialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, DateTimePrecision defaultPrecision, DateTimePrecision initialPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.defaultPrecision
- The default precision is used by the method
clear()
to reset the attribute value. The value must be valid
for the attribute (inside the min/max precision range).initialPrecision
- The initial precision value.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultValue, java.util.Date initialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, DateTimePrecision defaultPrecision, DateTimePrecision initialPrecision, DateTimePrecision minPrecision, DateTimePrecision maxPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.defaultPrecision
- The default precision is used by the method
clear()
to reset the attribute value. The value must be valid
for the attribute (inside the min/max precision range).initialPrecision
- The initial precision value.minPrecision
- The minimal allowed precision for the attribute.maxPrecision
- The maximal allowed precision for the attribute.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultValue, java.util.Date initialValue, boolean readonly, DateTimePrecision defaultPrecision, DateTimePrecision initialPrecision)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).defaultPrecision
- The default precision is used by the method
clear()
to reset the attribute value. The value must be valid
for the attribute (inside the min/max precision range).initialPrecision
- The initial precision value.public PrecisionDateAttribute(java.lang.String keyword, java.lang.Object displayKeywordKey, MessageCatalogInterface messageCatalog, java.util.Date defaultValue, java.util.Date initialValue, boolean readonly, java.util.Date minValue, java.util.Date maxValue, java.util.Map<DateTimePrecision,java.text.DateFormat> formatMap, boolean nullAllowed, DateTimePrecision defaultPrecision, DateTimePrecision initialPrecision, DateTimePrecision minPrecision, DateTimePrecision maxPrecision, boolean upperBorder)
keyword
- The keyword of the attribute, used to identify the
attribute in its owning component.displayKeywordKey
- The key of the display keyword in the message
catalog. The display keyword is a locale specific text used to identify
the attribute in error messages and user interfaces. If null is
passed, the keyword is used as display keyword instead.messageCatalog
- The message catalog used to get the display
keyword. If null is passed, the keyword is used as display keyword
instead.defaultValue
- The default value is used by the method clear()
to reset the attribute value. The value must be valid for the
attribute.initialValue
- The initial attribute value.readonly
- The attribute mode. If true is passed, the
attribute mode AttributeMode.READ_ONLY
is set, otherwise AttributeMode.READ_WRITE
. The flag determines if the attribute is
modifiable by the user (false) or not (true).minValue
- The minimal allowed date value for the attribute.maxValue
- The maximal allowed date value for the attribute.formatMap
- The format map containing date formats (instance of
DateFormat
) as values and precision values (DateTimePrecision
) as keys. The formats are used to convert the date
value to a string and vice versa. This format map is used by the methods
getValueAsString()
and setValueWithString(String)
.nullAllowed
- This flag determines if null is allowed as
attribute value (true) or not (false).defaultPrecision
- The default precision is used by the method
clear()
to reset the attribute value. The value must be valid
for the attribute (inside the min/max precision range).initialPrecision
- The initial precision value.minPrecision
- The minimal allowed precision for the attribute.maxPrecision
- The maximal allowed precision for the attribute.upperBorder
- This flag determines if the imprecise part of the
encapsulated date value is maximized (true) or minimized
(false) when the value is set.public void clear() throws DateOutOfRange, PrecisionOutOfRange, DateIllegalValue, AttributeException
setValue(Date,DateTimePrecision)
is
called for this purpose. This method notifies the attribute observer if
the value has been changed. The default values passed to the constructor
must be valid for the attribute, otherwise an exception is thrown!clear
in interface AttributeInterface<PrecisionDateAttribute>
clear
in class DateTimeBaseAttribute<PrecisionDateAttribute>
DateOutOfRange
- Thrown, when the default date value is out of
range.PrecisionOutOfRange
- Thrown, when the default precision value is
out of range.DateIllegalValue
- Thrown, when the default value is illegal (i.e.
null when null is not allowed).AttributeException
- May be thrown by derived classes.public void copyValue(PrecisionDateAttribute sourceAttribute, ComponentInterface<?> component) throws AcafException
setValue(Date, DateTimePrecision)
with the values returned by
the methods DateTimeBaseAttribute.getValue()
and getPrecision()
of the source
attribute.copyValue
in interface AttributeInterface<PrecisionDateAttribute>
copyValue
in class DateTimeBaseAttribute<PrecisionDateAttribute>
sourceAttribute
- The source attribute, the value is copied from.
The attribute must implement the interface
PrecisionDateAttributeInterface
.component
- The parent component containing this attribute.
The component is not used here.AcafException
- Thrown, when copying the attribute value fails.ComponentInterface.createCopy(ComponentInterface)
,
Component.addAttribute(AttributeInterface)
public java.text.DateFormat getFormat()
getFormat
in interface DateAttributeInterface<PrecisionDateAttribute>
getFormat
in class DateTimeBaseAttribute<PrecisionDateAttribute>
public DateTimePrecision getPrecision()
getPrecision
in interface PrecisionDateAttributeInterface<PrecisionDateAttribute>
public java.util.Date getValue(DateTimePrecisionBox precisionBox)
getValue
in interface PrecisionDateAttributeInterface<PrecisionDateAttribute>
precisionBox
- The precision box may be passed, to get the precision
of the date attribute. null may be passed, when the caller is
not interested in the precision.public java.lang.String getValueAsString()
getValueAsString
in interface AttributeInterface<PrecisionDateAttribute>
getValueAsString
in class DateTimeBaseAttribute<PrecisionDateAttribute>
public boolean isValueEqual(PrecisionDateAttribute otherAttribute) throws AcafException
isValueEqual
in interface AttributeInterface<PrecisionDateAttribute>
isValueEqual
in class DateTimeBaseAttribute<PrecisionDateAttribute>
otherAttribute
- The attribute to be compared with this
attribute.AcafException
- May be thrown by derived classes.ComponentInterface.isComponentEqual(ComponentInterface)
public void setPrecision(DateTimePrecision precision) throws PrecisionOutOfRange, AttributeException
setValue(Date,DateTimePrecision)
is called with the current date for
this purpose. This method checks the precision and notifies the
observers.setPrecision
in interface PrecisionDateAttributeInterface<PrecisionDateAttribute>
precision
- The precision.PrecisionOutOfRange
- Thrown, when the passed precision value is
out of range.AttributeException
- Thrown when the precision is invalid (out of
range).public void setValue(java.util.Date newValue) throws DateOutOfRange, DateIllegalValue, AttributeException
The method setValue(Date,DateTimePrecision)
is called with the
passed date and the current precision for this purpose.
setValue
in interface DateAttributeInterface<PrecisionDateAttribute>
setValue
in class DateTimeBaseAttribute<PrecisionDateAttribute>
newValue
- The new date value.DateOutOfRange
- Thrown when the passed date value is out of range.DateIllegalValue
- Thrown when the passed value is illegal (i.e.
null, when null is not allowed).AttributeException
- May be thrown by derived classes.public void setValue(java.util.Date date, DateTimePrecision precision) throws DateOutOfRange, PrecisionOutOfRange, DateIllegalValue, AttributeException
PrecisionDateAttributeInterface
and sets the attributes date and
precision value to the passed values and notifies the observers when one
of them changed the attribute value.setValue
in interface PrecisionDateAttributeInterface<PrecisionDateAttribute>
date
- The new date value.precision
- The precision.DateOutOfRange
- Thrown, when the passed date value is out of range.PrecisionOutOfRange
- Thrown, when the passed precision value is
out of range.DateIllegalValue
- Thrown, when the passed value is illegal (i.e.
null, when null is not allowed.AttributeException
- May be thrown by derived classes.public void setValueWithString(java.lang.String newValue) throws DateOutOfRange, DateIllegalValue, AttributeIllegalFormat, AttributeException
setValue(Date,DateTimePrecision)
.
The method tries to match the passed text value with one of the formats in the format map passed to and initialized by the constructor. It starts with the format for the maximum precision down to the minimum precision. The first matched format determines the new precision and the date value.
setValueWithString
in interface AttributeInterface<PrecisionDateAttribute>
setValueWithString
in class DateTimeBaseAttribute<PrecisionDateAttribute>
newValue
- The text representation of the new date value.DateOutOfRange
- Thrown, when the passed date value is out of
range.DateIllegalValue
- Thrown, when the passed value is illegal (i.e.
the empty string, when null is not allowed).AttributeIllegalFormat
- Thrown, when no format matched the passed
text.AttributeException
- May be thrown by derived classes.