| com.flexive.shared.value.FxDateRange
FxDateRange | public class FxDateRange extends FxValue implements Serializable(Code) | | A multilingual Date range, internally represented as java.util.Date; EMPTY is a Date with a timestamp of 0 (usually 01/01/1970)
author: Markus Plesser (markus.plesser@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at) |
Constructor Summary | |
public | FxDateRange(boolean multiLanguage, long defaultLanguage, Map<Long, DateRange> translations) | public | FxDateRange(long defaultLanguage, Map<Long, DateRange> translations) | public | FxDateRange(boolean multiLanguage, Map<Long, DateRange> translations) | public | FxDateRange(Map<Long, DateRange> translations) | public | FxDateRange(Map<Long, DateRange[]> translations, int pos) | public | FxDateRange(boolean multiLanguage, long defaultLanguage, DateRange value) | public | FxDateRange(long defaultLanguage, DateRange value) | public | FxDateRange(boolean multiLanguage, DateRange value) | public | FxDateRange(DateRange value) | public | FxDateRange(FxValue<DateRange, FxDateRange> clone) |
FxDateRange | public FxDateRange(boolean multiLanguage, long defaultLanguage, Map<Long, DateRange> translations)(Code) | | Constructor
Parameters: multiLanguage - multilanguage value? Parameters: defaultLanguage - the default language Parameters: translations - HashMap containing language->translation mapping |
FxDateRange | public FxDateRange(long defaultLanguage, Map<Long, DateRange> translations)(Code) | | Constructor
Parameters: defaultLanguage - the default language Parameters: translations - HashMap containing language->translation mapping |
FxDateRange | public FxDateRange(boolean multiLanguage, Map<Long, DateRange> translations)(Code) | | Constructor
Parameters: multiLanguage - multilanguage value? Parameters: translations - HashMap containing language->translation mapping |
FxDateRange | public FxDateRange(Map<Long, DateRange> translations)(Code) | | Constructor
Parameters: translations - HashMap containing language->translation mapping |
FxDateRange | public FxDateRange(Map<Long, DateRange[]> translations, int pos)(Code) | | Constructor - create value from an array of translations
Parameters: translations - HashMap containing language->translation mapping Parameters: pos - position (index) in the array to use |
FxDateRange | public FxDateRange(boolean multiLanguage, long defaultLanguage, DateRange value)(Code) | | Constructor
Parameters: multiLanguage - multilanguage value? Parameters: defaultLanguage - the default language Parameters: value - single initializing value |
FxDateRange | public FxDateRange(long defaultLanguage, DateRange value)(Code) | | Constructor
Parameters: defaultLanguage - the default language Parameters: value - single initializing value |
FxDateRange | public FxDateRange(boolean multiLanguage, DateRange value)(Code) | | Constructor
Parameters: multiLanguage - multilanguage value? Parameters: value - single initializing value |
FxDateRange | public FxDateRange(DateRange value)(Code) | | Constructor
Parameters: value - single initializing value |
copy | public FxDateRange copy()(Code) | | Creates a copy of the given object (useful if the actual type is unknown).
a copy of the given object (useful if the actual type is unknown). |
fromString | public DateRange fromString(String value)(Code) | | Evaluates the given string value to an object of type T.
Parameters: value - string value to be evaluated the value interpreted as T |
isImmutableValueType | public boolean isImmutableValueType()(Code) | | Return true if T is immutable (e.g. java.lang.String). This prevents cloning
of the translations in copy constructors.
true if T is immutable (e.g. java.lang.String) |
|
|