|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Instance
A representation of the model object 'Instance'.
The following features are supported:
ScenarioPackage.getInstance()| Method Summary | |
|---|---|
java.util.Collection<Connector> |
getConnections(Port port)
Finds all of the connections to the specified port in containing Scenario. |
java.lang.String |
getName()
Returns the value of the 'Name' attribute. |
int |
getNumAllConnections(Port port)
Counts all of the connections to a specified port (includes nested ports within a scenario instance) |
java.util.Collection<Port> |
getPorts()
Returns a collection of all the ports that this instance provides. |
void |
setName(java.lang.String value)
Sets the value of the ' Name' attribute. |
| 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 |
|---|
java.lang.String getName()
setName(String),
ScenarioPackage.getInstance_Name()void setName(java.lang.String value)
Name' attribute.
value - the new value of the 'Name' attribute.getName()java.util.Collection<Connector> getConnections(Port port)
port - A port belonging to this instance
int getNumAllConnections(Port port)
port - A port belonging to this instance
java.util.Collection<Port> getPorts()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||