Package org.modelversioning.emfprofile
Interface Stereotype
- All Superinterfaces:
EClass
,EClassifier
,EModelElement
,ENamedElement
,EObject
,Notifier
- All Known Implementing Classes:
StereotypeImpl
A representation of the model object 'Stereotype'.
The following features are supported:
- See Also:
- Generated class or method.
- EMF model class or method.
- annotation="http://www.eclipse.org/emf/2002/Ecore constraints='uniqueExtensions'" annotation="http://www.eclipse.org/emf/2002/Ecore/OCL uniqueExtensions='self.extensions->size() > 1 implies self.extensions->forAll(ex1 : Extension, ex2 : Extension | ex1 <> ex2 implies ex1.target <> ex2.target)'"
-
Method Summary
Modifier and TypeMethodDescriptiongetApplicableExtensions
(EClass eClass) getApplicableExtensions
(EObject eObject) getApplicableExtensions
(EObject eObject, EList<Extension> appliedExtensions) Returns the value of the 'Extensions' containment reference list.Returns the value of the 'Icon Path' attribute.getTaggedValue
(String name) boolean
hasIcon()
boolean
isApplicable
(EClass eClass) Returnstrue
if this stereotype is applicable to the specifiedeClass
.boolean
isApplicable
(EObject eObject) Returnstrue
if this stereotype is applicable to the specifiedeClass
.boolean
isApplicable
(EObject eObject, EList<Extension> appliedExtensions) boolean
isApplicable
(EObject eObject, Extension extension, EList<Extension> appliedExtensions) boolean
Returns the value of the 'Meta Base' attribute.void
setIconPath
(String value) Sets the value of the 'Icon Path
' attribute.void
setMetaBase
(boolean value) Sets the value of the 'Meta Base
' attribute.Methods inherited from interface org.eclipse.emf.ecore.EClass
getEAllAttributes, getEAllContainments, getEAllGenericSuperTypes, getEAllOperations, getEAllReferences, getEAllStructuralFeatures, getEAllSuperTypes, getEAttributes, getEGenericSuperTypes, getEIDAttribute, getEOperation, getEOperations, getEReferences, getEStructuralFeature, getEStructuralFeature, getEStructuralFeatures, getESuperTypes, getFeatureCount, getFeatureID, getFeatureType, getOperationCount, getOperationID, getOverride, isAbstract, isInterface, isSuperTypeOf, setAbstract, setInterface
Methods inherited from interface org.eclipse.emf.ecore.EClassifier
getClassifierID, getDefaultValue, getEPackage, getETypeParameters, getInstanceClass, getInstanceClassName, getInstanceTypeName, isInstance, setInstanceClass, setInstanceClassName, setInstanceTypeName
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
Methods inherited from interface org.eclipse.emf.ecore.ENamedElement
getName, setName
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
-
Method Details
-
getIconPath
String getIconPath()Returns the value of the 'Icon Path' attribute.The path of to an icon for this stereotype.
- Returns:
- the value of the 'Icon Path' attribute.
- See Also:
- Generated class or method.
- NOT
- EMF model class or method.
-
setIconPath
Sets the value of the 'Icon Path
' attribute.- Parameters:
value
- the new value of the 'Icon Path' attribute.- See Also:
- Generated class or method.
-
isMetaBase
boolean isMetaBase()Returns the value of the 'Meta Base' attribute. The default value is"false"
.Specifies whether this stereotype is a meta stereotype (i.e., is applicable to all instances of instances of
EClass
) or whether it is a usual stereotype.- Returns:
- the value of the 'Meta Base' attribute.
- See Also:
- Generated class or method.
- NOT
- EMF model class or method.
- default="false" required="true"
-
setMetaBase
void setMetaBase(boolean value) Sets the value of the 'Meta Base
' attribute.- Parameters:
value
- the new value of the 'Meta Base' attribute.- See Also:
- Generated class or method.
-
isApplicable
Returnstrue
if this stereotype is applicable to the specifiedeClass
.- Generated class or method.
- NOT
- EMF model class or method.
- required="true"
-
isApplicable
Returnstrue
if this stereotype is applicable to the specifiedeClass
.- Generated class or method.
- NOT
- EMF model class or method.
- required="true" eObjectRequired="true"
-
isApplicable
- Generated class or method.
- EMF model class or method.
- required="true" eObjectRequired="true" appliedExtensionsMany="true" appliedExtensionsOrdered="false"
-
isApplicable
- Generated class or method.
- EMF model class or method.
- required="true" eObjectRequired="true" extensionRequired="true" appliedExtensionsMany="true" appliedExtensionsOrdered="false"
-
getProfile
Profile getProfile()- Generated class or method.
- EMF model class or method.
- kind="operation" required="true"
-
getAllExtensions
- Generated class or method.
- EMF model class or method.
- kind="operation" unique="false"
-
getTaggedValues
EList<EStructuralFeature> getTaggedValues()- Generated class or method.
- EMF model class or method.
- kind="operation"
-
getTaggedValue
- Generated class or method.
- EMF model class or method.
- nameRequired="true"
-
getApplicableExtensions
- Generated class or method.
- EMF model class or method.
- eObjectRequired="true" appliedExtensionsMany="true" appliedExtensionsOrdered="false"
-
getApplicableExtensions
- Generated class or method.
- EMF model class or method.
- eClassRequired="true"
-
getApplicableExtensions
- Generated class or method.
- EMF model class or method.
- eObjectRequired="true"
-
hasIcon
boolean hasIcon()- Generated class or method.
- EMF model class or method.
- required="true"
-
getExtensions
Returns the value of the 'Extensions' containment reference list. The list contents are of typeExtension
. It is bidirectional and its opposite is 'Source
'.- Returns:
- the value of the 'Extensions' containment reference list.
- See Also:
- Generated class or method.
- EMF model class or method.
- opposite="source" containment="true"
-