| com.flexive.shared.value.FxBoolean
FxBoolean | public class FxBoolean extends FxValue implements Serializable(Code) | | A multilingual Boolean, internally represented as Boolean; EMPTY is false
author: Markus Plesser (markus.plesser@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at) |
Constructor Summary | |
public | FxBoolean(boolean multiLanguage, long defaultLanguage, Map<Long, Boolean> translations) | public | FxBoolean(long defaultLanguage, Map<Long, Boolean> translations) | public | FxBoolean(boolean multiLanguage, Map<Long, Boolean> translations) | public | FxBoolean(Map<Long, Boolean> translations) | public | FxBoolean(Map<Long, Boolean[]> translations, int pos) | public | FxBoolean(boolean multiLanguage, long defaultLanguage, Boolean value) | public | FxBoolean(long defaultLanguage, Boolean value) | public | FxBoolean(boolean multiLanguage, Boolean value) | public | FxBoolean(Boolean value) | public | FxBoolean(FxValue<Boolean, FxBoolean> clone) |
FxBoolean | public FxBoolean(boolean multiLanguage, long defaultLanguage, Map<Long, Boolean> translations)(Code) | | Constructor
Parameters: multiLanguage - multilanguage value? Parameters: defaultLanguage - the default language Parameters: translations - HashMap containing language->translation mapping |
FxBoolean | public FxBoolean(long defaultLanguage, Map<Long, Boolean> translations)(Code) | | Constructor
Parameters: defaultLanguage - the default language Parameters: translations - HashMap containing language->translation mapping |
FxBoolean | public FxBoolean(boolean multiLanguage, Map<Long, Boolean> translations)(Code) | | Constructor
Parameters: multiLanguage - multilanguage value? Parameters: translations - HashMap containing language->translation mapping |
FxBoolean | public FxBoolean(Map<Long, Boolean> translations)(Code) | | Constructor
Parameters: translations - HashMap containing language->translation mapping |
FxBoolean | public FxBoolean(Map<Long, Boolean[]> 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 |
FxBoolean | public FxBoolean(boolean multiLanguage, long defaultLanguage, Boolean value)(Code) | | Constructor
Parameters: multiLanguage - multilanguage value? Parameters: defaultLanguage - the default language Parameters: value - single initializing value |
FxBoolean | public FxBoolean(long defaultLanguage, Boolean value)(Code) | | Constructor
Parameters: defaultLanguage - the default language Parameters: value - single initializing value |
FxBoolean | public FxBoolean(boolean multiLanguage, Boolean value)(Code) | | Constructor
Parameters: multiLanguage - multilanguage value? Parameters: value - single initializing value |
FxBoolean | public FxBoolean(Boolean value)(Code) | | Constructor
Parameters: value - single initializing value |
copy | public FxBoolean 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 Boolean 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) |
|
|