|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Classifier
A representation of the model object 'Classifier'. A classifier is a classification of instances - it describes a set of instances that have features in common. A classifier can specify a generalization hierarchy by referencing its general classifiers. A classifier has the capability to own collaboration uses. These collaboration uses link a collaboration with the classifier to give a description of the workings of the classifier. A classifier has the capability to own use cases. Although the owning classifier typically represents the subject to which the owned use cases apply, this is not necessarily the case. In principle, the same use case can be applied to multiple subjects, as identified by the subject association role of a use case. Classifier is defined to be a kind of templateable element so that a classifier can be parameterized. It is also defined to be a kind of parameterable element so that a classifier can be a formal template parameter.
The following features are supported:
Is Abstract
Generalization
Powertype Extent
Feature
Inherited Member
Redefined Classifier
General
Substitution
Attribute
Representation
Collaboration Use
Owned Use Case
Use Case
UMLPackage.getClassifier()
Method Summary | |
---|---|
org.eclipse.emf.common.util.EList<Feature> |
allFeatures()
The query allFeatures() gives all of the features in the namespace of the classifier. |
org.eclipse.emf.common.util.EList<Classifier> |
allParents()
The query allParents() gives all of the direct and indirect ancestors of a generalized Classifier. |
boolean |
conformsTo(Classifier other)
This operation redefines the following operations: ' Conforms To '
|
CollaborationUse |
createCollaborationUse(java.lang.String name)
Creates a new CollaborationUse , with the specified 'Name', and appends it to the 'Collaboration Use' containment reference list |
Generalization |
createGeneralization(Classifier general)
Creates a new Generalization , with the specified 'General', and appends it to the 'Generalization' containment reference list |
UseCase |
createOwnedUseCase(java.lang.String name)
Creates a new UseCase , with the specified 'Name', and appends it to the 'Owned Use Case' containment reference list |
CollaborationUse |
createRepresentation(java.lang.String name)
Creates a new CollaborationUse ,with the specified 'Name', and sets the 'Representation' reference |
Substitution |
createSubstitution(java.lang.String name,
Classifier contract)
Creates a new Substitution , with the specified 'Name', and 'Contract', and appends it to the 'Substitution' containment reference list |
org.eclipse.emf.common.util.EList<Property> |
getAllAttributes()
Retrieves all the attributes of this classifier, including those inherited from its parents |
org.eclipse.emf.common.util.EList<Operation> |
getAllOperations()
Retrieves all the operations of this classifier, including those inherited from its parents |
org.eclipse.emf.common.util.EList<Interface> |
getAllUsedInterfaces()
Retrieves all the interfaces on which this classifier or any of its parents has a usage dependency |
Property |
getAttribute(java.lang.String name,
Type type)
Retrieves the first Property with the specified 'Name', and 'Type' from the 'Attribute' reference list |
Property |
getAttribute(java.lang.String name,
Type type,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass)
Retrieves the first Property with the specified 'Name', and 'Type' from the 'Attribute' reference list |
org.eclipse.emf.common.util.EList<Property> |
getAttributes()
Returns the value of the 'Attribute' reference list. |
CollaborationUse |
getCollaborationUse(java.lang.String name)
Retrieves the first CollaborationUse with the specified 'Name' from the 'Collaboration Use' containment reference list |
CollaborationUse |
getCollaborationUse(java.lang.String name,
boolean ignoreCase,
boolean createOnDemand)
Retrieves the first CollaborationUse with the specified 'Name' from the 'Collaboration Use' containment reference list |
org.eclipse.emf.common.util.EList<CollaborationUse> |
getCollaborationUses()
Returns the value of the 'Collaboration Use' containment reference list. |
Feature |
getFeature(java.lang.String name)
Retrieves the first Feature with the specified 'Name' from the 'Feature' reference list |
Feature |
getFeature(java.lang.String name,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass)
Retrieves the first Feature with the specified 'Name' from the 'Feature' reference list |
org.eclipse.emf.common.util.EList<Feature> |
getFeatures()
Returns the value of the 'Feature' reference list. |
Classifier |
getGeneral(java.lang.String name)
Retrieves the first Classifier with the specified 'Name' from the 'General' reference list |
Classifier |
getGeneral(java.lang.String name,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass)
Retrieves the first Classifier with the specified 'Name' from the 'General' reference list |
Generalization |
getGeneralization(Classifier general)
Retrieves the first Generalization with the specified 'General' from the 'Generalization' containment reference list |
Generalization |
getGeneralization(Classifier general,
boolean createOnDemand)
Retrieves the first Generalization with the specified 'General' from the 'Generalization' containment reference list |
org.eclipse.emf.common.util.EList<Generalization> |
getGeneralizations()
Returns the value of the 'Generalization' containment reference list. |
org.eclipse.emf.common.util.EList<Classifier> |
getGenerals()
Returns the value of the 'General' reference list. |
NamedElement |
getInheritedMember(java.lang.String name)
Retrieves the first NamedElement with the specified 'Name' from the 'Inherited Member' reference list |
NamedElement |
getInheritedMember(java.lang.String name,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass)
Retrieves the first NamedElement with the specified 'Name' from the 'Inherited Member' reference list |
org.eclipse.emf.common.util.EList<NamedElement> |
getInheritedMembers()
Returns the value of the 'Inherited Member' reference list. |
Operation |
getOperation(java.lang.String name,
org.eclipse.emf.common.util.EList<java.lang.String> parameterNames,
org.eclipse.emf.common.util.EList<Type> parameterTypes)
Retrieves the first operation with the specified name, parameter names, and parameter types from this classifier. |
Operation |
getOperation(java.lang.String name,
org.eclipse.emf.common.util.EList<java.lang.String> parameterNames,
org.eclipse.emf.common.util.EList<Type> parameterTypes,
boolean ignoreCase)
Retrieves the first operation with the specified name, parameter names, and parameter types from this classifier, ignoring case if indicated. |
org.eclipse.emf.common.util.EList<Operation> |
getOperations()
Retrieves the operations of this classifier |
UseCase |
getOwnedUseCase(java.lang.String name)
Retrieves the first UseCase with the specified 'Name' from the 'Owned Use Case' containment reference list |
UseCase |
getOwnedUseCase(java.lang.String name,
boolean ignoreCase,
boolean createOnDemand)
Retrieves the first UseCase with the specified 'Name' from the 'Owned Use Case' containment reference list |
org.eclipse.emf.common.util.EList<UseCase> |
getOwnedUseCases()
Returns the value of the 'Owned Use Case' containment reference list. |
GeneralizationSet |
getPowertypeExtent(java.lang.String name)
Retrieves the first GeneralizationSet with the specified 'Name' from the 'Powertype Extent' reference list |
GeneralizationSet |
getPowertypeExtent(java.lang.String name,
boolean ignoreCase)
Retrieves the first GeneralizationSet with the specified 'Name' from the 'Powertype Extent' reference list |
org.eclipse.emf.common.util.EList<GeneralizationSet> |
getPowertypeExtents()
Returns the value of the 'Powertype Extent' reference list. |
Classifier |
getRedefinedClassifier(java.lang.String name)
Retrieves the first Classifier with the specified 'Name' from the 'Redefined Classifier' reference list |
Classifier |
getRedefinedClassifier(java.lang.String name,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass)
Retrieves the first Classifier with the specified 'Name' from the 'Redefined Classifier' reference list |
org.eclipse.emf.common.util.EList<Classifier> |
getRedefinedClassifiers()
Returns the value of the 'Redefined Classifier' reference list. |
CollaborationUse |
getRepresentation()
Returns the value of the 'Representation' reference. |
Substitution |
getSubstitution(java.lang.String name,
Classifier contract)
Retrieves the first Substitution with the specified 'Name', and 'Contract' from the 'Substitution' containment reference list |
Substitution |
getSubstitution(java.lang.String name,
Classifier contract,
boolean ignoreCase,
boolean createOnDemand)
Retrieves the first Substitution with the specified 'Name', and 'Contract' from the 'Substitution' containment reference list |
org.eclipse.emf.common.util.EList<Substitution> |
getSubstitutions()
Returns the value of the 'Substitution' containment reference list. |
UseCase |
getUseCase(java.lang.String name)
Retrieves the first UseCase with the specified 'Name' from the 'Use Case' reference list |
UseCase |
getUseCase(java.lang.String name,
boolean ignoreCase)
Retrieves the first UseCase with the specified 'Name' from the 'Use Case' reference list |
org.eclipse.emf.common.util.EList<UseCase> |
getUseCases()
Returns the value of the 'Use Case' reference list. |
org.eclipse.emf.common.util.EList<Interface> |
getUsedInterfaces()
Retrieves the interfaces on which this classifier has a usage dependency |
boolean |
hasVisibilityOf(NamedElement n)
The query hasVisibilityOf() determines whether a named element is visible in the classifier. |
org.eclipse.emf.common.util.EList<NamedElement> |
inherit(org.eclipse.emf.common.util.EList<NamedElement> inhs)
The inherit operation is overridden to exclude redefined properties. |
org.eclipse.emf.common.util.EList<NamedElement> |
inheritableMembers(Classifier c)
The query inheritableMembers() gives all of the members of a classifier that may be inherited in one of its descendants, subject to whatever visibility restrictions apply. |
boolean |
isAbstract()
Returns the value of the 'Is Abstract' attribute. |
boolean |
maySpecializeType(Classifier c)
The query maySpecializeType() determines whether this classifier may have a generalization relationship to classifiers of the specified type. |
org.eclipse.emf.common.util.EList<Classifier> |
parents()
The query parents() gives all of the immediate ancestors of a generalized Classifier. |
void |
setIsAbstract(boolean value)
Sets the value of the ' Is Abstract ' attribute |
void |
setRepresentation(CollaborationUse value)
Sets the value of the ' Representation ' reference |
boolean |
validateGeneralizationHierarchies(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Generalization hierarchies must be directed and acyclical. |
boolean |
validateMapsToGeneralizationSet(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
The Classifier that maps to a GeneralizationSet may neither be a specific nor a general Classifier in any of the Generalization relationships defined for that GeneralizationSet. |
boolean |
validateNoCyclesInGeneralization(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Generalization hierarchies must be directed and acyclical. |
boolean |
validateSpecializeType(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
A classifier may only specialize classifiers of a valid type. |
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.RedefinableElement |
---|
getRedefinedElement, getRedefinedElement, getRedefinedElements, getRedefinitionContext, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid |
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.Type |
---|
conformsTo, createAssociation, getAssociations, getPackage, setPackage |
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.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 |
---|
boolean isAbstract()
"false"
.
If true, the Classifier does not provide a complete declaration and can typically not be instantiated. An abstract classifier is intended to be used by other classifiers e.g. as the target of general metarelationships or generalization relationships.
setIsAbstract(boolean)
,
UMLPackage.getClassifier_IsAbstract()
void setIsAbstract(boolean value)
Is Abstract
' attribute.
value
- the new value of the 'Is Abstract' attribute.isAbstract()
org.eclipse.emf.common.util.EList<Generalization> getGeneralizations()
Generalization
.
It is bidirectional and its opposite is 'Specific
'.
This feature subsets the following features:
Specifies the Generalization relationships for this Classifier. These Generalizations navigaten to more general classifiers in the generalization hierarchy.
UMLPackage.getClassifier_Generalization()
,
Generalization.getSpecific()
org.eclipse.emf.common.util.EList<GeneralizationSet> getPowertypeExtents()
GeneralizationSet
.
It is bidirectional and its opposite is 'Powertype
'.
Designates the GeneralizationSet of which the associated Classifier is a power type.
UMLPackage.getClassifier_PowertypeExtent()
,
GeneralizationSet.getPowertype()
GeneralizationSet getPowertypeExtent(java.lang.String name)
GeneralizationSet
with the specified 'Name' from the 'Powertype Extent' reference list.
name
- The 'Name' of the GeneralizationSet
to retrieve, or null
.
GeneralizationSet
with the specified 'Name', or null
.getPowertypeExtents()
GeneralizationSet getPowertypeExtent(java.lang.String name, boolean ignoreCase)
GeneralizationSet
with the specified 'Name' from the 'Powertype Extent' reference list.
name
- The 'Name' of the GeneralizationSet
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.
GeneralizationSet
with the specified 'Name', or null
.getPowertypeExtents()
org.eclipse.emf.common.util.EList<Feature> getFeatures()
Feature
.
It is bidirectional and its opposite is 'Featuring Classifier
'.
This feature subsets the following features:
Member
'
UMLPackage.getClassifier_Feature()
,
Feature.getFeaturingClassifiers()
Feature getFeature(java.lang.String name)
Feature
with the specified 'Name' from the 'Feature' reference list.
name
- The 'Name' of the Feature
to retrieve, or null
.
Feature
with the specified 'Name', or null
.getFeatures()
Feature getFeature(java.lang.String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
Feature
with the specified 'Name' from the 'Feature' reference list.
name
- The 'Name' of the Feature
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the Feature
to retrieve, or null
.
Feature
with the specified 'Name', or null
.getFeatures()
org.eclipse.emf.common.util.EList<NamedElement> getInheritedMembers()
NamedElement
.
This feature subsets the following features:
Member
'
UMLPackage.getClassifier_InheritedMember()
NamedElement getInheritedMember(java.lang.String name)
NamedElement
with the specified 'Name' from the 'Inherited Member' reference list.
name
- The 'Name' of the NamedElement
to retrieve, or null
.
NamedElement
with the specified 'Name', or null
.getInheritedMembers()
NamedElement getInheritedMember(java.lang.String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
NamedElement
with the specified 'Name' from the 'Inherited Member' reference list.
name
- The 'Name' of the NamedElement
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the NamedElement
to retrieve, or null
.
NamedElement
with the specified 'Name', or null
.getInheritedMembers()
org.eclipse.emf.common.util.EList<Classifier> getRedefinedClassifiers()
Classifier
.
This feature subsets the following features:
References the Classifiers that are redefined by this Classifier.
UMLPackage.getClassifier_RedefinedClassifier()
Classifier getRedefinedClassifier(java.lang.String name)
Classifier
with the specified 'Name' from the 'Redefined Classifier' reference list.
name
- The 'Name' of the Classifier
to retrieve, or null
.
Classifier
with the specified 'Name', or null
.getRedefinedClassifiers()
Classifier getRedefinedClassifier(java.lang.String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
Classifier
with the specified 'Name' from the 'Redefined Classifier' reference list.
name
- The 'Name' of the Classifier
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the Classifier
to retrieve, or null
.
Classifier
with the specified 'Name', or null
.getRedefinedClassifiers()
org.eclipse.emf.common.util.EList<Classifier> getGenerals()
Classifier
.
References the general classifier in the Generalization relationship.
Specifies the general Classifiers for this Classifier.
UMLPackage.getClassifier_General()
Classifier getGeneral(java.lang.String name)
Classifier
with the specified 'Name' from the 'General' reference list.
name
- The 'Name' of the Classifier
to retrieve, or null
.
Classifier
with the specified 'Name', or null
.getGenerals()
Classifier getGeneral(java.lang.String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
Classifier
with the specified 'Name' from the 'General' reference list.
name
- The 'Name' of the Classifier
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the Classifier
to retrieve, or null
.
Classifier
with the specified 'Name', or null
.getGenerals()
org.eclipse.emf.common.util.EList<UseCase> getOwnedUseCases()
UseCase
.
This feature subsets the following features:
References the use cases owned by this classifier.
UMLPackage.getClassifier_OwnedUseCase()
UseCase createOwnedUseCase(java.lang.String name)
UseCase
, with the specified 'Name', and appends it to the 'Owned Use Case' containment reference list.
name
- The 'Name' for the new UseCase
, or null
.
UseCase
.getOwnedUseCases()
UseCase getOwnedUseCase(java.lang.String name)
UseCase
with the specified 'Name' from the 'Owned Use Case' containment reference list.
name
- The 'Name' of the UseCase
to retrieve, or null
.
UseCase
with the specified 'Name', or null
.getOwnedUseCases()
UseCase getOwnedUseCase(java.lang.String name, boolean ignoreCase, boolean createOnDemand)
UseCase
with the specified 'Name' from the 'Owned Use Case' containment reference list.
name
- The 'Name' of the UseCase
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.createOnDemand
- Whether to create a UseCase
on demand if not found.
UseCase
with the specified 'Name', or null
.getOwnedUseCases()
org.eclipse.emf.common.util.EList<UseCase> getUseCases()
UseCase
.
It is bidirectional and its opposite is 'Subject
'.
The set of use cases for which this Classifier is the subject.
UMLPackage.getClassifier_UseCase()
,
UseCase.getSubjects()
UseCase getUseCase(java.lang.String name)
UseCase
with the specified 'Name' from the 'Use Case' reference list.
name
- The 'Name' of the UseCase
to retrieve, or null
.
UseCase
with the specified 'Name', or null
.getUseCases()
UseCase getUseCase(java.lang.String name, boolean ignoreCase)
UseCase
with the specified 'Name' from the 'Use Case' reference list.
name
- The 'Name' of the UseCase
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.
UseCase
with the specified 'Name', or null
.getUseCases()
org.eclipse.emf.common.util.EList<Substitution> getSubstitutions()
Substitution
.
It is bidirectional and its opposite is 'Substituting Classifier
'.
This feature subsets the following features:
References the substitutions that are owned by this Classifier.
UMLPackage.getClassifier_Substitution()
,
Substitution.getSubstitutingClassifier()
Substitution createSubstitution(java.lang.String name, Classifier contract)
Substitution
, with the specified 'Name', and 'Contract', and appends it to the 'Substitution' containment reference list.
name
- The 'Name' for the new Substitution
, or null
.contract
- The 'Contract' for the new Substitution
, or null
.
Substitution
.getSubstitutions()
Substitution getSubstitution(java.lang.String name, Classifier contract)
Substitution
with the specified 'Name', and 'Contract' from the 'Substitution' containment reference list.
name
- The 'Name' of the Substitution
to retrieve, or null
.contract
- The 'Contract' of the Substitution
to retrieve, or null
.
Substitution
with the specified 'Name', and 'Contract', or null
.getSubstitutions()
Substitution getSubstitution(java.lang.String name, Classifier contract, boolean ignoreCase, boolean createOnDemand)
Substitution
with the specified 'Name', and 'Contract' from the 'Substitution' containment reference list.
name
- The 'Name' of the Substitution
to retrieve, or null
.contract
- The 'Contract' of the Substitution
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.createOnDemand
- Whether to create a Substitution
on demand if not found.
Substitution
with the specified 'Name', and 'Contract', or null
.getSubstitutions()
org.eclipse.emf.common.util.EList<Property> getAttributes()
Property
.
This feature subsets the following features:
Feature
'
UMLPackage.getClassifier_Attribute()
Property getAttribute(java.lang.String name, Type type)
Property
with the specified 'Name', and 'Type' from the 'Attribute' reference list.
name
- The 'Name' of the Property
to retrieve, or null
.type
- The 'Type' of the Property
to retrieve, or null
.
Property
with the specified 'Name', and 'Type', or null
.getAttributes()
Property getAttribute(java.lang.String name, Type type, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
Property
with the specified 'Name', and 'Type' from the 'Attribute' reference list.
name
- The 'Name' of the Property
to retrieve, or null
.type
- The 'Type' of the Property
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the Property
to retrieve, or null
.
Property
with the specified 'Name', and 'Type', or null
.getAttributes()
CollaborationUse getRepresentation()
This feature subsets the following features:
References a collaboration use which indicates the collaboration that represents this classifier.
setRepresentation(CollaborationUse)
,
UMLPackage.getClassifier_Representation()
void setRepresentation(CollaborationUse value)
Representation
' reference.
value
- the new value of the 'Representation' reference.getRepresentation()
CollaborationUse createRepresentation(java.lang.String name)
CollaborationUse
,with the specified 'Name', and sets the 'Representation' reference.
name
- The 'Name' for the new CollaborationUse
, or null
.
CollaborationUse
.getRepresentation()
org.eclipse.emf.common.util.EList<CollaborationUse> getCollaborationUses()
CollaborationUse
.
This feature subsets the following features:
References the collaboration uses owned by the classifier.
UMLPackage.getClassifier_CollaborationUse()
CollaborationUse createCollaborationUse(java.lang.String name)
CollaborationUse
, with the specified 'Name', and appends it to the 'Collaboration Use' containment reference list.
name
- The 'Name' for the new CollaborationUse
, or null
.
CollaborationUse
.getCollaborationUses()
CollaborationUse getCollaborationUse(java.lang.String name)
CollaborationUse
with the specified 'Name' from the 'Collaboration Use' containment reference list.
name
- The 'Name' of the CollaborationUse
to retrieve, or null
.
CollaborationUse
with the specified 'Name', or null
.getCollaborationUses()
CollaborationUse getCollaborationUse(java.lang.String name, boolean ignoreCase, boolean createOnDemand)
CollaborationUse
with the specified 'Name' from the 'Collaboration Use' containment reference list.
name
- The 'Name' of the CollaborationUse
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.createOnDemand
- Whether to create a CollaborationUse
on demand if not found.
CollaborationUse
with the specified 'Name', or null
.getCollaborationUses()
boolean validateNoCyclesInGeneralization(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.
boolean validateSpecializeType(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.
boolean validateGeneralizationHierarchies(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.
boolean validateMapsToGeneralizationSet(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.
Generalization createGeneralization(Classifier general)
Generalization
, with the specified 'General', and appends it to the 'Generalization' containment reference list.
general
- The 'General' for the new Generalization
, or null
.
Generalization
.getGeneralizations()
Generalization getGeneralization(Classifier general)
Generalization
with the specified 'General' from the 'Generalization' containment reference list.
general
- The 'General' of the Generalization
to retrieve, or null
.
Generalization
with the specified 'General', or null
.getGeneralizations()
Generalization getGeneralization(Classifier general, boolean createOnDemand)
Generalization
with the specified 'General' from the 'Generalization' containment reference list.
general
- The 'General' of the Generalization
to retrieve, or null
.createOnDemand
- Whether to create a Generalization
on demand if not found.
Generalization
with the specified 'General', or null
.getGeneralizations()
org.eclipse.emf.common.util.EList<Property> getAllAttributes()
org.eclipse.emf.common.util.EList<Operation> getOperations()
org.eclipse.emf.common.util.EList<Operation> getAllOperations()
Operation getOperation(java.lang.String name, org.eclipse.emf.common.util.EList<java.lang.String> parameterNames, org.eclipse.emf.common.util.EList<Type> parameterTypes)
name
- The name of the operation to retrieve, or null.parameterNames
- The parameter names of the operation to retrieve, or null.parameterTypes
- The parameter types of the operation to retrieve, or null.
Operation getOperation(java.lang.String name, org.eclipse.emf.common.util.EList<java.lang.String> parameterNames, org.eclipse.emf.common.util.EList<Type> parameterTypes, boolean ignoreCase)
name
- The name of the operation to retrieve, or null.parameterNames
- The parameter names of the operation to retrieve, or null.parameterTypes
- The parameter types of the operation to retrieve, or null.ignoreCase
- Whether to ignore case in String comparisons.
org.eclipse.emf.common.util.EList<Interface> getUsedInterfaces()
org.eclipse.emf.common.util.EList<Interface> getAllUsedInterfaces()
boolean maySpecializeType(Classifier c)
org.eclipse.emf.common.util.EList<Feature> allFeatures()
org.eclipse.emf.common.util.EList<Classifier> parents()
org.eclipse.emf.common.util.EList<NamedElement> inheritableMembers(Classifier c)
boolean hasVisibilityOf(NamedElement n)
boolean conformsTo(Classifier other)
This operation redefines the following operations:
The query conformsTo() gives true for a classifier that defines a type that conforms to another. This is used, for example, in the specification of signature conformance for operations. result = (self=other) or (self.allParents()->includes(other))
org.eclipse.emf.common.util.EList<NamedElement> inherit(org.eclipse.emf.common.util.EList<NamedElement> inhs)
org.eclipse.emf.common.util.EList<Classifier> allParents()
|
Copyright 2003, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |