org.eclipse.uml2
Interface Stereotype
- All Superinterfaces:
- BehavioredClassifier, Class, Classifier, Element, EModelElement, EncapsulatedClassifier, EObject, NamedElement, Namespace, Notifier, PackageableElement, ParameterableElement, RedefinableElement, StructuredClassifier, TemplateableElement, Type
- public interface Stereotype
- extends Class
A representation of the model object 'Stereotype'.
- See Also:
UML2Package.getStereotype()
Method Summary |
Extension |
createExtension(EClass eClass,
boolean required)
Creates a(n) (required) extension of the specified Ecore class with this
stereotype. |
Set |
getAllExtendedEClasses()
Retrieves the set of Ecore classes extended by this stereotype, including
the Ecore classes extended by its super(stereo)types. |
String |
getKeyword()
Retrieves the keyword for this stereotype. |
Profile |
getProfile()
Retrieves the profile that owns this stereotype. |
Methods inherited from interface org.eclipse.uml2.Class |
createNestedClassifier, createOwnedOperation, createOwnedReception, getAttributes, getExtension, getExtensions, getFeatures, getGenerals, getNestedClassifier, getNestedClassifiers, getOwnedAttributes, getOwnedMembers, getOwnedOperation, getOwnedOperations, getOwnedReception, getOwnedReceptions, getSuperClass, getSuperClasses, inherit, isAbstract, isActive, isMetaclass, setIsAbstract, setIsActive |
Methods inherited from interface org.eclipse.uml2.BehavioredClassifier |
createImplementation, createOwnedBehavior, createOwnedStateMachine, createOwnedTrigger, getClassifierBehavior, getClientDependencies, getImplementation, getImplementations, getImplementedInterfaces, getOwnedBehavior, getOwnedBehaviors, getOwnedElements, getOwnedStateMachine, getOwnedStateMachines, getOwnedTrigger, getOwnedTriggers, setClassifierBehavior |
Methods inherited from interface org.eclipse.uml2.Classifier |
allFeatures, allParents, conformsTo, createGeneralization, createGeneralization, createOccurrence, createOwnedUseCase, createSubstitution, general, getAttribute, getFeature, getGeneral, getGeneralizations, getInheritedMember, getInheritedMembers, getMembers, getOccurrence, getOccurrences, getOwnedUseCase, getOwnedUseCases, getPowertypeExtent, getPowertypeExtents, getRedefinedClassifier, getRedefinedClassifiers, getRedefinedElements, getRepresentation, getSubstitution, getSubstitutions, getUseCase, getUseCases, getUsedInterfaces, hasVisibilityOf, inheritableMembers, inheritedMember, maySpecializeType, parents, setRepresentation, validateGeneralEqualsParents, validateInheritedMember, validateNoCyclesInGeneralization, validateSpecializeType |
Methods inherited from interface org.eclipse.uml2.Namespace |
createElementImport, createOwnedRule, createPackageImport, excludeCollisions, getElementImports, getImportedMember, getImportedMembers, getImportedPackages, getMember, getNamesOfMember, getOwnedRule, getOwnedRules, getPackageImports, importedMember, importElement, importMembers, importPackage, membersAreDistinguishable, validateImportedMemberDerived, validateMembersAreDistinguishable |
Methods inherited from interface org.eclipse.uml2.NamedElement |
allNamespaces, createNameExpression, getClientDependency, getName, getNameExpression, getNamespace, getOwner, getQualifiedName, getVisibility, isDistinguishableFrom, qualifiedName, separator, setName, setNameExpression, setVisibility, validateNoName, validateQualifiedName, validateVisibilityNeedsOwnership |
Methods inherited from interface org.eclipse.uml2.Element |
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getValue, hasKeyword, isApplied, isRequired, mustBeOwned, removeKeyword, setValue, unapply, validateHasOwner, validateNotOwnSelf |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
copyright
public static final String copyright
-
- See Also:
- Constant Field Values
createExtension
public Extension createExtension(EClass eClass,
boolean required)
- Creates a(n) (required) extension of the specified Ecore class with this
stereotype.
- Parameters:
eClass
- The Ecore class to be extended.required
- Whether the extension should be required.
- Returns:
- The new extension.
- Throws:
IllegalArgumentException
- If this stereotype already extends the
Ecore class.
getAllExtendedEClasses
public Set getAllExtendedEClasses()
- Retrieves the set of Ecore classes extended by this stereotype, including
the Ecore classes extended by its super(stereo)types.
- Returns:
- The Ecore classes extended by this stereotype and its
super(stereo)types.
getProfile
public Profile getProfile()
- Retrieves the profile that owns this stereotype.
- Returns:
- The profile that owns this stereotype.
getKeyword
public String getKeyword()
- Retrieves the keyword for this stereotype.
- Returns:
- The keyword for this stereotype.