public interface BehavioralFeature extends Namespace, Feature
A BehavioralFeature is a feature of a Classifier that specifies an aspect of the behavior of its instances. A BehavioralFeature is implemented (realized) by a Behavior. A BehavioralFeature specifies that a Classifier will respond to a designated request by invoking its implementing method.
The following features are supported:
UMLPackage.getBehavioralFeature()
Modifier and Type | Method and Description |
---|---|
CallConcurrencyKind |
getConcurrency()
Returns the value of the 'Concurrency' attribute.
|
java.util.Collection<Behavior> |
getMethod()
Returns the value of the 'Method' reference list.
|
java.util.List<Parameter> |
getOwnedParameter()
Returns the value of the 'Owned Parameter' containment reference list.
|
java.util.Collection<ParameterSet> |
getOwnedParameterSet()
Returns the value of the 'Owned Parameter Set' containment reference list.
|
java.util.Collection<Type> |
getRaisedException()
Returns the value of the 'Raised Exception' reference list.
|
boolean |
hasMethod() |
boolean |
hasOwnedParameter() |
boolean |
hasOwnedParameterSet() |
boolean |
hasRaisedException() |
boolean |
isAbstract()
Returns the value of the 'Abstract' attribute.
|
void |
setAbstract(boolean value)
Sets the value of the '
Abstract ' attribute. |
void |
setConcurrency(CallConcurrencyKind value)
Sets the value of the '
Concurrency ' attribute. |
getElementImport, getImportedMember, getMember, getOwnedDiagram, getOwnedMember, getOwnedRule, getPackageImport, hasElementImport, hasImportedMember, hasMember, hasOwnedDiagram, hasOwnedMember, hasOwnedRule, hasPackageImport
getFeaturingClassifier, isStatic, setFeaturingClassifier, setStatic
get_redefinableElementOfRedefinedElement, getRedefinedElement, getRedefinitionContext, has_redefinableElementOfRedefinedElement, hasRedefinedElement, hasRedefinitionContext, isLeaf, setLeaf
get_considerIgnoreFragmentOfMessage, get_durationObservationOfEvent, get_informationFlowOfInformationSource, get_informationFlowOfInformationTarget, get_messageOfSignature, get_namespaceOfMember, get_timeObservationOfEvent, getClientDependency, getName, getNameExpression, getNamespace, getQualifiedName, getSupplierDependency, getVisibility, has_considerIgnoreFragmentOfMessage, has_durationObservationOfEvent, has_informationFlowOfInformationSource, has_informationFlowOfInformationTarget, has_messageOfSignature, has_namespaceOfMember, has_timeObservationOfEvent, hasClientDependency, hasSupplierDependency, setName, setNameExpression, setNamespace, setVisibility
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotypeInstance, getOwnedComment, getOwnedElement, getOwner, getSyncElement, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasOwnedComment, hasOwnedElement, setAppliedStereotypeInstance, setOwner, setSyncElement
get_representationText, getLocalID, isInvalid, set_representationText, setLocalID, sGetLocalID
getID, getMDExtension, getMdExtensions, setID
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, removePropertyChangeListener, sGetID
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
java.util.List<Parameter> getOwnedParameter()
Parameter
.
It is bidirectional and its opposite is 'Owner Formal Param
'.
The ordered set of formal Parameters of this BehavioralFeature.
UMLPackage.getBehavioralFeature_OwnedParameter()
,
Parameter.getOwnerFormalParam()
java.util.Collection<ParameterSet> getOwnedParameterSet()
ParameterSet
.
It is bidirectional and its opposite is '.ParameterSet#get_behavioralFeatureOfOwnedParameterSet behavioral Feature Of Owned Parameter Set
'.
The ParameterSets owned by this BehavioralFeature.
UMLPackage.getBehavioralFeature_OwnedParameterSet()
,
ParameterSet.get_behavioralFeatureOfOwnedParameterSet()
java.util.Collection<Behavior> getMethod()
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).
UMLPackage.getBehavioralFeature_Method()
,
Behavior.getSpecification()
java.util.Collection<Type> getRaisedException()
Type
.
It is bidirectional and its opposite is
'behavioral Feature Of Raised Exception
'.
The Types representing exceptions that may be raised during an invocation of this BehavioralFeature.
UMLPackage.getBehavioralFeature_RaisedException()
,
Type.get_behavioralFeatureOfRaisedException()
@CheckForNull 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.
CallConcurrencyKind
,
setConcurrency(CallConcurrencyKind)
,
UMLPackage.getBehavioralFeature_Concurrency()
void setConcurrency(@CheckForNull CallConcurrencyKind value)
Concurrency
' attribute.
value
- the new value of the 'Concurrency' attribute.CallConcurrencyKind
,
getConcurrency()
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.
setAbstract(boolean)
,
UMLPackage.getBehavioralFeature_Abstract()
void setAbstract(boolean value)
Abstract
' attribute.
value
- the new value of the 'Abstract' attribute.isAbstract()
boolean hasOwnedParameter() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean hasOwnedParameterSet() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean hasMethod() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean hasRaisedException() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException