public class Capability extends Object
Constructor and Description |
---|
Capability(String name) |
Modifier and Type | Method and Description |
---|---|
void |
addInputAssociation(CapabilityAssociation association)
Add a new input association for the capability
|
void |
addOutputAssociation(CapabilityAssociation association)
add a new output capability association
|
void |
addParameter(Parameter parameter)
Add a parameter for this capability.
|
void |
addParameterObject(String property,
ParameterObject obj)
Add a relationship between the capability and the given ParameterObject that goes through the given property.
|
String |
getDescription()
Get the capability's description text.
|
ProcessTaxonomy |
getImplements()
Get the process taxonomy that this capability implements if any.
|
Set<CapabilityAssociation> |
getInputs()
get the input capability associations
|
String |
getName()
get the capability name
|
Set<CapabilityAssociation> |
getOutputs()
get the output capability associations
|
ParameterObject |
getParameterObject(String property)
get a parameter object that is related to the capability via the given property
|
Set<String> |
getParameterObjectProperties()
Get the different properties whose value is a parameter object
|
Set<Parameter> |
getParameters()
Get the parameters associated with this capability.
|
void |
setDescription(String description)
Set the capability's description.
|
void |
setImplements(ProcessTaxonomy process)
Set a process taxonomy that this capability implements.
|
void |
setName(String name)
set capability name
|
String |
toString() |
public Capability(String name)
name
- the capability namepublic String getName()
public void setName(String name)
name
- the name to setpublic String getDescription()
public void setDescription(String description)
description
- the description to setpublic void setImplements(ProcessTaxonomy process)
process
- a process taxonomy that this capability implementspublic ProcessTaxonomy getImplements()
public Set<CapabilityAssociation> getOutputs()
public Set<CapabilityAssociation> getInputs()
public void addOutputAssociation(CapabilityAssociation association)
association
- the output associationpublic void addInputAssociation(CapabilityAssociation association)
association
- the input associationpublic Set<Parameter> getParameters()
public void addParameter(Parameter parameter)
parameter
- to be addedpublic void addParameterObject(String property, ParameterObject obj)
property
- the property nameobj
- the parameter objectpublic ParameterObject getParameterObject(String property)
property
- the relation propertyCopyright © 2017. All rights reserved.