public interface BehavioralFeature extends Namespace, Feature
From package UML::Classification.
The following features are supported:
UMLPackage.getBehavioralFeature()
SEPARATOR
Modifier and Type | Method and Description |
---|---|
Parameter |
createOwnedParameter(java.lang.String name,
Type type)
Creates a new
Parameter , with the specified 'Name', and 'Type', and appends it to the 'Owned Parameter' containment reference list |
ParameterSet |
createOwnedParameterSet(java.lang.String name)
Creates a new
ParameterSet , with the specified 'Name', and appends it to the 'Owned Parameter Set' containment reference list |
Parameter |
createReturnResult(java.lang.String name,
Type type)
Creates a return result parameter with the specified name and type.
|
CallConcurrencyKind |
getConcurrency()
Returns the value of the 'Concurrency' attribute.
|
Behavior |
getMethod(java.lang.String name)
Retrieves the first
Behavior with the specified 'Name' from the 'Method' reference list |
Behavior |
getMethod(java.lang.String name,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass)
Retrieves the first
Behavior with the specified 'Name' from the 'Method' reference list |
org.eclipse.emf.common.util.EList<Behavior> |
getMethods()
Returns the value of the 'Method' reference list.
|
Parameter |
getOwnedParameter(java.lang.String name,
Type type)
Retrieves the first
Parameter with the specified 'Name', and 'Type' from the 'Owned Parameter' containment reference list |
Parameter |
getOwnedParameter(java.lang.String name,
Type type,
boolean ignoreCase,
boolean createOnDemand)
Retrieves the first
Parameter with the specified 'Name', and 'Type' from the 'Owned Parameter' containment reference list |
org.eclipse.emf.common.util.EList<Parameter> |
getOwnedParameters()
Returns the value of the 'Owned Parameter' containment reference list.
|
ParameterSet |
getOwnedParameterSet(java.lang.String name)
Retrieves the first
ParameterSet with the specified 'Name' from the 'Owned Parameter Set' containment reference list |
ParameterSet |
getOwnedParameterSet(java.lang.String name,
boolean ignoreCase,
boolean createOnDemand)
Retrieves the first
ParameterSet with the specified 'Name' from the 'Owned Parameter Set' containment reference list |
org.eclipse.emf.common.util.EList<ParameterSet> |
getOwnedParameterSets()
Returns the value of the 'Owned Parameter Set' containment reference list.
|
Type |
getRaisedException(java.lang.String name)
Retrieves the first
Type with the specified 'Name' from the 'Raised Exception' reference list |
Type |
getRaisedException(java.lang.String name,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass)
Retrieves the first
Type with the specified 'Name' from the 'Raised Exception' reference list |
org.eclipse.emf.common.util.EList<Type> |
getRaisedExceptions()
Returns the value of the 'Raised Exception' reference list.
|
org.eclipse.emf.common.util.EList<Parameter> |
inputParameters()
The ownedParameters with direction in and inout.
|
boolean |
isAbstract()
Returns the value of the 'Is Abstract' attribute.
|
org.eclipse.emf.common.util.EList<Parameter> |
outputParameters()
The ownedParameters with direction out, inout, or return.
|
void |
setConcurrency(CallConcurrencyKind value)
Sets the value of the '
Concurrency ' attribute |
void |
setIsAbstract(boolean value)
Sets the value of the '
Is Abstract ' attribute |
boolean |
validateAbstractNoMethod(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
When isAbstract is true there are no methods.
|
createElementImport, createElementImport, createOwnedRule, createOwnedRule, createPackageImport, createPackageImport, excludeCollisions, getElementImport, getElementImport, getElementImports, getImportedElements, getImportedMember, getImportedMember, getImportedMembers, getImportedPackages, getMember, getMember, getMembers, getNamesOfMember, getOwnedMember, getOwnedMember, getOwnedMembers, getOwnedRule, getOwnedRule, getOwnedRules, getPackageImport, getPackageImport, getPackageImports, importMembers, membersAreDistinguishable, validateCannotImportOwnedMembers, validateCannotImportSelf, validateMembersDistinguishable
getFeaturingClassifier, getFeaturingClassifier, getFeaturingClassifiers, isStatic, setIsStatic
getRedefinedElement, getRedefinedElement, getRedefinedElements, getRedefinitionContext, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateNonLeafRedefinition, validateRedefinitionConsistent, validateRedefinitionContextValid
allNamespaces, allOwningPackages, createDependency, createNameExpression, createUsage, 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
getEAnnotation, getEAnnotations
org.eclipse.emf.common.util.EList<Parameter> getOwnedParameters()
Parameter
.
This feature subsets the following features:
The ordered set of formal Parameters of this BehavioralFeature.From package UML::Classification.
UMLPackage.getBehavioralFeature_OwnedParameter()
Parameter createOwnedParameter(java.lang.String name, Type type)
Parameter
, with the specified 'Name', and 'Type', and appends it to the 'Owned Parameter' containment reference list.
name
- The 'Name' for the new Parameter
, or null
.type
- The 'Type' for the new Parameter
, or null
.Parameter
.getOwnedParameters()
Parameter getOwnedParameter(java.lang.String name, Type type)
Parameter
with the specified 'Name', and 'Type' from the 'Owned Parameter' containment 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
.getOwnedParameters()
Parameter getOwnedParameter(java.lang.String name, Type type, boolean ignoreCase, boolean createOnDemand)
Parameter
with the specified 'Name', and 'Type' from the 'Owned Parameter' containment 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.createOnDemand
- Whether to create a Parameter
on demand if not found.Parameter
with the specified 'Name', and 'Type', or null
.getOwnedParameters()
boolean isAbstract()
"false"
.
If true, then the BehavioralFeature does not have an implementation, and one must be supplied by a more specific Classifier. If false, the BehavioralFeature must have an implementation in the Classifier or one must be inherited.
From package UML::Classification.
setIsAbstract(boolean)
,
UMLPackage.getBehavioralFeature_IsAbstract()
void setIsAbstract(boolean value)
Is Abstract
' attribute.
value
- the new value of the 'Is Abstract' attribute.isAbstract()
org.eclipse.emf.common.util.EList<Behavior> getMethods()
Behavior
.
It is bidirectional and its opposite is 'Specification
'.
A Behavior that implements the BehavioralFeature. There may be at most one Behavior for a particular pairing of a Classifier (as owner of the Behavior) and a BehavioralFeature (as specification of the Behavior).
From package UML::Classification.
UMLPackage.getBehavioralFeature_Method()
,
Behavior.getSpecification()
Behavior getMethod(java.lang.String name)
Behavior
with the specified 'Name' from the 'Method' reference list.
name
- The 'Name' of the Behavior
to retrieve, or null
.Behavior
with the specified 'Name', or null
.getMethods()
Behavior getMethod(java.lang.String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
Behavior
with the specified 'Name' from the 'Method' reference list.
name
- The 'Name' of the Behavior
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the Behavior
to retrieve, or null
.Behavior
with the specified 'Name', or null
.getMethods()
CallConcurrencyKind getConcurrency()
"sequential"
.
The literals are from the enumeration CallConcurrencyKind
.
Specifies the semantics of concurrent calls to the same passive instance (i.e., an instance originating from a Class with isActive being false). Active instances control access to their own BehavioralFeatures.
From package UML::Classification.
CallConcurrencyKind
,
setConcurrency(CallConcurrencyKind)
,
UMLPackage.getBehavioralFeature_Concurrency()
void setConcurrency(CallConcurrencyKind value)
Concurrency
' attribute.
value
- the new value of the 'Concurrency' attribute.CallConcurrencyKind
,
getConcurrency()
org.eclipse.emf.common.util.EList<Type> getRaisedExceptions()
Type
.
The Types representing exceptions that may be raised during an invocation of this BehavioralFeature.
From package UML::Classification.
UMLPackage.getBehavioralFeature_RaisedException()
Type getRaisedException(java.lang.String name)
Type
with the specified 'Name' from the 'Raised Exception' reference list.
name
- The 'Name' of the Type
to retrieve, or null
.Type
with the specified 'Name', or null
.getRaisedExceptions()
Type getRaisedException(java.lang.String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
Type
with the specified 'Name' from the 'Raised Exception' reference list.
name
- The 'Name' of the Type
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the Type
to retrieve, or null
.Type
with the specified 'Name', or null
.getRaisedExceptions()
boolean validateAbstractNoMethod(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
org.eclipse.emf.common.util.EList<ParameterSet> getOwnedParameterSets()
ParameterSet
.
This feature subsets the following features:
The ParameterSets owned by this BehavioralFeature.From package UML::Classification.
UMLPackage.getBehavioralFeature_OwnedParameterSet()
ParameterSet createOwnedParameterSet(java.lang.String name)
ParameterSet
, with the specified 'Name', and appends it to the 'Owned Parameter Set' containment reference list.
name
- The 'Name' for the new ParameterSet
, or null
.ParameterSet
.getOwnedParameterSets()
ParameterSet getOwnedParameterSet(java.lang.String name)
ParameterSet
with the specified 'Name' from the 'Owned Parameter Set' containment reference list.
name
- The 'Name' of the ParameterSet
to retrieve, or null
.ParameterSet
with the specified 'Name', or null
.getOwnedParameterSets()
ParameterSet getOwnedParameterSet(java.lang.String name, boolean ignoreCase, boolean createOnDemand)
ParameterSet
with the specified 'Name' from the 'Owned Parameter Set' containment reference list.
name
- The 'Name' of the ParameterSet
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.createOnDemand
- Whether to create a ParameterSet
on demand if not found.ParameterSet
with the specified 'Name', or null
.getOwnedParameterSets()
Parameter createReturnResult(java.lang.String name, Type type)
name
- The name for the new return result, or null.type
- The type for the new return result, or null.
org.eclipse.emf.common.util.EList<Parameter> inputParameters()
From package UML::Classification.
org.eclipse.emf.common.util.EList<Parameter> outputParameters()
From package UML::Classification.