|
|||||||||||
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 String |
MARKER
This is the ID used for Eclipse markers that are based on diagnostics. |
static String |
URI_FRAGMENT_ATTRIBUTE
This is the string for encoding a URI fragment for a diagnostic. |
Method Summary | |
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. |
String |
getKey()
Returns the value of the 'Key' attribute |
int |
getLine()
Returns the value of the 'Line' attribute. |
String |
getLocationURI()
Returns the value of the 'Location URI' attribute |
String |
getMessage()
Returns the value of the 'Message' attribute |
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(String value)
Sets the value of the ' Annotation URI ' attribute |
void |
setColumn(int value)
Sets the value of the ' Column ' attribute |
void |
setKey(String value)
Sets the value of the ' Key ' attribute |
void |
setLine(int value)
Sets the value of the ' Line ' attribute |
void |
setLocationURI(String value)
Sets the value of the ' Location URI ' attribute |
void |
setMessage(String value)
Sets the value of the ' Message ' attribute |
void |
setNode(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 String MARKER
public static final String URI_FRAGMENT_ATTRIBUTE
URI fragment
for a diagnostic.
Resource.getURIFragment(org.eclipse.emf.ecore.EObject)
,
Constant Field ValuesMethod 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 String getMessage()
This describes the problem.
getMessage
in interface Resource.Diagnostic
setMessage(String)
,
XSDPackage.getXSDDiagnostic_Message()
public void setMessage(String value)
Message
' attribute.
value
- the new value of the 'Message' attribute.getMessage()
public String getLocationURI()
This indicates the URI of the resource containing the problem.
setLocationURI(String)
,
XSDPackage.getXSDDiagnostic_LocationURI()
public void setLocationURI(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 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 Resource.Diagnostic
setColumn(int)
,
XSDPackage.getXSDDiagnostic_Column()
public void setColumn(int value)
Column
' attribute.
value
- the new value of the 'Column' attribute.getColumn()
public Node getNode()
This indicates the DOM node at which the problem occurs.
setNode(Node)
,
XSDPackage.getXSDDiagnostic_Node()
public void setNode(Node value)
Node
' attribute.
value
- the new value of the 'Node' attribute.getNode()
public 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(String value)
Annotation URI
' attribute.
value
- the new value of the 'Annotation URI' attribute.getAnnotationURI()
public 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()
public void setKey(String value)
Key
' attribute.
value
- the new value of the 'Key' attribute.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.
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-2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |