|
|||||||||
PREV CLASS SOURCE NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | 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. |
org.eclipse.emf.common.util.EList |
getComponents()
Returns the value of the 'Components' reference list. |
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. |
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 |
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, 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)
Method Detail |
public XSDDiagnosticSeverity getSeverity()
XSDDiagnosticSeverity
.
This indicates the how bad the problem is.
XSDDiagnosticSeverity
,
setSeverity(XSDDiagnosticSeverity)
,
XSDPackage.getXSDDiagnostic_Severity()
public void setSeverity(XSDDiagnosticSeverity value)
Severity
' attribute.
value
- the new value of the 'Severity' attribute.XSDDiagnosticSeverity
,
getSeverity()
public java.lang.String getMessage()
This describes the problem.
getMessage
in interface org.eclipse.emf.ecore.resource.Resource.Diagnostic
setMessage(String)
,
XSDPackage.getXSDDiagnostic_Message()
public void setMessage(java.lang.String value)
Message
' attribute.
value
- the new value of the 'Message' attribute.getMessage()
public java.lang.String getLocationURI()
This indicates the URI of the resource containing the problem.
setLocationURI(String)
,
XSDPackage.getXSDDiagnostic_LocationURI()
public void setLocationURI(java.lang.String value)
Location URI
' attribute.
value
- the new value of the 'Location URI' attribute.getLocationURI()
public int getLine()
"1"
.
This indicates the line number within the resource containing the problem.
getLine
in interface org.eclipse.emf.ecore.resource.Resource.Diagnostic
setLine(int)
,
XSDPackage.getXSDDiagnostic_Line()
public void setLine(int value)
Line
' attribute.
value
- the new value of the 'Line' attribute.getLine()
public int getColumn()
"1"
.
This indicates the column number within the line of the resource containing the problem.
getColumn
in interface org.eclipse.emf.ecore.resource.Resource.Diagnostic
setColumn(int)
,
XSDPackage.getXSDDiagnostic_Column()
public void setColumn(int value)
Column
' attribute.
value
- the new value of the 'Column' attribute.getColumn()
public org.w3c.dom.Node getNode()
This indicates the DOM node at which the problem occurs.
setNode(Node)
,
XSDPackage.getXSDDiagnostic_Node()
public void setNode(org.w3c.dom.Node value)
Node
' attribute.
value
- the new value of the 'Node' attribute.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.
setAnnotationURI(String)
,
XSDPackage.getXSDDiagnostic_AnnotationURI()
public void setAnnotationURI(java.lang.String value)
Annotation URI
' attribute.
value
- the new value of the 'Annotation URI' attribute.getAnnotationURI()
public org.eclipse.emf.common.util.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.
setPrimaryComponent(XSDConcreteComponent)
,
XSDPackage.getXSDDiagnostic_PrimaryComponent()
public void setPrimaryComponent(XSDConcreteComponent value)
Primary Component
' reference.
value
- the new value of the 'Primary Component' reference.getPrimaryComponent()
|
Copyright 2001-2003 IBM Corporation and others. All Rights Reserved. |
||||||||
PREV CLASS SOURCE NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |