|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.wst.wsdl.util.WSDLDiagnosticImpl
public class WSDLDiagnosticImpl
Default implementation of the WSDLDiagnostic interface. This class is based on XSDDiagnosticImpl
Note: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter> |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
org.eclipse.emf.ecore.InternalEObject.EStore |
Field Summary |
---|
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
ELAST_EOBJECT_FLAG |
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
EOPPOSITE_FEATURE_BASE |
Constructor Summary | |
---|---|
WSDLDiagnosticImpl()
Default constructor. |
|
WSDLDiagnosticImpl(org.eclipse.xsd.XSDDiagnostic xsdDiagnostic)
Wraps an XSD diagnostic into a WSDL diagnostic. |
Method Summary | |
---|---|
int |
getColumn()
|
java.lang.Object |
getContainer()
returns the Element where the error occurs |
java.lang.String |
getKey()
Gets the original message key. |
int |
getLine()
|
java.lang.String |
getLocation()
|
java.lang.String |
getMessage()
|
org.w3c.dom.Node |
getNode()
Gets the DOM Node where the error occurs |
WSDLDiagnosticSeverity |
getSeverity()
Provides this diagnostic's severity. |
org.eclipse.emf.common.util.EList |
getSubstitutions()
Returns a list with the original message parameters as Strings. |
void |
setColumn(int newColumn)
Sets the new value of the column attribute. |
void |
setContainer(java.lang.Object container)
Sets the Container of the error |
void |
setKey(java.lang.String value)
Sets the original message key. |
void |
setLine(int newLine)
|
void |
setLocation(java.lang.String location)
Sets the value of the loaction attribute. |
void |
setMessage(java.lang.String newMessage)
Sets a new value for the message attribute. |
void |
setNode(org.w3c.dom.Node node)
Sets the DOM Node where the error occurs |
void |
setSeverity(WSDLDiagnosticSeverity newSeverity)
Sets this diagnostic's severity. |
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI |
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eIsSet, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset, toString |
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
eNotificationRequired, eNotify |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eNotify |
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
eNotificationRequired |
Constructor Detail |
---|
public WSDLDiagnosticImpl()
public WSDLDiagnosticImpl(org.eclipse.xsd.XSDDiagnostic xsdDiagnostic)
xsdDiagnostic
- the XSD diagnostic object to wrap. Must not be null.Method Detail |
---|
public int getColumn()
getColumn
in interface org.eclipse.emf.ecore.resource.Resource.Diagnostic
public int getLine()
getLine
in interface org.eclipse.emf.ecore.resource.Resource.Diagnostic
public java.lang.String getLocation()
getLocation
in interface org.eclipse.emf.ecore.resource.Resource.Diagnostic
public java.lang.String getMessage()
getMessage
in interface org.eclipse.emf.ecore.resource.Resource.Diagnostic
public WSDLDiagnosticSeverity getSeverity()
WSDLDiagnostic
getSeverity
in interface WSDLDiagnostic
public void setColumn(int newColumn)
newColumn
- the new column value.public void setLine(int newLine)
public void setLocation(java.lang.String location)
location
- a String with the new value for the location attributepublic void setMessage(java.lang.String newMessage)
newMessage
- a String with the new message.public void setSeverity(WSDLDiagnosticSeverity newSeverity)
WSDLDiagnostic
setSeverity
in interface WSDLDiagnostic
newSeverity
- the new diagnostic severity.public java.lang.String getKey()
WSDLDiagnostic
getKey
in interface WSDLDiagnostic
public void setKey(java.lang.String value)
WSDLDiagnostic
setKey
in interface WSDLDiagnostic
value
- the new message key value.public org.eclipse.emf.common.util.EList getSubstitutions()
WSDLDiagnostic
getSubstitutions
in interface WSDLDiagnostic
public org.w3c.dom.Node getNode()
WSDLDiagnostic
getNode
in interface WSDLDiagnostic
public void setNode(org.w3c.dom.Node node)
WSDLDiagnostic
setNode
in interface WSDLDiagnostic
public java.lang.Object getContainer()
WSDLDiagnostic
getContainer
in interface WSDLDiagnostic
public void setContainer(java.lang.Object container)
WSDLDiagnostic
setContainer
in interface WSDLDiagnostic
container
- an Object of either XSDConcreteComponent or WSDLElement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |