public class EObjectValidationDataCacheAdapter extends org.eclipse.emf.common.notify.impl.AdapterImpl implements IEObjectValidationDataCache
EObject
in order to store them
validation status.Modifier and Type | Field and Description |
---|---|
protected boolean |
isSeverityOk |
protected int |
severity |
Constructor and Description |
---|
EObjectValidationDataCacheAdapter() |
Modifier and Type | Method and Description |
---|---|
int |
getSeverity()
Returns the severity value stored for the adapted object.
|
boolean |
isAdapterForType(java.lang.Object type) |
boolean |
isSeverityOk()
Checks if the severity value stored into the adapter is up-to-date.
|
void |
setSeverity(int value)
Set the severity attribute
|
void |
setSeverityDataOk(boolean value)
Set the attribute used to check is the severity status stored is up-to-date
|
public boolean isSeverityOk()
IEObjectValidationDataCache
isSeverityOk
in interface IEObjectValidationDataCache
public int getSeverity()
IEObjectValidationDataCache
getSeverity
in interface IEObjectValidationDataCache
ValidationStatusCode
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 setSeverityDataOk(boolean value)
value
- the current severity value statepublic void setSeverity(int value)
value
- the severity status codeValidationStatusCode