public interface ParameterSet extends NamedElement
The following features are supported:
UMLPackage.getParameterSet()
SEPARATOR
Modifier and Type | Method and Description |
---|---|
Constraint |
createCondition(String name)
Creates a new
Constraint , with the specified 'Name', and appends it to the '
Condition' containment reference list |
Constraint |
createCondition(String name,
EClass eClass)
Creates a new
Constraint , with the specified 'Name', and appends it to the '
Condition' containment reference list |
Constraint |
getCondition(String name)
Retrieves the first
Constraint with the specified 'Name' from the '
Condition' containment reference list |
Constraint |
getCondition(String name,
boolean ignoreCase,
EClass eClass,
boolean createOnDemand)
Retrieves the first
Constraint with the specified 'Name' from the '
Condition' containment reference list |
MDWEList<Constraint> |
getConditions()
Returns the value of the 'Condition' containment reference list.
|
Parameter |
getParameter(String name,
Type type)
Retrieves the first
Parameter with the specified 'Name', and 'Type' from
the 'Parameter' reference list |
Parameter |
getParameter(String name,
Type type,
boolean ignoreCase)
Retrieves the first
Parameter with the specified 'Name', and 'Type' from
the 'Parameter' reference list |
MDWEList<Parameter> |
getParameters()
Returns the value of the 'Parameter' reference list.
|
boolean |
validateInput(DiagnosticChain diagnostics,
Map context)
If a behavior has input parameters that are in a parameter set, then any inputs that are not in a parameter set must be streaming.
|
boolean |
validateSameParameterizedEntity(DiagnosticChain diagnostics,
Map context)
The parameters in a parameter set must all be inputs or all be outputs of the same parameterized entity, and the parameter set is owned by that
entity.
|
boolean |
validateTwoParameterSets(DiagnosticChain diagnostics,
Map context)
Two parameter sets cannot have exactly the same set of parameters.
|
allNamespaces, allOwningPackages, createDependency, createNameExpression, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnership
addKeyword, allOwnedElements, applyStereotype, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedSubstereotype, getAppliedSubstereotypes, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getRelationships, getRelationships, getRequiredStereotype, getRequiredStereotypes, getSourceDirectedRelationships, getSourceDirectedRelationships, getStereotypeApplication, getStereotypeApplications, getTargetDirectedRelationships, getTargetDirectedRelationships, getValue, hasKeyword, hasValue, isStereotypeApplicable, isStereotypeApplied, isStereotypeRequired, mustBeOwned, removeKeyword, setValue, unapplyStereotype, validateHasOwner, validateNotOwnSelf
compareTo, eExtendedClass, eIsInstanceOf, eIsInstanceOf, eIsProfiled, eIsRemoved, eMetamodel, eMetaTypeName, eModel, eRemove, eSetUniqueID, eUniqueID, superScript, superScript, toBoolean, toBoolean, toByte, toByte, toChar, toChar, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toList, toList, toList, toList, toList, toLong, toLong, toObject, toObject, toSet, toSet, toShort, toShort, toString, toString
getEAnnotation, getEAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
MDWEList<Parameter> getParameters()
Parameter
.
It is bidirectional and its opposite is 'Parameter Set
'.
Parameters in the parameter set.
UMLPackage.getParameterSet_Parameter()
,
Parameter.getParameterSets()
Parameter getParameter(String name, Type type)
Parameter
with the specified 'Name', and 'Type' from
the 'Parameter' reference list.
name
- The 'Name' of the Parameter
to retrieve, or null
.type
- The 'Type' of the Parameter
to retrieve, or null
.Parameter
with the specified 'Name', and 'Type', or
null
.getParameters()
Parameter getParameter(String name, Type type, boolean ignoreCase)
Parameter
with the specified 'Name', and 'Type' from
the 'Parameter' reference list.
name
- The 'Name' of the Parameter
to retrieve, or null
.type
- The 'Type' of the Parameter
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.Parameter
with the specified 'Name', and 'Type', or
null
.getParameters()
MDWEList<Constraint> getConditions()
Constraint
.
Constraint that should be satisfied for the owner of the parameters in an input parameter set to start execution using the values provided for
those parameters, or the owner of the parameters in an output parameter set to end execution providing the values for those parameters, if all
preconditions and conditions on input parameter sets were satisfied.
UMLPackage.getParameterSet_Condition()
Constraint createCondition(String name, EClass eClass)
Constraint
, with the specified 'Name', and appends it to the '
Condition' containment reference list.
name
- The 'Name' for the new Constraint
, or null
.eClass
- The Ecore class of the Constraint
to create.Constraint
.getConditions()
Constraint createCondition(String name)
Constraint
, with the specified 'Name', and appends it to the '
Condition' containment reference list.
name
- The 'Name' for the new Constraint
, or null
.Constraint
.getConditions()
Constraint getCondition(String name)
Constraint
with the specified 'Name' from the '
Condition' containment reference list.
name
- The 'Name' of the Constraint
to retrieve, or null
.Constraint
with the specified 'Name', or null
.getConditions()
Constraint getCondition(String name, boolean ignoreCase, EClass eClass, boolean createOnDemand)
Constraint
with the specified 'Name' from the '
Condition' containment reference list.
name
- The 'Name' of the Constraint
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the Constraint
to retrieve, or null
.createOnDemand
- Whether to create a Constraint
on demand if not found.Constraint
with the specified 'Name', or null
.getConditions()
boolean validateSameParameterizedEntity(DiagnosticChain diagnostics, Map context)
boolean validateInput(DiagnosticChain diagnostics, Map context)
boolean validateTwoParameterSets(DiagnosticChain diagnostics, Map context)