public class ErrorModelStateAdapter extends org.eclipse.emf.common.notify.impl.AdapterImpl implements ErrorModelState
Constructor and Description |
---|
ErrorModelStateAdapter() |
Modifier and Type | Method and Description |
---|---|
ErrorBehaviorState |
getErrorState()
current error behavior state of a component
Should only be set for components
FOr states with error types, the type token represents the token
|
TypeToken |
getToken()
the type token associated with a given model object
For model objects that also have an error state the typetoken applies to the state
|
boolean |
isAdapterForType(java.lang.Object type) |
void |
setErrorState(ErrorBehaviorState errorBehaviorState)
set the current error behavior state of a component
|
void |
setToken(TypeToken token)
set the type token for model object
|
void |
unsetAll()
set all elements of error model state to null
|
void |
unsetToken()
set the type token for model object to null
|
public TypeToken getToken()
ErrorModelState
getToken
in interface ErrorModelState
public void setToken(TypeToken token)
ErrorModelState
setToken
in interface ErrorModelState
public void unsetToken()
ErrorModelState
unsetToken
in interface ErrorModelState
public ErrorBehaviorState getErrorState()
ErrorModelState
getErrorState
in interface ErrorModelState
public void setErrorState(ErrorBehaviorState errorBehaviorState)
ErrorModelState
setErrorState
in interface ErrorModelState
public boolean isAdapterForType(java.lang.Object type)
isAdapterForType
in interface org.eclipse.emf.common.notify.Adapter
isAdapterForType
in class org.eclipse.emf.common.notify.impl.AdapterImpl
public void unsetAll()
ErrorModelState
unsetAll
in interface ErrorModelState