TPTP 4.2.0 Platform Project
Public API Specification

org.eclipse.hyades.models.common.testprofile.impl
Class TPFBehaviorImpl

java.lang.Object
  extended byorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended byorg.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended byorg.eclipse.emf.ecore.impl.EObjectImpl
              extended byorg.eclipse.hyades.models.common.common.impl.CMNNamedElementImpl
                  extended byorg.eclipse.hyades.models.common.testprofile.impl.TPFBehaviorImpl
All Implemented Interfaces:
CMNNamedElement, org.eclipse.emf.ecore.EObject, org.eclipse.core.runtime.IAdaptable, IDeployableComponent, IImplementor, INamedElement, org.eclipse.emf.ecore.InternalEObject, org.eclipse.emf.common.notify.Notifier, TPFBehavior
Direct Known Subclasses:
TPFDefaultImpl

public class TPFBehaviorImpl
extends CMNNamedElementImpl
implements TPFBehavior

An implementation of the model object 'TPF Behavior'.

The following features are implemented:

Generated

Nested Class Summary
 
Nested classes inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList
 
Nested classes inherited from class org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
static java.lang.String copyright
           
protected  BVRInteraction interaction
          The cached value of the 'Interaction' containment reference
protected static java.lang.Boolean IS_REENTRANT_EDEFAULT
          The default value of the 'Is Reentrant' attribute
protected  java.lang.Boolean isReentrant
          The cached value of the 'Is Reentrant' attribute
protected  java.lang.String location
          The cached value of the 'Location' attribute
protected static java.lang.String LOCATION_EDEFAULT
          The default value of the 'Location' attribute
protected  java.lang.String resource
          The cached value of the 'Resource' attribute
protected static java.lang.String RESOURCE_EDEFAULT
          The default value of the 'Resource' attribute
 
