|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XSDDiagnostic
A representation of the model object 'Diagnostic'.
XSDPackage.getXSDDiagnostic()| Field Summary | |
|---|---|
static java.lang.String |
MARKER
This is the ID used for Eclipse markers that are based on diagnostics. |
static java.lang.String |
URI_FRAGMENT_ATTRIBUTE
This is the string for encoding a URI fragment for a diagnostic. |
| Method Summary | |
|---|---|
java.lang.String |
getAnnotationURI()
Returns the value of the 'Annotation URI' attribute |
int |
getColumn()
Returns the value of the 'Column' attribute. |
EList<XSDConcreteComponent> |
getComponents()
Returns the value of the 'Components' reference list. |
java.lang.String |
getKey()
Returns the value of the 'Key' attribute |
int |
getLine()
Returns the value of the 'Line' attribute. |
java.lang.String |
getLocationURI()
Returns the value of the 'Location URI' attribute |
java.lang.String |
getMessage()
Returns the value of the 'Message' attribute |
org.w3c.dom.Node |
getNode()
Returns the value of the 'Node' attribute |
XSDConcreteComponent |
getPrimaryComponent()
Returns the value of the 'Primary Component' reference |
XSDDiagnosticSeverity |
getSeverity()
Returns the value of the 'Severity' attribute. |
EList<java.lang.String> |
getSubstitutions()
Returns the value of the 'Substitutions' attribute list. |
void |
setAnnotationURI(java.lang.String value)
Sets the value of the ' Annotation URI' attribute |
void |
setColumn(int value)
Sets the value of the ' Column' attribute |
void |
setKey(java.lang.String value)
Sets the value of the ' Key' attribute |
void |
setLine(int value)
Sets the value of the ' Line' attribute |
void |
setLocationURI(java.lang.String value)
Sets the value of the ' Location URI' attribute |
void |
setMessage(java.lang.String value)
Sets the value of the ' Message' attribute |
void |
setNode(org.w3c.dom.Node value)
Sets the value of the ' Node' attribute |
void |
setPrimaryComponent(XSDConcreteComponent value)
Sets the value of the ' Primary Component' reference |
void |
setSeverity(XSDDiagnosticSeverity value)
Sets the value of the ' Severity' attribute |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
|---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify, eSetDeliver |
| Methods inherited from interface org.eclipse.emf.ecore.resource.Resource.Diagnostic |
|---|
getLocation |
| Field Detail |
|---|
static final java.lang.String MARKER
static final java.lang.String URI_FRAGMENT_ATTRIBUTE
URI fragment for a diagnostic.
Resource.getURIFragment(org.eclipse.emf.ecore.EObject),
Constant Field Values| Method Detail |
|---|
XSDDiagnosticSeverity getSeverity()
XSDDiagnosticSeverity.
This indicates the how bad the problem is.
XSDDiagnosticSeverity,
setSeverity(XSDDiagnosticSeverity),
XSDPackage.getXSDDiagnostic_Severity()void setSeverity(XSDDiagnosticSeverity value)
Severity' attribute.
value - the new value of the 'Severity' attribute.XSDDiagnosticSeverity,
getSeverity()java.lang.String getMessage()
This describes the problem.
getMessage in interface Resource.DiagnosticsetMessage(String),
XSDPackage.getXSDDiagnostic_Message()void setMessage(java.lang.String value)
Message' attribute.
value - the new value of the 'Message' attribute.getMessage()java.lang.String getLocationURI()
This indicates the URI of the resource containing the problem.
setLocationURI(String),
XSDPackage.getXSDDiagnostic_LocationURI()void setLocationURI(java.lang.String value)
Location URI' attribute.
value - the new value of the 'Location URI' attribute.getLocationURI()int getLine()
"1".
This indicates the line number within the resource containing the problem.
getLine in interface Resource.DiagnosticsetLine(int),
XSDPackage.getXSDDiagnostic_Line()void setLine(int value)
Line' attribute.
value - the new value of the 'Line' attribute.getLine()int getColumn()
"1".
This indicates the column number within the line of the resource containing the problem.
getColumn in interface Resource.DiagnosticsetColumn(int),
XSDPackage.getXSDDiagnostic_Column()void setColumn(int value)
Column' attribute.
value - the new value of the 'Column' attribute.getColumn()org.w3c.dom.Node getNode()
This indicates the DOM node at which the problem occurs.
setNode(Node),
XSDPackage.getXSDDiagnostic_Node()void setNode(org.w3c.dom.Node value)
Node' attribute.
value - the new value of the 'Node' attribute.getNode()java.lang.String getAnnotationURI()
This provides a URI that can be used to locate more detailed documentation of the general type of problem encountered.
setAnnotationURI(String),
XSDPackage.getXSDDiagnostic_AnnotationURI()void setAnnotationURI(java.lang.String value)
Annotation URI' attribute.
value - the new value of the 'Annotation URI' attribute.getAnnotationURI()java.lang.String getKey()
If the meaning of the 'Key' attribute isn't clear, there really should be more of a description here...
setKey(String),
XSDPackage.getXSDDiagnostic_Key()void setKey(java.lang.String value)
Key' attribute.
value - the new value of the 'Key' attribute.getKey()EList<java.lang.String> getSubstitutions()
String.
If the meaning of the 'Substitutions' attribute list isn't clear, there really should be more of a description here...
XSDPackage.getXSDDiagnostic_Substitutions()EList<XSDConcreteComponent> getComponents()
XSDConcreteComponent.
This represents the components associated with the problem;
the first component is al the primary component.
XSDPackage.getXSDDiagnostic_Components()XSDConcreteComponent getPrimaryComponent()
This represents the component most directly associated with the problem.
setPrimaryComponent(XSDConcreteComponent),
XSDPackage.getXSDDiagnostic_PrimaryComponent()void setPrimaryComponent(XSDConcreteComponent value)
Primary Component' reference.
value - the new value of the 'Primary Component' reference.getPrimaryComponent()
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||