|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
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 |
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 |
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 |
public static final java.lang.String MARKER
public 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 |
public XSDDiagnosticSeverity getSeverity()
XSDDiagnosticSeverity.
This indicates the how bad the problem is.
XSDDiagnosticSeverity,
XSDDiagnostic.setSeverity(XSDDiagnosticSeverity),
XSDPackage.getXSDDiagnostic_Severity()public void setSeverity(XSDDiagnosticSeverity value)
Severity' attribute.
value - the new value of the 'Severity' attribute.XSDDiagnosticSeverity,
XSDDiagnostic.getSeverity()public java.lang.String getMessage()
This describes the problem.
getMessage in interface Resource.DiagnosticXSDDiagnostic.setMessage(String),
XSDPackage.getXSDDiagnostic_Message()public void setMessage(java.lang.String value)
Message' attribute.
value - the new value of the 'Message' attribute.XSDDiagnostic.getMessage()public java.lang.String getLocationURI()
This indicates the URI of the resource containing the problem.
XSDDiagnostic.setLocationURI(String),
XSDPackage.getXSDDiagnostic_LocationURI()public void setLocationURI(java.lang.String value)
Location URI' attribute.
value - the new value of the 'Location URI' attribute.XSDDiagnostic.getLocationURI()public int getLine()
"1".
This indicates the line number within the resource containing the problem.
getLine in interface Resource.DiagnosticXSDDiagnostic.setLine(int),
XSDPackage.getXSDDiagnostic_Line()public void setLine(int value)
Line' attribute.
value - the new value of the 'Line' attribute.XSDDiagnostic.getLine()public int getColumn()
"1".
This indicates the column number within the line of the resource containing the problem.
getColumn in interface Resource.DiagnosticXSDDiagnostic.setColumn(int),
XSDPackage.getXSDDiagnostic_Column()public void setColumn(int value)
Column' attribute.
value - the new value of the 'Column' attribute.XSDDiagnostic.getColumn()public org.w3c.dom.Node getNode()
This indicates the DOM node at which the problem occurs.
XSDDiagnostic.setNode(Node),
XSDPackage.getXSDDiagnostic_Node()public void setNode(org.w3c.dom.Node value)
Node' attribute.
value - the new value of the 'Node' attribute.XSDDiagnostic.getNode()public java.lang.String getAnnotationURI()
This provides a URI that can be used to locate more detailed documentation of the general type of problem encountered.
XSDDiagnostic.setAnnotationURI(String),
XSDPackage.getXSDDiagnostic_AnnotationURI()public void setAnnotationURI(java.lang.String value)
Annotation URI' attribute.
value - the new value of the 'Annotation URI' attribute.XSDDiagnostic.getAnnotationURI()public java.lang.String getKey()
If the meaning of the 'Key' attribute isn't clear, there really should be more of a description here...
XSDDiagnostic.setKey(String),
XSDPackage.getXSDDiagnostic_Key()public void setKey(java.lang.String value)
Key' attribute.
value - the new value of the 'Key' attribute.XSDDiagnostic.getKey()public EList 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()public EList getComponents()
XSDConcreteComponent.
This represents the components associated with the problem;
the first component is al the primary component.
XSDPackage.getXSDDiagnostic_Components()public XSDConcreteComponent getPrimaryComponent()
This represents the component most directly associated with the problem.
XSDDiagnostic.setPrimaryComponent(XSDConcreteComponent),
XSDPackage.getXSDDiagnostic_PrimaryComponent()public void setPrimaryComponent(XSDConcreteComponent value)
Primary Component' reference.
value - the new value of the 'Primary Component' reference.XSDDiagnostic.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 | |||||||||||