public class CapabilityAssociation extends Object
Constructor and Description |
---|
CapabilityAssociation(String name) |
Modifier and Type | Method and Description |
---|---|
void |
addInputAndOutput(Capability input,
Capability output)
Convenience method for adding a capability as output and another as input
|
void |
addInputCapability(Capability capability)
connect the capability and association as input
|
void |
addOutputCapability(Capability capability)
combine the capability and association as outputs
|
Set<Capability> |
getInputs()
get the capabilities that have this association as input
|
String |
getName()
get association name
|
Set<Capability> |
getOutputs()
get the capabilities that has this association as output
|
void |
setName(String name)
set association name
|
public CapabilityAssociation(String name)
name
- the name of the associationpublic String getName()
public void setName(String name)
name
- the name to setpublic Set<Capability> getOutputs()
public Set<Capability> getInputs()
public void addInputCapability(Capability capability)
capability
- capability that has this association as an inputpublic void addOutputCapability(Capability capability)
capability
- capability that has this association as an outputpublic void addInputAndOutput(Capability input, Capability output)
input
- capability that has this association as an inputoutput
- capability that has this association as an outputCopyright © 2017 Tampere University of Technology (TUT) / Laboratory of Mechanical Engineering and Industrial Systems (MEI). All rights reserved.