Fields inherited from class org.eclipse.hyades.models.common.common.impl.CMNNamedElementImpl
description, DESCRIPTION_EDEFAULT, id, ID_EDEFAULT, name, NAME_EDEFAULT
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected TPFBehaviorImpl()
           
 
Method Summary
 org.eclipse.emf.common.notify.NotificationChain basicSetInteraction(BVRInteraction newInteraction, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(int featureID)
           
 TPFArbiter getArbiter()
           
 IBlock getBlock()
          Returns the block that contains the list of actions to be executed.
 IPropertyGroup getEnvironmentVariables()
          Gets the environment variables associated with this component.
 BVRInteraction getInteraction()
           
 java.lang.Boolean getIsReentrant()
           
 java.lang.String getLocation()
           
 java.util.List getMethods()
          Gets the methods of this component.
 ITest getOwner()
          Returns the test suite that owns this deployable component.
 org.eclipse.emf.common.util.URI getPlatformURI()
           
 java.lang.String getProject()
           
 java.lang.String getResource()
           
 BVRLifelineImpl getSelfLifeline()
           
 TPFTest getTest()
           
 TPFTestComponent getTestComponent()
           
 boolean isExternalImplementor()
          Identifies if the implementor is external.
 void setArbiter(TPFArbiter newArbiter)
           
 void setInteraction(BVRInteraction newInteraction)
           
 void setIsReentrant(java.lang.Boolean newIsReentrant)
           
 void setLocation(java.lang.String newLocation)
           
 void setResource(java.lang.String newResource)
           
 void setTest(TPFTest newTest)
           
 void setTestComponent(TPFTestComponent newTestComponent)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.hyades.models.common.common.impl.CMNNamedElementImpl
getAdapter, getDescription, getId, getName, setDescription, setId, setName
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.hyades.models.common.common.CMNNamedElement
getDescription, getId, getName, setDescription, setId, setName
 
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.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.hyades.models.common.facades.behavioral.INamedElement
getDescription, getId, getName, setDescription, setId, setName
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

copyright

public static final java.lang.String copyright

See Also:
Constant Field Values
Generated

interaction

protected BVRInteraction interaction
The cached value of the 'Interaction' containment reference.

See Also:
getInteraction()
Generated
[EMF] Ordered

IS_REENTRANT_EDEFAULT

protected static final java.lang.Boolean IS_REENTRANT_EDEFAULT
The default value of the 'Is Reentrant' attribute.

See Also:
getIsReentrant()
Generated
[EMF] Ordered

isReentrant

protected java.lang.Boolean isReentrant
The cached value of the 'Is Reentrant' attribute.

See Also:
getIsReentrant()
Generated
[EMF] Ordered

RESOURCE_EDEFAULT

protected static final java.lang.String RESOURCE_EDEFAULT
The default value of the 'Resource' attribute.

See Also:
getResource()
Generated
[EMF] Ordered

resource

protected java.lang.String resource
The cached value of the 'Resource' attribute.

See Also:
getResource()
Generated
[EMF] Ordered

LOCATION_EDEFAULT

protected static final java.lang.String LOCATION_EDEFAULT
The default value of the 'Location' attribute.

See Also:
getLocation()
Generated
[EMF] Ordered

location

protected java.lang.String location
The cached value of the 'Location' attribute.

See Also:
getLocation()
Generated
[EMF] Ordered
Constructor Detail

TPFBehaviorImpl

protected TPFBehaviorImpl()

Generated
Method Detail

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()

Overrides:
eStaticClass in class CMNNamedElementImpl
Generated

getIsReentrant

public java.lang.Boolean getIsReentrant()

Specified by:
getIsReentrant in interface TPFBehavior
Returns:
the value of the 'Is Reentrant' attribute.
See Also:
TPFBehavior.setIsReentrant(Boolean), Common_TestprofilePackage.getTPFBehavior_IsReentrant()
Generated

setIsReentrant

public void setIsReentrant(java.lang.Boolean newIsReentrant)

Specified by:
setIsReentrant in interface TPFBehavior
Parameters:
newIsReentrant - the new value of the 'Is Reentrant' attribute.
See Also:
TPFBehavior.getIsReentrant()
Generated

getResource

public java.lang.String getResource()

Specified by:
getResource in interface TPFBehavior
Returns:
the value of the 'Resource' attribute.
See Also:
TPFBehavior.setResource(String), Common_TestprofilePackage.getTPFBehavior_Resource()
Generated

setResource

public void setResource(java.lang.String newResource)

Specified by:
setResource in interface TPFBehavior
Parameters:
newResource - the new value of the 'Resource' attribute.
See Also:
TPFBehavior.getResource()
Generated

getLocation

public java.lang.String getLocation()

Specified by:
getLocation in interface TPFBehavior
Returns:
the value of the 'Location' attribute.
See Also:
TPFBehavior.setLocation(String), Common_TestprofilePackage.getTPFBehavior_Location()
Generated

setLocation

public void setLocation(java.lang.String newLocation)

Specified by:
setLocation in interface TPFBehavior
Parameters:
newLocation - the new value of the 'Location' attribute.
See Also:
TPFBehavior.getLocation()
Generated

getInteraction

public BVRInteraction getInteraction()

Specified by:
getInteraction in interface TPFBehavior
Returns:
the value of the 'Interaction' containment reference.
See Also:
TPFBehavior.setInteraction(BVRInteraction), Common_TestprofilePackage.getTPFBehavior_Interaction(), BVRInteraction.getBehavior()
Generated

basicSetInteraction

public org.eclipse.emf.common.notify.NotificationChain basicSetInteraction(BVRInteraction newInteraction,
                                                                           org.eclipse.emf.common.notify.NotificationChain msgs)

Generated

setInteraction

public void setInteraction(BVRInteraction newInteraction)

Specified by:
setInteraction in interface TPFBehavior
Parameters:
newInteraction - the new value of the 'Interaction' containment reference.
See Also:
TPFBehavior.getInteraction()
Generated

getArbiter

public TPFArbiter getArbiter()

Specified by:
getArbiter in interface TPFBehavior
Returns:
the value of the 'Arbiter' container reference.
See Also:
TPFBehavior.setArbiter(TPFArbiter), Common_TestprofilePackage.getTPFBehavior_Arbiter(), TPFArbiter.getBehaviors()
Generated

setArbiter

public void setArbiter(TPFArbiter newArbiter)

Specified by:
setArbiter in interface TPFBehavior
Parameters:
newArbiter - the new value of the 'Arbiter' container reference.
See Also:
TPFBehavior.getArbiter()
Generated

getTestComponent

public TPFTestComponent getTestComponent()

Specified by:
getTestComponent in interface TPFBehavior
Returns:
the value of the 'Test Component' container reference.
See Also:
TPFBehavior.setTestComponent(TPFTestComponent), Common_TestprofilePackage.getTPFBehavior_TestComponent(), TPFTestComponent.getBehaviors()
Generated

setTestComponent

public void setTestComponent(TPFTestComponent newTestComponent)

Specified by:
setTestComponent in interface TPFBehavior
Parameters:
newTestComponent - the new value of the 'Test Component' container reference.
See Also:
TPFBehavior.getTestComponent()
Generated

getTest

public TPFTest getTest()

Specified by:
getTest in interface TPFBehavior
Returns:
the value of the 'Test' container reference.
See Also:
TPFBehavior.setTest(TPFTest), Common_TestprofilePackage.getTPFBehavior_Test(), TPFTest.getBehavior()
Generated

setTest

public void setTest(TPFTest newTest)

Specified by:
setTest in interface TPFBehavior
Parameters:
newTest - the new value of the 'Test' container reference.
See Also:
TPFBehavior.getTest()
Generated

eInverseAdd

public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                   int featureID,
                                                                   org.eclipse.emf.common.notify.NotificationChain msgs)

Generated

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Generated

eBasicRemoveFromContainerFeature

public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)

Generated

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class CMNNamedElementImpl
Generated

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class CMNNamedElementImpl
Generated

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class CMNNamedElementImpl
Generated

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class CMNNamedElementImpl
Generated

toString

public java.lang.String toString()

Overrides:
toString in class CMNNamedElementImpl
Generated

getSelfLifeline

public BVRLifelineImpl getSelfLifeline()

getBlock

public IBlock getBlock()
Description copied from interface: IImplementor
Returns the block that contains the list of actions to be executed. If the implementor is external, this method will return null.

This reference is unidirectional

Specified by:
getBlock in interface IImplementor
Returns:
IBlock

getOwner

public ITest getOwner()
Description copied from interface: IDeployableComponent
Returns the test suite that owns this deployable component.

This reference is bidirectional and its opposite is ITestSuite#getTestComponents().

Specified by:
getOwner in interface IDeployableComponent
Returns:
ITestSuite

getMethods

public java.util.List getMethods()
Description copied from interface: IDeployableComponent
Gets the methods of this component.

Specified by:
getMethods in interface IDeployableComponent

isExternalImplementor

public boolean isExternalImplementor()
Description copied from interface: IImplementor
Identifies if the implementor is external. External implementor does not have a block.

Specified by:
isExternalImplementor in interface IImplementor
Returns:
boolean

getEnvironmentVariables

public IPropertyGroup getEnvironmentVariables()
Description copied from interface: IDeployableComponent
Gets the environment variables associated with this component.

Specified by:
getEnvironmentVariables in interface IDeployableComponent

getProject

public java.lang.String getProject()

getPlatformURI

public org.eclipse.emf.common.util.URI getPlatformURI()

TPTP 4.2.0 Platform Project
Public API Specification