Interface BehavioralFeature
- All Superinterfaces:
BaseElement,Cloneable,Comparable,Element,org.eclipse.emf.ecore.EObject,Feature,MDObject,com.dassault_systemes.modeler.foundation.model.ModelElement,ModelObject,NamedElement,Namespace,org.eclipse.emf.common.notify.Notifier,RedefinableElement,javax.jmi.reflect.RefBaseObject,javax.jmi.reflect.RefFeatured,javax.jmi.reflect.RefObject
A representation of the model object 'Behavioral 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:
- See Also:
- Model:
- abstract="true" annotation="MOF package='classes.mdkernel'"
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Concurrency' attribute.Returns the value of the 'Method' reference list.Returns the value of the 'Owned Parameter' containment reference list.Returns the value of the 'Owned Parameter Set' containment reference list.Returns the value of the 'Raised Exception' reference list.booleanbooleanbooleanbooleanbooleanReturns the value of the 'Abstract' attribute.voidsetAbstract(boolean value) Sets the value of the 'Abstract' attribute.voidSets the value of the 'Concurrency' attribute.Methods inherited from interface com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, isEditable, removePropertyChangeListener, sGetIDMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementTaggedValue, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotype, getOwnedComment, getOwnedElement, getOwner, getSyncElement, getTaggedValue, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasAppliedStereotype, hasElementTaggedValue, hasOwnedComment, hasOwnedElement, hasTaggedValue, setOwner, setSyncElementMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Feature
getFeaturingClassifier, isStatic, setFeaturingClassifier, setStaticMethods inherited from interface com.nomagic.magicdraw.foundation.MDObject
getID, getMDExtension, getMdExtensions, setIDMethods inherited from interface com.dassault_systemes.modeler.foundation.model.ModelElement
canChangeElementOwner, eDynamicGet, getElementOwner, getLocalID, getObjectParent, setLocalID, sGetLocalIDMethods inherited from interface com.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, ignoringRefGetValue, ignoringRefGetValue, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationTextMethods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.NamedElement
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, setVisibilityMethods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Namespace
getElementImport, getImportedMember, getMember, getOwnedDiagram, getOwnedMember, getOwnedRule, getPackageImport, hasElementImport, hasImportedMember, hasMember, hasOwnedDiagram, hasOwnedMember, hasOwnedRule, hasPackageImportMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliverMethods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.RedefinableElement
get_redefinableElementOfRedefinedElement, getRedefinedElement, getRedefinitionContext, has_redefinableElementOfRedefinedElement, hasRedefinedElement, hasRedefinitionContext, isLeaf, setLeafMethods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraintsMethods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refInvokeOperation, refInvokeOperation, refSetValueMethods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
-
Method Details
-
getOwnedParameter
Returns the value of the 'Owned Parameter' containment reference list. The list contents are of typeParameter. It is bidirectional and its opposite is 'Owner Formal Param'. The ordered set of formal Parameters of this BehavioralFeature.- Returns:
- the value of the 'Owned Parameter' containment reference list.
- See Also:
- Model:
- opposite="ownerFormalParam" containment="true" resolveProxies="true"
- Generated:
-
getOwnedParameterSet
Collection<ParameterSet> getOwnedParameterSet()Returns the value of the 'Owned Parameter Set' containment reference list. The list contents are of typeParameterSet. It is bidirectional and its opposite is '.ParameterSet#get_behavioralFeatureOfOwnedParameterSet behavioral Feature Of Owned Parameter Set'. The ParameterSets owned by this BehavioralFeature.- Returns:
- the value of the 'Owned Parameter Set' containment reference list.
- See Also:
- Model:
- opposite="_behavioralFeatureOfOwnedParameterSet" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
getMethod
Collection<Behavior> getMethod()Returns the value of the 'Method' reference list. The list contents are of typeBehavior. 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).- Returns:
- the value of the 'Method' reference list.
- See Also:
- Model:
- opposite="specification" ordered="false"
- Generated:
-
getRaisedException
Collection<Type> getRaisedException()Returns the value of the 'Raised Exception' reference list. The list contents are of typeType. 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.- Returns:
- the value of the 'Raised Exception' reference list.
- See Also:
- Model:
- opposite="_behavioralFeatureOfRaisedException" ordered="false"
- Generated:
-
getConcurrency
Returns the value of the 'Concurrency' attribute. The default value is"sequential". The literals are from the enumerationCallConcurrencyKind. 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.- Returns:
- the value of the 'Concurrency' attribute.
- See Also:
- Model:
- default="sequential" required="true" ordered="false"
- Generated:
-
setConcurrency
Sets the value of the 'Concurrency' attribute.- Parameters:
value- the new value of the 'Concurrency' attribute.- See Also:
- Generated:
-
isAbstract
boolean isAbstract()Returns the value of the 'Abstract' attribute. The default value is"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.- Returns:
- the value of the 'Abstract' attribute.
- See Also:
-
setAbstract(boolean)com.nomagic.uml2.ext.magicdraw.metadata.UMLPackage#getBehavioralFeature_Abstract()
- Model:
- default="false" dataType="com.nomagic.uml2.ext.magicdraw.Boolean" required="true" ordered="false"
- Generated:
-
setAbstract
void setAbstract(boolean value) Sets the value of the 'Abstract' attribute.- Parameters:
value- the new value of the 'Abstract' attribute.- See Also:
- Generated:
-
hasOwnedParameter
boolean hasOwnedParameter() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException- Generated:
-
hasOwnedParameterSet
boolean hasOwnedParameterSet() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException- Generated:
-
hasMethod
boolean hasMethod() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException- Generated:
-
hasRaisedException
boolean hasRaisedException() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException- Generated:
-