|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
A representation of the model object 'Stereotype'.
UML2Package.getStereotype()| Field Summary | |
|---|---|
static java.lang.String |
copyright
|
| Fields inherited from interface org.eclipse.uml2.NamedElement |
|---|
SEPARATOR |
| Method Summary | |
|---|---|
Extension |
createExtension(Class metaclass,
boolean required)
Creates a(n) (required) extension of the specified metaclass with this stereotype. |
Extension |
createExtension(EClass eClass,
boolean required)
Deprecated. Use createExtension(org.eclipse.uml2.Class, boolean) instead. |
java.util.Set |
getAllExtendedEClasses()
Deprecated. Use getAllExtendedMetaclasses() instead. |
java.util.Set |
getAllExtendedMetaclasses()
Retrieves the metaclasses extended by this stereotype, including the metaclasses extended by its super(stereo)types. |
java.util.Set |
getExtendedMetaclasses()
Retrieves the metaclasses extended by this stereotype. |
java.lang.String |
getKeyword()
Retrieves the localized keyword for this stereotype. |
java.lang.String |
getKeyword(boolean localize)
Retrieves the keyword for this stereotype, localized if indicated. |
Profile |
getProfile()
Retrieves the profile that owns this stereotype. |
| Methods inherited from interface org.eclipse.uml2.Class |
|---|
createNestedClassifier, createOwnedAttribute, createOwnedOperation, createOwnedOperation, createOwnedOperation, createOwnedReception, createOwnedReception, getExtension, getExtensions, getNestedClassifier, getNestedClassifiers, getOwnedOperation, getOwnedOperations, getOwnedReception, getOwnedReceptions, getSuperClass, getSuperClasses, isActive, isMetaclass, setIsActive |
| Methods inherited from interface org.eclipse.uml2.NamedElement |
|---|
allNamespaces, createDependency, createNameExpression, createNameExpression, getClientDependencies, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, qualifiedName, separator, setName, setNameExpression, setVisibility, validateNoName, validateQualifiedName, validateVisibilityNeedsOwnership |
| Methods inherited from interface org.eclipse.uml2.TemplateableElement |
|---|
createOwnedTemplateSignature, createOwnedTemplateSignature, createTemplateBinding, createTemplateBinding, getOwnedTemplateSignature, getTemplateBindings, parameterableElements, setOwnedTemplateSignature |
| Methods inherited from interface org.eclipse.uml2.Element |
|---|
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getValue, hasKeyword, hasValue, isApplied, isRequired, mustBeOwned, removeKeyword, setValue, unapply, validateHasOwner, validateNotOwnSelf |
| 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, 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.Type |
|---|
conformsTo, createAssociation, getPackage |
| Methods inherited from interface org.eclipse.uml2.PackageableElement |
|---|
getPackageableElement_visibility, setPackageableElement_visibility |
| Methods inherited from interface org.eclipse.uml2.ParameterableElement |
|---|
getOwningParameter, getTemplateParameter, setOwningParameter, setTemplateParameter |
| Methods inherited from interface org.eclipse.uml2.RedefinableElement |
|---|
getRedefinedElement, getRedefinedElements, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid |
| Methods inherited from interface org.eclipse.uml2.EncapsulatedClassifier |
|---|
createOwnedPort, createOwnedPort, getOwnedPort, getOwnedPorts |
| Methods inherited from interface org.eclipse.uml2.StructuredClassifier |
|---|
createOwnedAttribute, createOwnedAttribute, createOwnedConnector, createOwnedConnector, getOwnedAttribute, getOwnedAttributes, getOwnedConnector, getOwnedConnectors, getPart, getParts, getRole, getRoles |
| Field Detail |
public static final java.lang.String copyright
| Method Detail |
public Extension createExtension(EClass eClass,
boolean required)
eClass - The Ecore class to be extended.required - Whether the extension should be required.
java.lang.IllegalArgumentException - If this stereotype already extends (a subclass of) the Ecore
class.public java.util.Set getAllExtendedEClasses()
public Profile getProfile()
public java.lang.String getKeyword()
public java.lang.String getKeyword(boolean localize)
localize - Whether the keyword should be localized.
public Extension createExtension(Class metaclass,
boolean required)
metaclass - The metaclass to be extended.required - Whether the extension should be required.
java.lang.IllegalArgumentException - If this stereotype or any of its super(stereo)types already
extends the metaclass.public java.util.Set getExtendedMetaclasses()
public java.util.Set getAllExtendedMetaclasses()
|
Copyright 2003, 2005 IBM Corporation and others. All Rights Reserved. |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||