public class EAModelError
extends org.eclipse.core.runtime.Status
Resource
's errors
and
warnings
lists.Constructor and Description |
---|
EAModelError(EObject contextElement,
java.lang.String guid,
java.lang.String eaObjectType,
java.lang.Integer objectTypeID,
java.lang.String uri,
EStructuralFeature failedFeature,
int severity,
boolean loadError,
java.lang.String message,
java.lang.Throwable throwable,
java.lang.String... quickFixes)
Must not be used by clients.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
getColumn() |
EObject |
getContextElement() |
java.lang.String |
getEaObjectType() |
EStructuralFeature |
getFailedFeature() |
java.lang.String |
getGuid() |
int |
getLine() |
java.lang.String |
getLocation() |
java.lang.Integer |
getObjectTypeID() |
java.lang.String |
getQuickFixes() |
int |
hashCode() |
boolean |
isError() |
boolean |
isLoadIssue() |
boolean |
isSaveIssue() |
boolean |
isWarning() |
protected void |
setMessage(java.lang.String message) |
protected void |
setSeverity(int severity) |
public static final int ERROR
public static final int WARNING
public EAModelError(EObject contextElement, java.lang.String guid, java.lang.String eaObjectType, java.lang.Integer objectTypeID, java.lang.String uri, EStructuralFeature failedFeature, int severity, boolean loadError, java.lang.String message, java.lang.Throwable throwable, java.lang.String... quickFixes)
protected void setMessage(java.lang.String message)
setMessage
in class org.eclipse.core.runtime.Status
protected void setSeverity(int severity)
setSeverity
in class org.eclipse.core.runtime.Status
public EObject getContextElement()
public java.lang.String getGuid()
null
otherwise.public java.lang.String getEaObjectType()
null
otherwise.public java.lang.Integer getObjectTypeID()
eaObjectType
is set.public boolean isError()
public boolean isWarning()
public boolean isLoadIssue()
public boolean isSaveIssue()
public EStructuralFeature getFailedFeature()
null
if there is no feature associated with this error.public java.lang.String getQuickFixes()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String getLocation()
public int getLine()
public int getColumn()
Copyright (c) 2015 itemis AG, and others. All rights reserved.