TPTP 4.6.0 Platform Project
Public API Specification

org.eclipse.hyades.models.common.configuration
Interface CFGInstance

All Superinterfaces:
CMNNamedElement, org.eclipse.emf.ecore.EObject, org.eclipse.core.runtime.IAdaptable, INamedElement, IVariable, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
CFGInstanceImpl

public interface CFGInstance
extends CMNNamedElement, IVariable

A representation of the model object 'CFG Instance'.

See Also:
Common_ConfigurationPackage.getCFGInstance()
Generated
[EMF] Model
[EMF] Extends
IVariable CFGInstance repesents an instance variable of a CFGClass. The objects represented by these instance variables are grouped in one or more artifacts. The maxCount attribute of CFGInstance represents the maximum number of instances of the object represented by this instnace variable which will be created during a test execution.

The following features are supported:


Method Summary
 CFGClass getClassOwner()
          Returns the value of the 'Class Owner' container reference.
 CFGClass getClassType()
          Returns the value of the 'Class Type' reference.
 java.lang.String getInitialValue()
          Returns the value of the 'Initial Value' attribute
 BVRLifeline getLifeline()
          Returns the value of the 'Lifeline' reference.
 int getMaxCount()
          Returns the value of the 'Max Count' attribute
 TPFTestCase getTestCase()
          Returns the value of the 'Test Case' container reference.
 void setClassOwner(CFGClass value)
          Sets the value of the 'Class Owner' container reference
 void setClassType(CFGClass value)
          Sets the value of the 'Class Type' reference
 void setInitialValue(java.lang.String value)
          Sets the value of the 'Initial Value' attribute
 void setLifeline(BVRLifeline value)
          Sets the value of the 'Lifeline' reference
 void setMaxCount(int value)
          Sets the value of the 'Max Count' attribute
 void setTestCase(TPFTestCase value)
          Sets the value of the 'Test Case' container reference
 
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.IVariable
getType, setType
 
Methods inherited from interface org.eclipse.hyades.models.common.facades.behavioral.INamedElement
getDescription, getId, getName, setDescription, setId, setName
 

Method Detail

getMaxCount

int getMaxCount()
Returns the value of the 'Max Count' attribute.

If the meaning of the 'Max Count' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Max Count' attribute.
See Also:
setMaxCount(int), Common_ConfigurationPackage.getCFGInstance_MaxCount()
Generated
[EMF] Model

setMaxCount

void setMaxCount(int value)
Sets the value of the 'Max Count' attribute.

Parameters:
value - the new value of the 'Max Count' attribute.
See Also:
getMaxCount()
Generated

getInitialValue

java.lang.String getInitialValue()
Returns the value of the 'Initial Value' attribute.

If the meaning of the 'Initial Value' attribute isn't clear, there really should be more of a description here...

Specified by:
getInitialValue in interface IVariable
Returns:
the value of the 'Initial Value' attribute.
See Also:
setInitialValue(String), Common_ConfigurationPackage.getCFGInstance_InitialValue()
Generated
[EMF] Model

setInitialValue

void setInitialValue(java.lang.String value)
Sets the value of the 'Initial Value' attribute.

Specified by:
setInitialValue in interface IVariable
Parameters:
value - the new value of the 'Initial Value' attribute.
See Also:
getInitialValue()
Generated

getLifeline

BVRLifeline getLifeline()
Returns the value of the 'Lifeline' reference. It is bidirectional and its opposite is 'Instances'.

If the meaning of the 'Lifeline' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Lifeline' reference.
See Also:
setLifeline(BVRLifeline), Common_ConfigurationPackage.getCFGInstance_Lifeline(), BVRLifeline.getInstances()
Generated
[EMF] Model
opposite="instances"

setLifeline

void setLifeline(BVRLifeline value)
Sets the value of the 'Lifeline' reference.

Parameters:
value - the new value of the 'Lifeline' reference.
See Also:
getLifeline()
Generated

getTestCase

TPFTestCase getTestCase()
Returns the value of the 'Test Case' container reference. It is bidirectional and its opposite is 'Instances'.

If the meaning of the 'Test Case' container reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Test Case' container reference.
See Also:
setTestCase(TPFTestCase), Common_ConfigurationPackage.getCFGInstance_TestCase(), TPFTestCase.getInstances()
Generated
[EMF] Model
opposite="instances"

setTestCase

void setTestCase(TPFTestCase value)
Sets the value of the 'Test Case' container reference.

Parameters:
value - the new value of the 'Test Case' container reference.
See Also:
getTestCase()
Generated

getClassOwner

CFGClass getClassOwner()
Returns the value of the 'Class Owner' container reference. It is bidirectional and its opposite is 'Instances'.

If the meaning of the 'Class Owner' container reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Class Owner' container reference.
See Also:
setClassOwner(CFGClass), Common_ConfigurationPackage.getCFGInstance_ClassOwner(), CFGClass.getInstances()
Generated
[EMF] Model
opposite="instances"

setClassOwner

void setClassOwner(CFGClass value)
Sets the value of the 'Class Owner' container reference.

Parameters:
value - the new value of the 'Class Owner' container reference.
See Also:
getClassOwner()
Generated

getClassType

CFGClass getClassType()
Returns the value of the 'Class Type' reference. It is bidirectional and its opposite is 'Instantiations'.

If the meaning of the 'Class Type' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Class Type' reference.
See Also:
setClassType(CFGClass), Common_ConfigurationPackage.getCFGInstance_ClassType(), CFGClass.getInstantiations()
Generated
[EMF] Model
opposite="instantiations" required="true"

setClassType

void setClassType(CFGClass value)
Sets the value of the 'Class Type' reference.

Parameters:
value - the new value of the 'Class Type' reference.
See Also:
getClassType()
Generated

TPTP 4.6.0 Platform Project
Public API Specification