Package tools.refinery.store.model
Interface Model
- All Superinterfaces:
Versioned
- All Known Implementing Classes:
ModelImpl
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addListener
(ModelListener listener) void
<T extends ModelAdapter>
TgetAdapter
(Class<T> adapterType) getDiffCursor
(Version to) default AnyInterpretation
getInterpretation
(AnySymbol symbol) <T> Interpretation
<T> getInterpretation
(Symbol<T> symbol) getState()
getStore()
boolean
void
removeListener
(ModelListener listener) <T extends ModelAdapter>
Optional<T> tryGetAdapter
(Class<? extends T> adapterType)
-
Field Details
-
NO_STATE_ID
-
-
Method Details
-
getStore
ModelStore getStore() -
getState
Version getState() -
hasUncommittedChanges
boolean hasUncommittedChanges() -
getInterpretation
-
getInterpretation
-
getDiffCursor
-
tryGetAdapter
-
getAdapter
-
addListener
-
removeListener
-
checkCancelled
void checkCancelled()
-