| com.flexive.shared.value.FxBinary
FxBinary | public class FxBinary extends FxValue implements Serializable(Code) | | A multilingual Binary
author: Markus Plesser (markus.plesser@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at) |
Constructor Summary | |
public | FxBinary(boolean multiLanguage, long defaultLanguage, Map<Long, BinaryDescriptor> translations) | public | FxBinary(long defaultLanguage, Map<Long, BinaryDescriptor> translations) | public | FxBinary(boolean multiLanguage, Map<Long, BinaryDescriptor> translations) | public | FxBinary(Map<Long, BinaryDescriptor> translations) | public | FxBinary(Map<Long, BinaryDescriptor[]> translations, int pos) | public | FxBinary(boolean multiLanguage, long defaultLanguage, BinaryDescriptor value) | public | FxBinary(long defaultLanguage, BinaryDescriptor value) | public | FxBinary(boolean multiLanguage, BinaryDescriptor value) | public | FxBinary(BinaryDescriptor value) | public | FxBinary(FxValue<BinaryDescriptor, FxBinary> clone) |
FxBinary | public FxBinary(boolean multiLanguage, long defaultLanguage, Map<Long, BinaryDescriptor> translations)(Code) | | Constructor
Parameters: multiLanguage - multilanguage value? Parameters: defaultLanguage - the default language Parameters: translations - HashMap containing language->translation mapping |
FxBinary | public FxBinary(long defaultLanguage, Map<Long, BinaryDescriptor> translations)(Code) | | Constructor
Parameters: defaultLanguage - the default language Parameters: translations - HashMap containing language->translation mapping |
FxBinary | public FxBinary(boolean multiLanguage, Map<Long, BinaryDescriptor> translations)(Code) | | Constructor
Parameters: multiLanguage - multilanguage value? Parameters: translations - HashMap containing language->translation mapping |
FxBinary | public FxBinary(Map<Long, BinaryDescriptor> translations)(Code) | | Constructor
Parameters: translations - HashMap containing language->translation mapping |
FxBinary | public FxBinary(Map<Long, BinaryDescriptor[]> 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 |
FxBinary | public FxBinary(boolean multiLanguage, long defaultLanguage, BinaryDescriptor value)(Code) | | Constructor
Parameters: multiLanguage - multilanguage value? Parameters: defaultLanguage - the default language Parameters: value - single initializing value |
FxBinary | public FxBinary(long defaultLanguage, BinaryDescriptor value)(Code) | | Constructor
Parameters: defaultLanguage - the default language Parameters: value - single initializing value |
FxBinary | public FxBinary(boolean multiLanguage, BinaryDescriptor value)(Code) | | Constructor
Parameters: multiLanguage - multilanguage value? Parameters: value - single initializing value |
FxBinary | public FxBinary(BinaryDescriptor value)(Code) | | Constructor
Parameters: value - single initializing value |
_replaceHandle | public void _replaceHandle(String handle, BinaryDescriptor replacement)(Code) | | Replace all occurances of handle with the replacement BinaryDescriptor
Parameters: handle - the handle to replace Parameters: replacement - the replacement |
copy | public FxBinary 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 BinaryDescriptor 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) |
|
|