Package | Description |
---|---|
org.eclipse.uml2.uml | |
org.eclipse.uml2.uml.editor.presentation | |
org.eclipse.uml2.uml.resource | |
org.eclipse.uml2.uml.util |
Modifier and Type | Method and Description |
---|---|
Stereotype |
Package.createOwnedStereotype(java.lang.String name,
boolean isAbstract)
Creates a(n) (abstract) stereotype with the specified name as an owned stereotype of this profile.
|
Stereotype |
UMLFactory.createStereotype()
Returns a new object of class 'Stereotype'
|
Stereotype |
Element.getApplicableStereotype(java.lang.String qualifiedName)
Retrieves the stereotype with the specified qualified name that is applicable to this element, or null if no such stereotype is applicable.
|
Stereotype |
Element.getAppliedStereotype(java.lang.String qualifiedName)
Retrieves the stereotype with the specified qualified name that is applied to this element, or null if no such stereotype is applied.
|
Stereotype |
Element.getAppliedSubstereotype(Stereotype stereotype,
java.lang.String qualifiedName)
Retrieves the substereotype of the specified stereotype with the specified qualified name that is applied to this element, or null if no such stereotype is applied.
|
Stereotype |
Package.getOwnedStereotype(java.lang.String name)
Retrieves the first
Stereotype with the specified 'Name' from the 'Owned Stereotype' reference list |
Stereotype |
Package.getOwnedStereotype(java.lang.String name,
boolean ignoreCase)
Retrieves the first
Stereotype with the specified 'Name' from the 'Owned Stereotype' reference list |
Stereotype |
Element.getRequiredStereotype(java.lang.String qualifiedName)
Retrieves the stereotype with the specified qualified name that is required for this element, or null if no such stereotype is required.
|
Stereotype |
Extension.getStereotype()
Retrieves the stereotype that extends a metaclass through this extension
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.emf.common.util.EList<Stereotype> |
Package.allApplicableStereotypes()
The query allApplicableStereotypes() returns all the directly or indirectly owned stereotypes, including stereotypes contained in sub-profiles.
|
org.eclipse.emf.common.util.EList<Stereotype> |
Element.getApplicableStereotypes()
Retrieves the stereotypes that are applicable to this element, including those that are required and/or may already be applied
|
org.eclipse.emf.common.util.EList<Stereotype> |
Element.getAppliedStereotypes()
Retrieves the stereotypes that are applied to this element
|
org.eclipse.emf.common.util.EList<Stereotype> |
Element.getAppliedSubstereotypes(Stereotype stereotype)
Retrieves the substereotypes of the specified stereotype that are applied to this element.
|
org.eclipse.emf.common.util.EList<Stereotype> |
Package.getOwnedStereotypes()
Returns the value of the 'Owned Stereotype' reference list.
|
org.eclipse.emf.common.util.EList<Stereotype> |
Element.getRequiredStereotypes()
Retrieves the stereotypes that are required for this element
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.emf.ecore.EObject |
Element.applyStereotype(Stereotype stereotype)
Applies the specified stereotype to this element.
|
Stereotype |
Element.getAppliedSubstereotype(Stereotype stereotype,
java.lang.String qualifiedName)
Retrieves the substereotype of the specified stereotype with the specified qualified name that is applied to this element, or null if no such stereotype is applied.
|
org.eclipse.emf.common.util.EList<Stereotype> |
Element.getAppliedSubstereotypes(Stereotype stereotype)
Retrieves the substereotypes of the specified stereotype that are applied to this element.
|
org.eclipse.emf.ecore.EObject |
Element.getStereotypeApplication(Stereotype stereotype)
Retrieves the application of the specified stereotype for this element, or null if no such stereotype application exists.
|
java.lang.Object |
Element.getValue(Stereotype stereotype,
java.lang.String propertyName)
Retrieves the value of the property with the specified name in the specified stereotype for this element.
|
boolean |
Element.hasValue(Stereotype stereotype,
java.lang.String propertyName)
Determines whether this element has a (non-default) value for the property with the specified name in the specified stereotype.
|
boolean |
Element.isStereotypeApplicable(Stereotype stereotype)
Determines whether the specified stereotype is applicable to this element.
|
boolean |
Element.isStereotypeApplied(Stereotype stereotype)
Determines whether the specified stereotype is applied to this element.
|
boolean |
Element.isStereotypeRequired(Stereotype stereotype)
Determines whether the specified stereotype is required for this element.
|
void |
Element.setValue(Stereotype stereotype,
java.lang.String propertyName,
java.lang.Object newValue)
Sets the value of the property with the specified name in the specified stereotype for this element.
|
org.eclipse.emf.ecore.EObject |
Element.unapplyStereotype(Stereotype stereotype)
Unapplies the specified stereotype from this element.
|
Modifier and Type | Method and Description |
---|---|
protected org.eclipse.emf.ecore.ENamedElement |
UMLEditor.UMLPasteFromClipboardCommand.getAppliedDefinition(Package nearestPackage,
Stereotype stereotype) |
Modifier and Type | Method and Description |
---|---|
protected Stereotype |
CMOF2UMLResourceHandler.getEcoreStereotype(org.eclipse.emf.ecore.EObject eObject,
java.lang.String name) |
protected Stereotype |
UML302UMLResourceHandler.getUML2Stereotype(Element element,
java.lang.String name) |
protected Stereotype |
UML22UMLResourceHandler.getUML2Stereotype(Element element,
java.lang.String name) |
protected Stereotype |
UML212UMLResourceHandler.getUML2Stereotype(Element element,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
protected Stereotype |
UMLUtil.UML2EcoreConverter.getAppliedEcoreStereotype(Element element,
java.lang.String name) |
protected Stereotype |
UMLUtil.Ecore2UMLConverter.getEcoreStereotype(org.eclipse.emf.ecore.EModelElement eModelElement,
java.lang.String name) |
protected Stereotype |
UMLUtil.Ecore2UMLConverter.getEcoreStereotype(org.eclipse.emf.ecore.EObject eObject,
java.lang.String name) |
protected static Stereotype |
UMLUtil.getStereotype(org.eclipse.emf.ecore.EClass definition) |
protected static Stereotype |
UMLUtil.getStereotype(org.eclipse.emf.ecore.EClass definition,
org.eclipse.emf.ecore.EObject stereotypeApplication) |
static Stereotype |
UMLUtil.getStereotype(org.eclipse.emf.ecore.EObject stereotypeApplication)
Retrieves the stereotype for which the specified object represents an
application.
|
Modifier and Type | Method and Description |
---|---|
boolean |
UMLUtil.StereotypeApplicationHelper.addToContainmentList(Element element,
org.eclipse.emf.ecore.EObject stereotypeApplication,
Stereotype stereotype) |
protected static org.eclipse.emf.ecore.EObject |
UMLUtil.applyStereotype(Element element,
org.eclipse.emf.ecore.EClass definition,
Stereotype stereotype) |
org.eclipse.emf.ecore.EObject |
UMLUtil.StereotypeApplicationHelper.applyStereotype(Element element,
org.eclipse.emf.ecore.EClass definition,
Stereotype stereotype) |
T |
UMLSwitch.caseStereotype(Stereotype object)
Returns the result of interpreting the object as an instance of 'Stereotype'
|
protected org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> |
UMLUtil.StereotypeApplicationHelper.getContainmentList(Element element,
org.eclipse.emf.ecore.EClass definition,
Stereotype stereotype) |
protected static Property |
UMLUtil.getTagDefinition(Stereotype stereotype,
java.lang.String propertyName) |
protected void |
UMLUtil.Ecore2UMLConverter.processEcoreTaggedValue(Element element,
Stereotype stereotype,
java.lang.String propertyName,
org.eclipse.emf.ecore.EModelElement eModelElement,
org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature,
java.util.Map<java.lang.String,java.lang.String> options,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
protected void |
UMLUtil.Ecore2UMLConverter.processEcoreTaggedValue(Element element,
Stereotype stereotype,
java.lang.String propertyName,
java.lang.Object value,
java.util.Map<java.lang.String,java.lang.String> options,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
protected void |
UMLUtil.UML2EcoreConverter.processEcoreTaggedValue(org.eclipse.emf.ecore.EModelElement eModelElement,
org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature,
Element element,
Stereotype stereotype,
java.lang.String propertyName,
java.util.Map<java.lang.String,java.lang.String> options,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
boolean |
UMLUtil.StereotypeApplicationHelper.removeFromContainmentList(Element element,
org.eclipse.emf.ecore.EObject stereotypeApplication,
Stereotype stereotype) |
static org.eclipse.emf.ecore.EObject |
UMLUtil.safeApplyStereotype(Element element,
Stereotype stereotype)
Safely applies the specified stereotype to the specified element, i.e.
|
static boolean |
UMLUtil.setTaggedValue(Element element,
Stereotype stereotype,
java.lang.String propertyName,
java.lang.Object value)
Sets the value of the specified property of the specified stereotype
application on the specified element.
|
boolean |
UMLValidator.validateStereotype_validateAssociationEndOwnership(Stereotype stereotype,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Validates the validateAssociationEndOwnership constraint of 'Stereotype'
|
boolean |
UMLValidator.validateStereotype_validateBasePropertyMultiplicityMultipleExtension(Stereotype stereotype,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Validates the validateBasePropertyMultiplicityMultipleExtension constraint of 'Stereotype'
|
boolean |
UMLValidator.validateStereotype_validateBasePropertyMultiplicitySingleExtension(Stereotype stereotype,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Validates the validateBasePropertyMultiplicitySingleExtension constraint of 'Stereotype'
|
boolean |
UMLValidator.validateStereotype_validateBasePropertyUpperBound(Stereotype stereotype,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Validates the validateBasePropertyUpperBound constraint of 'Stereotype'
|
boolean |
UMLValidator.validateStereotype_validateBinaryAssociationsOnly(Stereotype stereotype,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Validates the validateBinaryAssociationsOnly constraint of 'Stereotype'
|
boolean |
UMLValidator.validateStereotype_validateGeneralize(Stereotype stereotype,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Validates the validateGeneralize constraint of 'Stereotype'
|
boolean |
UMLValidator.validateStereotype_validateNameNotClash(Stereotype stereotype,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Validates the validateNameNotClash constraint of 'Stereotype'
|
boolean |
UMLValidator.validateStereotype(Stereotype stereotype,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |