edu.ksu.cis.cadena.core.specification.scenario
Interface ComponentInstance

All Superinterfaces:
CalmObject, DirectPropertyContainer, Instance, PortPropertyContainer

public interface ComponentInstance
extends Instance

A representation of the model object 'Component Instance'.

The following features are supported:

See Also:
ScenarioPackage.getComponentInstance()

Method Summary
 Scenario getScenario()
          Returns the value of the 'Scenario' container reference.
 ComponentType getType()
          Returns the value of the 'Type' reference.
 boolean isAMetaKind(java.lang.String metaKindUUID)
          Determines if this base kind is derives from the specified meta kind
 void setScenario(Scenario value)
          Sets the value of the 'Scenario' container reference.
 void setType(ComponentType value)
          Sets the value of the 'Type' reference.
 
Methods inherited from interface edu.ksu.cis.cadena.core.specification.scenario.Instance
getConnections, getName, getNumAllConnections, getPorts, setName
 
Methods inherited from interface edu.ksu.cis.cadena.core.specification.property.DirectPropertyContainer
getAllPropertyDeclarations, getProperties, getPropertyValue, isPropertyLocal, removeProperty
 
Methods inherited from interface edu.ksu.cis.cadena.core.specification.base.CalmObject
addBackReference, getBackReferences, getDeleted, getTrashCan, getUuid, removeBackReference
 
Methods inherited from interface edu.ksu.cis.cadena.core.specification.property.PortPropertyContainer
getAllPorts, getAllPropertyDeclarations, getPortProperties, getPortProperties, getPortProperty, isPortPropertyLocal, removePortProperty, setPortProperty
 

Method Detail

getType

ComponentType getType()
Returns the value of the 'Type' reference.

Returns:
the value of the 'Type' reference.
See Also:
setType(ComponentType), ScenarioPackage.getComponentInstance_Type()

setType

void setType(ComponentType value)
Sets the value of the 'Type' reference.

Parameters:
value - the new value of the 'Type' reference.
See Also:
getType()

getScenario

Scenario getScenario()
Returns the value of the 'Scenario' container reference. It is bidirectional and its opposite is 'Component Instances'.

Returns:
the value of the 'Scenario' container reference.
See Also:
setScenario(Scenario), ScenarioPackage.getComponentInstance_Scenario(), Scenario.getComponentInstances()

setScenario

void setScenario(Scenario value)
Sets the value of the 'Scenario' container reference.

Parameters:
value - the new value of the 'Scenario' container reference.
See Also:
getScenario()

isAMetaKind

boolean isAMetaKind(java.lang.String metaKindUUID)
Determines if this base kind is derives from the specified meta kind

Parameters:
metaKindUUID -
Returns: