|
|||||||||
| PREV CLASS SOURCE NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
A representation of the model object 'Diagnostic'.
The following features are supported:
SeverityMessageLocation URILineColumnNodeAnnotation URIURI Reference PathComponentsPrimary Component
XSDPackage.getXSDDiagnostic()| Field Summary | |
static java.lang.String |
copyright
|
static java.lang.String |
MARKER
This is the ID used for Eclipse markers that are based on diagnostics. |
static java.lang.String |
URI_REFERENCE_PATH_ATTRIBUTE
This is the string for encoding a reference path for a diagnostic. |
| Fields inherited from interface com.ibm.etools.emf.notify.Notifier |
ADD, ADD_MANY, CREATE, MOVE, NO_INDEX, REMOVE, REMOVE_MANY, REMOVING_ADAPTER, SET, TOUCH, UNSET |
| Method Summary | |
com.ibm.etools.emf.ecore.EClass |
eClassXSDDiagnostic()
Returns the meta class of XSDDiagnostic. |
XSDPackage |
ePackageXSD()
Returns the meta package of XSDDiagnostic. |
java.lang.String |
getAnnotationURI()
Returns the value of the 'Annotation URI' attribute. |
java.lang.Integer |
getColumn()
Returns the value of the 'Column' attribute. |
com.ibm.etools.emf.ref.EList |
getComponents()
Returns the value of the 'Components' reference list. |
java.lang.Integer |
getLine()
Returns the value of the 'Line' attribute. |
com.ibm.etools.emf.ecore.EEnumLiteral |
getLiteralSeverity()
Returns the value of the 'Severity' attribute. |
java.lang.String |
getLocationURI()
Returns the value of the 'Location URI' attribute. |
java.lang.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. |
java.lang.Integer |
getSeverity()
Returns the Integer value of the ' Severity' attribute. |
java.lang.String |
getStringSeverity()
Returns the String value of the ' Severity' attribute. |
java.lang.String |
getURIReferencePath()
Returns the value of the 'URI Reference Path' attribute. |
int |
getValueColumn()
Returns the primitive value of the ' Column' attribute. |
int |
getValueLine()
Returns the primitive value of the ' Line' attribute. |
int |
getValueSeverity()
Returns the primitive value of the ' Severity' attribute. |
boolean |
isSetAnnotationURI()
Returns whether the value of the ' Annotation URI' attribute is set. |
boolean |
isSetColumn()
Returns whether the value of the ' Column' attribute is set. |
boolean |
isSetLine()
Returns whether the value of the ' Line' attribute is set. |
boolean |
isSetLocationURI()
Returns whether the value of the ' Location URI' attribute is set. |
boolean |
isSetMessage()
Returns whether the value of the ' Message' attribute is set. |
boolean |
isSetNode()
Returns whether the value of the ' Node' attribute is set. |
boolean |
isSetPrimaryComponent()
Returns whether the value of the ' Primary Component' reference is set. |
boolean |
isSetSeverity()
Returns whether the value of the ' Severity' attribute is set. |
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 |
setColumn(java.lang.Integer value)
Sets the value of the ' Column' attribute. |
void |
setLine(int value)
Sets the value of the ' Line' attribute. |
void |
setLine(java.lang.Integer 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(Node value)
Sets the value of the ' Node' attribute. |
void |
setPrimaryComponent(XSDConcreteComponent value)
Sets the value of the ' Primary Component' reference. |
void |
setSeverity(com.ibm.etools.emf.ecore.EEnumLiteral value)
Sets the value of the ' Severity' attribute. |
void |
setSeverity(int value)
Sets the value of the ' Severity' attribute. |
void |
setSeverity(java.lang.Integer value)
Sets the value of the ' Severity' attribute. |
void |
setSeverity(java.lang.String value)
Sets the value of the ' Severity' attribute. |
void |
unsetAnnotationURI()
Unsets the value of the ' Annotation URI' attribute. |
void |
unsetColumn()
Unsets the value of the ' Column' attribute. |
void |
unsetLine()
Unsets the value of the ' Line' attribute. |
void |
unsetLocationURI()
Unsets the value of the ' Location URI' attribute. |
void |
unsetMessage()
Unsets the value of the ' Message' attribute. |
void |
unsetNode()
Unsets the value of the ' Node' attribute. |
void |
unsetPrimaryComponent()
Unsets the value of the ' Primary Component' reference. |
void |
unsetSeverity()
Unsets the value of the ' Severity' attribute. |
| Methods inherited from interface com.ibm.etools.emf.ref.RefObject |
initInstance, refAddValue, refAddValueAt, refAddValueBefore, refCurrentValues, refDelegateOwner, refGetDefaultValues, refIsSet, refModifyValue, refModifyValueAt, refRemoveValue, refRemoveValueAt, refSetDelegateOwner, refSetValue, refUnsetValue, refValue |
| Methods inherited from interface com.ibm.etools.emf.ref.RefBaseObject |
metaObject, refAttributes, refContainer, refContainerExtent, refContainerSF, refContainments, refContainments, refContains, refContains, refContainsExtent, refContainsNested, refDelete, refExtent, refID, refImmediatePackage, refIsContainer, refItself, refMetaObject, refMofId, refName, refOutermostPackage, refPackage, refReferences, refRemoveContent, refResource, refSetExtent, refSetID, refSetID, refSetIDContains, refSetMetaObject, refSetUUID, refSetUUID, refSetUUID |
| Methods inherited from interface com.ibm.etools.emf.notify.Notifier |
addAdapter, getAdapter, getAdapters, getExistingAdapter, isDelivery, isDeliveryAll, notify, notify, removeAdapter, removeAllAdapters, setDelivery, setDeliveryAll |
| Methods inherited from interface com.ibm.etools.emf.resource.ResourceSetReference |
getResourceSet |
| Field Detail |
public static final java.lang.String copyright
public static final java.lang.String MARKER
public static final java.lang.String URI_REFERENCE_PATH_ATTRIBUTE
reference path for a diagnostic.getURIReferencePath()| Method Detail |
public XSDPackage ePackageXSD()
XSDDiagnostic.
XSDDiagnostic.public com.ibm.etools.emf.ecore.EClass eClassXSDDiagnostic()
XSDDiagnostic.
XSDPackage.getXSDDiagnostic(),
ePackageXSD()public com.ibm.etools.emf.ecore.EEnumLiteral getLiteralSeverity()
XSDDiagnosticSeverity.
This indicates the how bad the problem is.
getValueSeverity(),
getSeverity(),
getStringSeverity(),
XSDDiagnosticSeverity,
isSetSeverity(),
unsetSeverity(),
setSeverity(EEnumLiteral),
XSDPackage.getXSDDiagnostic_Severity()public int getValueSeverity()
Severity' attribute.
getLiteralSeverity(),
getValueSeverity(),
getStringSeverity(),
XSDDiagnosticSeverity,
isSetSeverity(),
unsetSeverity(),
setSeverity(int)public java.lang.String getStringSeverity()
Severity' attribute.
getLiteralSeverity(),
getSeverity(),
getValueSeverity(),
XSDDiagnosticSeverity,
isSetSeverity(),
unsetSeverity(),
setSeverity(String)public java.lang.Integer getSeverity()
Severity' attribute.
getLiteralSeverity(),
getValueSeverity(),
getStringSeverity(),
XSDDiagnosticSeverity,
isSetSeverity(),
unsetSeverity(),
setSeverity(Integer)
public void setSeverity(com.ibm.etools.emf.ecore.EEnumLiteral value)
throws com.ibm.etools.emf.ref.EnumerationException
Severity' attribute.
value - the new value of the 'Severity' attribute.setSeverity(int),
setSeverity(Integer),
setSeverity(String),
XSDDiagnosticSeverity,
isSetSeverity(),
unsetSeverity(),
getLiteralSeverity()
public void setSeverity(int value)
throws com.ibm.etools.emf.ref.EnumerationException
Severity' attribute.
value - the int value of the new enumeration literal value of the 'Severity' attribute.setSeverity(EEnumLiteral),
setSeverity(Integer),
setSeverity(String),
XSDDiagnosticSeverity,
isSetSeverity(),
unsetSeverity(),
getValueSeverity()
public void setSeverity(java.lang.String value)
throws com.ibm.etools.emf.ref.EnumerationException
Severity' attribute.
value - the String value of the new enumeration literal value of the 'Severity' attribute.setSeverity(EEnumLiteral),
setSeverity(int),
setSeverity(Integer),
XSDDiagnosticSeverity,
isSetSeverity(),
unsetSeverity(),
getStringSeverity()
public void setSeverity(java.lang.Integer value)
throws com.ibm.etools.emf.ref.EnumerationException
Severity' attribute.
value - the Integer value of the new enumeration literal value of the 'Severity' attribute.setSeverity(EEnumLiteral),
setSeverity(int),
setSeverity(String),
XSDDiagnosticSeverity,
isSetSeverity(),
unsetSeverity(),
getValueSeverity()public void unsetSeverity()
Severity' attribute.
isSetSeverity(),
getLiteralSeverity(),
setSeverity(EEnumLiteral)public boolean isSetSeverity()
Severity' attribute is set.
unsetSeverity(),
getLiteralSeverity(),
setSeverity(EEnumLiteral)public java.lang.String getMessage()
This describes the problem.
isSetMessage(),
unsetMessage(),
setMessage(String),
XSDPackage.getXSDDiagnostic_Message()public void setMessage(java.lang.String value)
Message' attribute.
value - the new value of the 'Message' attribute.isSetMessage(),
unsetMessage(),
getMessage()public void unsetMessage()
Message' attribute.
isSetMessage(),
getMessage(),
setMessage(String)public boolean isSetMessage()
Message' attribute is set.
unsetMessage(),
getMessage(),
setMessage(String)public java.lang.String getLocationURI()
This indicates the URI of the resource containing the problem.
isSetLocationURI(),
unsetLocationURI(),
setLocationURI(String),
XSDPackage.getXSDDiagnostic_LocationURI()public void setLocationURI(java.lang.String value)
Location URI' attribute.
value - the new value of the 'Location URI' attribute.isSetLocationURI(),
unsetLocationURI(),
getLocationURI()public void unsetLocationURI()
Location URI' attribute.
isSetLocationURI(),
getLocationURI(),
setLocationURI(String)public boolean isSetLocationURI()
Location URI' attribute is set.
unsetLocationURI(),
getLocationURI(),
setLocationURI(String)public java.lang.Integer getLine()
This indicates the line number within the resource containing the problem.
getValueLine(),
isSetLine(),
unsetLine(),
setLine(Integer),
XSDPackage.getXSDDiagnostic_Line()public int getValueLine()
Line' attribute.
getLine(),
isSetLine(),
unsetLine(),
setLine(int)public void setLine(java.lang.Integer value)
Line' attribute.
value - the new value of the 'Line' attribute.setLine(int),
isSetLine(),
unsetLine(),
getLine()public void setLine(int value)
Line' attribute.
value - the new value of the 'Line' attribute.setLine(Integer),
isSetLine(),
unsetLine(),
getValueLine()public void unsetLine()
Line' attribute.
isSetLine(),
getLine(),
setLine(Integer)public boolean isSetLine()
Line' attribute is set.
unsetLine(),
getLine(),
setLine(Integer)public java.lang.Integer getColumn()
This indicates the column number within the line of the resource containing the problem.
getValueColumn(),
isSetColumn(),
unsetColumn(),
setColumn(Integer),
XSDPackage.getXSDDiagnostic_Column()public int getValueColumn()
Column' attribute.
getColumn(),
isSetColumn(),
unsetColumn(),
setColumn(int)public void setColumn(java.lang.Integer value)
Column' attribute.
value - the new value of the 'Column' attribute.setColumn(int),
isSetColumn(),
unsetColumn(),
getColumn()public void setColumn(int value)
Column' attribute.
value - the new value of the 'Column' attribute.setColumn(Integer),
isSetColumn(),
unsetColumn(),
getValueColumn()public void unsetColumn()
Column' attribute.
isSetColumn(),
getColumn(),
setColumn(Integer)public boolean isSetColumn()
Column' attribute is set.
unsetColumn(),
getColumn(),
setColumn(Integer)public Node getNode()
This indicates the DOM node at which the problem occurs.
isSetNode(),
unsetNode(),
setNode(org.w3c.dom.Node),
XSDPackage.getXSDDiagnostic_Node()public void setNode(Node value)
Node' attribute.
value - the new value of the 'Node' attribute.isSetNode(),
unsetNode(),
getNode()public void unsetNode()
Node' attribute.
isSetNode(),
getNode(),
setNode(org.w3c.dom.Node)public boolean isSetNode()
Node' attribute is set.
unsetNode(),
getNode(),
setNode(org.w3c.dom.Node)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.
isSetAnnotationURI(),
unsetAnnotationURI(),
setAnnotationURI(String),
XSDPackage.getXSDDiagnostic_AnnotationURI()public void setAnnotationURI(java.lang.String value)
Annotation URI' attribute.
value - the new value of the 'Annotation URI' attribute.isSetAnnotationURI(),
unsetAnnotationURI(),
getAnnotationURI()public void unsetAnnotationURI()
Annotation URI' attribute.
isSetAnnotationURI(),
getAnnotationURI(),
setAnnotationURI(String)public boolean isSetAnnotationURI()
Annotation URI' attribute is set.
unsetAnnotationURI(),
getAnnotationURI(),
setAnnotationURI(String)public java.lang.String getURIReferencePath()
This returns a path encoding that can be walked by
XSDSchema.getDiagnosticForURIReferencePath(java.lang.String)
to reach this diagnostic.
XSDPackage.getXSDDiagnostic_URIReferencePath()public com.ibm.etools.emf.ref.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.
isSetPrimaryComponent(),
unsetPrimaryComponent(),
setPrimaryComponent(XSDConcreteComponent),
XSDPackage.getXSDDiagnostic_PrimaryComponent()public void setPrimaryComponent(XSDConcreteComponent value)
Primary Component' reference.
value - the new value of the 'Primary Component' reference.isSetPrimaryComponent(),
unsetPrimaryComponent(),
getPrimaryComponent()public void unsetPrimaryComponent()
Primary Component' reference.
isSetPrimaryComponent(),
getPrimaryComponent(),
setPrimaryComponent(XSDConcreteComponent)public boolean isSetPrimaryComponent()
Primary Component' reference is set.
unsetPrimaryComponent(),
getPrimaryComponent(),
setPrimaryComponent(XSDConcreteComponent)
|
|||||||||
| PREV CLASS SOURCE NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||