E
- The type of catalog typeI
- The type of immutable manipulatorM
- The type of mutable manipulatorpublic abstract class AbstractImmutableSingleCatalogData<E extends CatalogType,I extends ImmutableVariantData<E,I,M>,M extends VariantData<E,M,I>> extends AbstractImmutableSingleData<E,I,M> implements ImmutableVariantData<E,I,M>
ImmutableVariantData
extending
AbstractImmutableSingleData
such that the values are immutable.defaultValue, usedKey, value
Modifier | Constructor and Description |
---|---|
protected |
AbstractImmutableSingleCatalogData(E value,
E defaultValue,
Key<? extends BaseValue<E>> usedKey)
Deprecated.
|
protected |
AbstractImmutableSingleCatalogData(Key<Value<E>> usedKey,
E value) |
protected |
AbstractImmutableSingleCatalogData(Key<Value<E>> usedKey,
E value,
E defaultValue) |
Modifier and Type | Method and Description |
---|---|
protected ImmutableValue<E> |
getValueGetter() |
DataContainer |
toContainer()
Serializes this object into a comprehensible
DataContainer . |
ImmutableValue<E> |
type()
Gets the
ImmutableValue of the the element type. |
asMutable, equals, get, getKeys, getValue, hashCode, registerGetters, supports
copy, fillContainer, getValue, getValues, registerFieldGetter, registerKeyValue
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
asMutable, copy, with, with
getContentVersion
@Deprecated protected AbstractImmutableSingleCatalogData(E value, E defaultValue, Key<? extends BaseValue<E>> usedKey)
AbstractImmutableSingleCatalogData(Key, CatalogType, CatalogType)
instead.protected AbstractImmutableSingleCatalogData(Key<Value<E>> usedKey, E value)
protected ImmutableValue<E> getValueGetter()
getValueGetter
in class AbstractImmutableSingleData<E extends CatalogType,I extends ImmutableVariantData<E,I,M>,M extends VariantData<E,M,I>>
public DataContainer toContainer()
DataSerializable
DataContainer
.toContainer
in interface DataSerializable
toContainer
in class AbstractImmutableData<I extends ImmutableVariantData<E,I,M>,M extends VariantData<E,M,I>>
public ImmutableValue<E> type()
ImmutableVariantData
ImmutableValue
of the the element type.type
in interface ImmutableVariantData<E extends CatalogType,I extends ImmutableVariantData<E,I,M>,M extends VariantData<E,M,I>>