public interface DataContainer extends DataView
DataView
.DataView.SafetyMode
Modifier and Type | Method and Description |
---|---|
static DataContainer |
createNew()
Creates a new
DataContainer with a default
DataView.SafetyMode of
DataView.SafetyMode.ALL_DATA_CLONED . |
static DataContainer |
createNew(DataView.SafetyMode safety)
Creates a new
DataContainer with the provided
DataView.SafetyMode . |
DataContainer |
remove(DataQuery path)
Removes the data associated to the given path relative to this
DataView 's path. |
DataContainer |
set(DataQuery path,
Object value)
Sets the given Object value according to the given path relative to
this
DataView 's path. |
<E> DataContainer |
set(Key<? extends BaseValue<E>> key,
E value)
|
contains, contains, contains, contains, copy, copy, createView, createView, get, getBoolean, getBooleanList, getByte, getByteList, getCatalogType, getCatalogTypeList, getCharacterList, getContainer, getCurrentPath, getDouble, getDoubleList, getFloat, getFloatList, getInt, getIntegerList, getKeys, getList, getLong, getLongList, getMap, getMapList, getName, getObject, getObjectList, getParent, getSafetyMode, getSerializable, getSerializableList, getShort, getShortList, getString, getStringList, getValues, getView, getViewList, isEmpty
static DataContainer createNew()
DataContainer
with a default
DataView.SafetyMode
of
DataView.SafetyMode.ALL_DATA_CLONED
.static DataContainer createNew(DataView.SafetyMode safety)
DataContainer
with the provided
DataView.SafetyMode
.safety
- The safety mode to useDataView.SafetyMode
DataContainer set(DataQuery path, Object value)
DataView
DataView
's path.<E> DataContainer set(Key<? extends BaseValue<E>> key, E value)
DataView
DataContainer remove(DataQuery path)
DataView