java.lang.Object
swim.store.db.ValueDataModel
- All Implemented Interfaces:
ValueData<Value>
,TreeDelegate
,UTreeDelegate
,DataBinding
,ValueDataBinding
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ValueDataContext
protected final Value
protected StoreBinding
protected final UTreeValue
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
long
dataSize()
get()
boolean
isResident
(boolean isResident) boolean
isTransient
(boolean isTransient) name()
void
setDataContext
(ValueDataContext dataContext) void
setStoreBinding
(StoreBinding storeBinding) void
treeDidChange
(Tree newTree, Tree oldTree) void
treeDidClear
(Tree newTree, Tree oldTree) void
treeDidCommit
(Tree newTree, Tree oldTree) void
treeDidLoadPage
(Page page) <T> T
unwrapData
(Class<T> dataClass) void
utreeDidUpdate
(UTree newTree, UTree oldTree, Value newValue, Value oldValue) <V2> ValueData<V2>
valueClass
(Class<V2> valueClass) <V2> ValueData<V2>
-
Field Details
-
name
-
tree
-
dataContext
-
storeBinding
-
-
Constructor Details
-
ValueDataModel
-
-
Method Details
-
dataContext
- Specified by:
dataContext
in interfaceDataBinding
- Specified by:
dataContext
in interfaceValueDataBinding
-
setDataContext
- Specified by:
setDataContext
in interfaceValueDataBinding
-
storeBinding
- Specified by:
storeBinding
in interfaceDataBinding
-
setStoreBinding
- Specified by:
setStoreBinding
in interfaceDataBinding
-
unwrapData
- Specified by:
unwrapData
in interfaceDataBinding
-
name
- Specified by:
name
in interfaceDataBinding
- Specified by:
name
in interfaceValueData<Value>
-
dataSize
public long dataSize()- Specified by:
dataSize
in interfaceDataBinding
-
valueForm
-
valueForm
-
valueClass
- Specified by:
valueClass
in interfaceValueData<Value>
-
isResident
public boolean isResident()- Specified by:
isResident
in interfaceDataBinding
- Specified by:
isResident
in interfaceValueData<Value>
-
isResident
- Specified by:
isResident
in interfaceDataBinding
- Specified by:
isResident
in interfaceValueData<Value>
- Specified by:
isResident
in interfaceValueDataBinding
-
isTransient
public boolean isTransient()- Specified by:
isTransient
in interfaceDataBinding
- Specified by:
isTransient
in interfaceValueData<Value>
-
isTransient
- Specified by:
isTransient
in interfaceDataBinding
- Specified by:
isTransient
in interfaceValueData<Value>
- Specified by:
isTransient
in interfaceValueDataBinding
-
get
-
set
-
close
public void close()- Specified by:
close
in interfaceDataBinding
- Specified by:
close
in interfaceValueData<Value>
-
treeDidLoadPage
- Specified by:
treeDidLoadPage
in interfaceTreeDelegate
-
treeDidChange
- Specified by:
treeDidChange
in interfaceTreeDelegate
-
treeDidCommit
- Specified by:
treeDidCommit
in interfaceTreeDelegate
-
treeDidClear
- Specified by:
treeDidClear
in interfaceTreeDelegate
-
utreeDidUpdate
- Specified by:
utreeDidUpdate
in interfaceUTreeDelegate
-