org.eclipse.stp.core.sca.impl
Class SCAObjectImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.eclipse.stp.core.sca.impl.SCAObjectImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, SCAObject
Direct Known Subclasses:
SCAInternalObjectImpl, SimplifiedExternalWireTargetImpl

public abstract class SCAObjectImpl
extends org.eclipse.emf.ecore.impl.EObjectImpl
implements SCAObject


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList
 
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
SCAObjectImpl()
           
 
Method Summary
 org.eclipse.core.runtime.MultiStatus addStatus(org.eclipse.core.runtime.IStatus aNewStatus)
          A modeled object will not overwrite any existing status unless a client calls SCAObject.clearStatus().
 void clearStatus()
          Reset the status to just IStatus.OK
 org.eclipse.core.runtime.MultiStatus getStatus()
          Will never return null.
 
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.stp.core.sca.SCAObject
getEObject, getFlags, getName, setName
 
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

SCAObjectImpl

public SCAObjectImpl()
Method Detail

addStatus

public org.eclipse.core.runtime.MultiStatus addStatus(org.eclipse.core.runtime.IStatus aNewStatus)
Description copied from interface: SCAObject
A modeled object will not overwrite any existing status unless a client calls SCAObject.clearStatus(). Whenever a client calls addStatus(), either a new MultiStatus is created with the parameters of the given status, or the given aNewStatus is added to an existing MultiStatus. The resultant combined MultiStatus is returned.

Specified by:
addStatus in interface SCAObject
Parameters:
aNewStatus - A status for this model object (could be warning, error, info, or OK)
Returns:
The current status of this SCAObject

clearStatus

public void clearStatus()
Description copied from interface: SCAObject
Reset the status to just IStatus.OK

Specified by:
clearStatus in interface SCAObject

getStatus

public org.eclipse.core.runtime.MultiStatus getStatus()
Description copied from interface: SCAObject
Will never return null. If no status has been explicitly set, this method returns Status.OK_STATUS.

Specified by:
getStatus in interface SCAObject
Returns:
The current status to indicate if there are known problems with this model object.