T - The type of catalog typeM - The manipulator typeI - The immutable manipulator typepublic abstract class AbstractSingleCatalogData<T extends CatalogType,M extends VariantData<T,M,I>,I extends ImmutableVariantData<T,I,M>> extends AbstractSingleData<T,M,I> implements VariantData<T,M,I>
VariantData implementation providing all implementation
requirements, except AbstractSingleData.asImmutable().defaultValue, usedKey, value| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSingleCatalogData(Key<Value<T>> usedKey,
T value) |
protected |
AbstractSingleCatalogData(Key<Value<T>> usedKey,
T value,
T defaultValue) |
protected |
AbstractSingleCatalogData(T value,
Key<Value<T>> usedKey)
Deprecated.
Use
AbstractSingleCatalogData(Key, CatalogType) instead. |
| Modifier and Type | Method and Description |
|---|---|
protected Value<?> |
getValueGetter()
Gets the
Value as a method since this manipulator only focuses
on a single value. |
DataContainer |
toContainer()
Serializes this object into a comprehensible
DataContainer. |
Value<T> |
type()
Gets the
Value of the the element type. |
asImmutable, equals, fillContainer, get, getValue, hashCode, registerGettersAndSetters, setValue, supportsgetKeys, getValue, getValues, registerFieldGetter, registerFieldSetter, registerKeyValue, set, transformclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitasImmutable, copy, fill, fill, from, set, set, set, set, transformgetContentVersion@Deprecated protected AbstractSingleCatalogData(T value, Key<Value<T>> usedKey)
AbstractSingleCatalogData(Key, CatalogType) instead.protected Value<?> getValueGetter()
AbstractSingleDataValue as a method since this manipulator only focuses
on a single value.getValueGetter in class AbstractSingleData<T extends CatalogType,M extends VariantData<T,M,I>,I extends ImmutableVariantData<T,I,M>>public Value<T> type()
VariantDataValue of the the element type.type in interface VariantData<T extends CatalogType,M extends VariantData<T,M,I>,I extends ImmutableVariantData<T,I,M>>public DataContainer toContainer()
DataSerializableDataContainer.toContainer in interface DataSerializabletoContainer in class AbstractData<M extends VariantData<T,M,I>,I extends ImmutableVariantData<T,I,M>>