|
||||||||||
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 represents a classification of instances according to their Features.
From package UML::Classification.
The following features are supported:
Feature
Attribute
Collaboration Use
General
Generalization
Powertype Extent
Inherited Member
Is Abstract
Is Final Specialization
Owned Use Case
Use Case
Redefined Classifier
Representation
Substitution
UMLPackage.getClassifier()
Field Summary |
---|
Fields inherited from interface org.eclipse.uml2.uml.NamedElement |
---|
SEPARATOR |
Method Summary | |
---|---|
org.eclipse.emf.common.util.EList<Property> |
allAttributes()
The query allAttributes gives an ordered set of all owned and inherited attributes of the Classifier. |
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. |
org.eclipse.emf.common.util.EList<Interface> |
allRealizedInterfaces()
The Interfaces realized by this Classifier and all of its generalizations result = (directlyRealizedInterfaces()->union(self.allParents()->collect(directlyRealizedInterfaces()))->asSet()) From package UML::Classification. |
org.eclipse.emf.common.util.EList<StructuralFeature> |
allSlottableFeatures()
All StructuralFeatures related to the Classifier that may have Slots, including direct attributes, inherited attributes, private attributes in generalizations, and memberEnds of Associations, but excluding redefined StructuralFeatures. |
org.eclipse.emf.common.util.EList<Interface> |
allUsedInterfaces()
The Interfaces used by this Classifier and all of its generalizations result = (directlyUsedInterfaces()->union(self.allParents()->collect(directlyUsedInterfaces()))->asSet()) From package UML::Classification. |
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<Interface> |
directlyRealizedInterfaces()
The Interfaces directly realized by this Classifier result = ((clientDependency-> select(oclIsKindOf(Realization) and supplier->forAll(oclIsKindOf(Interface))))-> collect(supplier.oclAsType(Interface))->asSet()) From package UML::Classification. |
org.eclipse.emf.common.util.EList<Interface> |
directlyUsedInterfaces()
The Interfaces directly used by this Classifier result = ((supplierDependency-> select(oclIsKindOf(Usage) and client->forAll(oclIsKindOf(Interface))))-> collect(client.oclAsType(Interface))->asSet()) From package UML::Classification. |
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 NamedElement is visible in the classifier. |
org.eclipse.emf.common.util.EList<NamedElement> |
inherit(org.eclipse.emf.common.util.EList<NamedElement> inhs)
The query inherit() defines how to inherit a set of elements passed as its argument. |
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 |
isFinalSpecialization()
Returns the value of the 'Is Final Specialization' attribute. |
boolean |
isSubstitutableFor(Classifier contract)
result = (substitution.contract->includes(contract)) From package UML::Classification. |
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 |
setIsFinalSpecialization(boolean value)
Sets the value of the ' Is Final Specialization ' attribute |
void |
setRepresentation(CollaborationUse value)
Sets the value of the ' Representation ' reference |
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 |
validateNonFinalParents(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
The parents of a Classifier must be non-final. |
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.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 |
---|
boolean isAbstract()
"false"
.
If true, the Classifier can only be instantiated by instantiating one of its specializations. An abstract Classifier is intended to be used by other Classifiers e.g., as the target of Associations or Generalizations.
From package UML::Classification.
setIsAbstract(boolean)
,
UMLPackage.getClassifier_IsAbstract()
void setIsAbstract(boolean value)
Is Abstract
' attribute.
value
- the new value of the 'Is Abstract' attribute.isAbstract()
boolean isFinalSpecialization()
"false"
.
If true, the Classifier cannot be specialized.
From package UML::Classification.
setIsFinalSpecialization(boolean)
,
UMLPackage.getClassifier_IsFinalSpecialization()
void setIsFinalSpecialization(boolean value)
Is Final Specialization
' attribute.
value
- the new value of the 'Is Final Specialization' attribute.isFinalSpecialization()
org.eclipse.emf.common.util.EList<Generalization> getGeneralizations()
Generalization
.
It is bidirectional and its opposite is 'Specific
'.
This feature subsets the following features:
The Generalization relationships for this Classifier. These Generalizations navigate to more general Classifiers in the generalization hierarchy.From package UML::Classification.
UMLPackage.getClassifier_Generalization()
,
Generalization.getSpecific()
org.eclipse.emf.common.util.EList<GeneralizationSet> getPowertypeExtents()
GeneralizationSet
.
It is bidirectional and its opposite is 'Powertype
'.
The GeneralizationSet of which this Classifier is a power type.
From package UML::Classification.
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
'From package UML::Classification.
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
'From package UML::Classification.
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:
The Classifiers redefined by this Classifier.From package UML::Classification.
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
.
The generalizing Classifiers for this Classifier.
From package UML::Classification.
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:
The UseCases owned by this classifier.From package UML::Classification.
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 UseCases for which this Classifier is the subject.
From package UML::Classification.
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:
The Substitutions owned by this Classifier.From package UML::Classification.
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
'From package UML::Classification.
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:
A CollaborationUse which indicates the Collaboration that represents this Classifier.From package UML::Classification.
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:
The CollaborationUses owned by the Classifier.From package UML::Classification.
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 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.
boolean validateNonFinalParents(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)
From package UML::Classification.
org.eclipse.emf.common.util.EList<Feature> allFeatures()
From package UML::Classification.
org.eclipse.emf.common.util.EList<Classifier> parents()
From package UML::Classification.
org.eclipse.emf.common.util.EList<Interface> directlyRealizedInterfaces()
From package UML::Classification.
org.eclipse.emf.common.util.EList<Interface> directlyUsedInterfaces()
From package UML::Classification.
org.eclipse.emf.common.util.EList<Interface> allRealizedInterfaces()
From package UML::Classification.
org.eclipse.emf.common.util.EList<Interface> allUsedInterfaces()
From package UML::Classification.
boolean isSubstitutableFor(Classifier contract)
From package UML::Classification.
org.eclipse.emf.common.util.EList<Property> allAttributes()
From package UML::Classification.
org.eclipse.emf.common.util.EList<StructuralFeature> allSlottableFeatures()
From package UML::Classification.
org.eclipse.emf.common.util.EList<NamedElement> inheritableMembers(Classifier c)
From package UML::Classification.
boolean hasVisibilityOf(NamedElement n)
From package UML::Classification.
org.eclipse.emf.common.util.EList<NamedElement> inherit(org.eclipse.emf.common.util.EList<NamedElement> inhs)
From package UML::Classification.
org.eclipse.emf.common.util.EList<Classifier> allParents()
From package UML::Classification.
|
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 |