Interface BehavioralFeature
-
- All Superinterfaces:
BaseElement
,java.lang.Cloneable
,java.lang.Comparable
,Element
,org.eclipse.emf.ecore.EObject
,Feature
,MDObject
,ModelObject
,NamedElement
,Namespace
,org.eclipse.emf.common.notify.Notifier
,RedefinableElement
,javax.jmi.reflect.RefBaseObject
,javax.jmi.reflect.RefFeatured
,javax.jmi.reflect.RefObject
public interface BehavioralFeature extends Namespace, Feature
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:
UMLPackage.getBehavioralFeature()
- Model:
- abstract="true" annotation="MOF package='classes.mdkernel'"
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.-
Methods inherited from interface com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, atInsert, canAdd, canAdd, canAddChild, canAddInstance, canBeDeleted, canChangeParent, canDeleteChild, clone, dispose, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, isParentOf, removeAllPropertyChangeListeners, removePropertyChangeListener, sGetID
-
Methods 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, setSyncElement
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Feature
getFeaturingClassifier, isStatic, setFeaturingClassifier, setStatic
-
Methods inherited from interface com.nomagic.magicdraw.foundation.MDObject
getID, getMDExtension, getMdExtensions, setID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, getLocalID, ignoringRefGetValue, ignoringRefGetValue, isInvalid, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationText, setLocalID, sGetLocalID
-
Methods 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, setVisibility
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Namespace
getElementImport, getImportedMember, getMember, getOwnedDiagram, getOwnedMember, getOwnedRule, getPackageImport, hasElementImport, hasImportedMember, hasMember, hasOwnedDiagram, hasOwnedMember, hasOwnedRule, hasPackageImport
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.RedefinableElement
get_redefinableElementOfRedefinedElement, getRedefinedElement, getRedefinitionContext, has_redefinableElementOfRedefinedElement, hasRedefinedElement, hasRedefinitionContext, isLeaf, setLeaf
-
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
-
-
-
-
Method Detail
-
getOwnedParameter
java.util.List<Parameter> 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:
UMLPackage.getBehavioralFeature_OwnedParameter()
,Parameter.getOwnerFormalParam()
- Model:
- opposite="ownerFormalParam" containment="true" resolveProxies="true"
- Generated:
-
getOwnedParameterSet
java.util.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:
UMLPackage.getBehavioralFeature_OwnedParameterSet()
,ParameterSet.get_behavioralFeatureOfOwnedParameterSet()
- Model:
- opposite="_behavioralFeatureOfOwnedParameterSet" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
getMethod
java.util.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:
UMLPackage.getBehavioralFeature_Method()
,Behavior.getSpecification()
- Model:
- opposite="specification" ordered="false"
- Generated:
-
getRaisedException
java.util.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:
UMLPackage.getBehavioralFeature_RaisedException()
,Type.get_behavioralFeatureOfRaisedException()
- Model:
- opposite="_behavioralFeatureOfRaisedException" ordered="false"
- Generated:
-
getConcurrency
@CheckForNull CallConcurrencyKind 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:
CallConcurrencyKind
,setConcurrency(CallConcurrencyKind)
,UMLPackage.getBehavioralFeature_Concurrency()
- Model:
- default="sequential" required="true" ordered="false"
- Generated:
-
setConcurrency
void setConcurrency(@CheckForNull CallConcurrencyKind value)
Sets the value of the 'Concurrency
' attribute.- Parameters:
value
- the new value of the 'Concurrency' attribute.- See Also:
CallConcurrencyKind
,getConcurrency()
- 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:
isAbstract()
- 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:
-
-