|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BehavioredClassifier
A representation of the model object 'Behaviored Classifier'. A BehavioredClassifier may have InterfaceRealizations, and owns a set of Behaviors one of which may specify the behavior of the BehavioredClassifier itself.
From package UML::SimpleClassifiers.
The following features are supported:
UMLPackage.getBehavioredClassifier()
Field Summary |
---|
Fields inherited from interface org.eclipse.uml2.uml.NamedElement |
---|
SEPARATOR |
Method Summary | |
---|---|
Behavior |
createClassifierBehavior(java.lang.String name,
org.eclipse.emf.ecore.EClass eClass)
Creates a new Behavior , with the specified 'Name', and sets the 'Classifier Behavior' reference |
InterfaceRealization |
createInterfaceRealization(java.lang.String name,
Interface contract)
Creates a new InterfaceRealization , with the specified 'Name', and 'Contract', and appends it to the 'Interface Realization' containment reference list |
Behavior |
createOwnedBehavior(java.lang.String name,
org.eclipse.emf.ecore.EClass eClass)
Creates a new Behavior , with the specified 'Name', and appends it to the 'Owned Behavior' containment reference list |
org.eclipse.emf.common.util.EList<Interface> |
getAllImplementedInterfaces()
Retrieves all the interfaces on which this behaviored classifier or any of its parents has an interface realization dependency |
Behavior |
getClassifierBehavior()
Returns the value of the 'Classifier Behavior' reference. |
org.eclipse.emf.common.util.EList<Interface> |
getImplementedInterfaces()
Retrieves the interfaces on which this behaviored classifier has an interface realization dependency |
InterfaceRealization |
getInterfaceRealization(java.lang.String name,
Interface contract)
Retrieves the first InterfaceRealization with the specified 'Name', and 'Contract' from the 'Interface Realization' containment reference list |
InterfaceRealization |
getInterfaceRealization(java.lang.String name,
Interface contract,
boolean ignoreCase,
boolean createOnDemand)
Retrieves the first InterfaceRealization with the specified 'Name', and 'Contract' from the 'Interface Realization' containment reference list |
org.eclipse.emf.common.util.EList<InterfaceRealization> |
getInterfaceRealizations()
Returns the value of the 'Interface Realization' containment reference list. |
Behavior |
getOwnedBehavior(java.lang.String name)
Retrieves the first Behavior with the specified 'Name' from the 'Owned Behavior' containment reference list |
Behavior |
getOwnedBehavior(java.lang.String name,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass,
boolean createOnDemand)
Retrieves the first Behavior with the specified 'Name' from the 'Owned Behavior' containment reference list |
org.eclipse.emf.common.util.EList<Behavior> |
getOwnedBehaviors()
Returns the value of the 'Owned Behavior' containment reference list. |
void |
setClassifierBehavior(Behavior value)
Sets the value of the ' Classifier Behavior ' reference |
boolean |
validateClassBehavior(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
If a behavior is classifier behavior, it does not have a specification. |
Methods inherited from interface org.eclipse.uml2.uml.RedefinableElement |
---|
getRedefinedElement, getRedefinedElement, getRedefinedElements, getRedefinitionContext, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateNonLeafRedefinition, validateRedefinitionConsistent, validateRedefinitionContextValid |
Methods inherited from interface org.eclipse.uml2.uml.Type |
---|
conformsTo, createAssociation, getAssociations, getPackage, setPackage |
Methods inherited from interface org.eclipse.uml2.uml.PackageableElement |
---|
validateNamespaceNeedsVisibility |
Methods inherited from interface org.eclipse.uml2.uml.NamedElement |
---|
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 |
Methods inherited from interface org.eclipse.uml2.uml.ParameterableElement |
---|
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter |
Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
---|
getEAnnotation, getEAnnotations |
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 org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.uml2.uml.TemplateableElement |
---|
createOwnedTemplateSignature, createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBinding, getTemplateBinding, getTemplateBindings, isTemplate, parameterableElements, setOwnedTemplateSignature |
Method Detail |
---|
org.eclipse.emf.common.util.EList<Behavior> getOwnedBehaviors()
Behavior
.
This feature subsets the following features:
Behaviors owned by a BehavioredClassifier.From package UML::SimpleClassifiers.
UMLPackage.getBehavioredClassifier_OwnedBehavior()
Behavior createOwnedBehavior(java.lang.String name, org.eclipse.emf.ecore.EClass eClass)
Behavior
, with the specified 'Name', and appends it to the 'Owned Behavior' containment reference list.
name
- The 'Name' for the new Behavior
, or null
.eClass
- The Ecore class of the Behavior
to create.
Behavior
.getOwnedBehaviors()
Behavior getOwnedBehavior(java.lang.String name)
Behavior
with the specified 'Name' from the 'Owned Behavior' containment reference list.
name
- The 'Name' of the Behavior
to retrieve, or null
.
Behavior
with the specified 'Name', or null
.getOwnedBehaviors()
Behavior getOwnedBehavior(java.lang.String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass, boolean createOnDemand)
Behavior
with the specified 'Name' from the 'Owned Behavior' containment 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
.createOnDemand
- Whether to create a Behavior
on demand if not found.
Behavior
with the specified 'Name', or null
.getOwnedBehaviors()
Behavior getClassifierBehavior()
This feature subsets the following features:
A Behavior that specifies the behavior of the BehavioredClassifier itself.From package UML::SimpleClassifiers.
setClassifierBehavior(Behavior)
,
UMLPackage.getBehavioredClassifier_ClassifierBehavior()
void setClassifierBehavior(Behavior value)
Classifier Behavior
' reference.
value
- the new value of the 'Classifier Behavior' reference.getClassifierBehavior()
Behavior createClassifierBehavior(java.lang.String name, org.eclipse.emf.ecore.EClass eClass)
Behavior
, with the specified 'Name', and sets the 'Classifier Behavior' reference.
name
- The 'Name' for the new Behavior
, or null
.eClass
- The Ecore class of the Behavior
to create.
Behavior
.getClassifierBehavior()
org.eclipse.emf.common.util.EList<InterfaceRealization> getInterfaceRealizations()
InterfaceRealization
.
It is bidirectional and its opposite is 'Implementing Classifier
'.
This feature subsets the following features:
The set of InterfaceRealizations owned by the BehavioredClassifier. Interface realizations reference the Interfaces of which the BehavioredClassifier is an implementation.From package UML::SimpleClassifiers.
UMLPackage.getBehavioredClassifier_InterfaceRealization()
,
InterfaceRealization.getImplementingClassifier()
InterfaceRealization createInterfaceRealization(java.lang.String name, Interface contract)
InterfaceRealization
, with the specified 'Name', and 'Contract', and appends it to the 'Interface Realization' containment reference list.
name
- The 'Name' for the new InterfaceRealization
, or null
.contract
- The 'Contract' for the new InterfaceRealization
, or null
.
InterfaceRealization
.getInterfaceRealizations()
InterfaceRealization getInterfaceRealization(java.lang.String name, Interface contract)
InterfaceRealization
with the specified 'Name', and 'Contract' from the 'Interface Realization' containment reference list.
name
- The 'Name' of the InterfaceRealization
to retrieve, or null
.contract
- The 'Contract' of the InterfaceRealization
to retrieve, or null
.
InterfaceRealization
with the specified 'Name', and 'Contract', or null
.getInterfaceRealizations()
InterfaceRealization getInterfaceRealization(java.lang.String name, Interface contract, boolean ignoreCase, boolean createOnDemand)
InterfaceRealization
with the specified 'Name', and 'Contract' from the 'Interface Realization' containment reference list.
name
- The 'Name' of the InterfaceRealization
to retrieve, or null
.contract
- The 'Contract' of the InterfaceRealization
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.createOnDemand
- Whether to create a InterfaceRealization
on demand if not found.
InterfaceRealization
with the specified 'Name', and 'Contract', or null
.getInterfaceRealizations()
boolean validateClassBehavior(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<Interface> getImplementedInterfaces()
org.eclipse.emf.common.util.EList<Interface> getAllImplementedInterfaces()
|
Copyright 2003, 2014 IBM Corporation, CEA, and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |