Package org.modelversioning.emfprofile
Interface Stereotype
-
- All Superinterfaces:
EClass
,EClassifier
,EModelElement
,ENamedElement
,EObject
,Notifier
- All Known Implementing Classes:
StereotypeImpl
public interface Stereotype extends EClass
A representation of the model object 'Stereotype'.The following features are supported:
- See Also:
EMFProfilePackage.getStereotype()
- 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EList<Extension>
getAllExtensions()
EList<Extension>
getApplicableExtensions(EClass eClass)
EList<Extension>
getApplicableExtensions(EObject eObject)
EList<Extension>
getApplicableExtensions(EObject eObject, EList<Extension> appliedExtensions)
EList<Extension>
getExtensions()
Returns the value of the 'Extensions' containment reference list.String
getIconPath()
Returns the value of the 'Icon Path' attribute.Profile
getProfile()
EStructuralFeature
getTaggedValue(String name)
EList<EStructuralFeature>
getTaggedValues()
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
isMetaBase()
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 Detail
-
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:
setIconPath(String)
,EMFProfilePackage.getStereotype_IconPath()
- Generated class or method.
- NOT
- EMF model class or method.
-
setIconPath
void setIconPath(String value)
Sets the value of the 'Icon Path
' attribute.- Parameters:
value
- the new value of the 'Icon Path' attribute.- See Also:
getIconPath()
- 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:
setMetaBase(boolean)
,EMFProfilePackage.getStereotype_MetaBase()
- 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:
isMetaBase()
- Generated class or method.
-
isApplicable
boolean isApplicable(EClass eClass)
Returnstrue
if this stereotype is applicable to the specifiedeClass
.- Generated class or method.
- NOT
- EMF model class or method.
- required="true"
-
isApplicable
boolean isApplicable(EObject eObject)
Returnstrue
if this stereotype is applicable to the specifiedeClass
.- Generated class or method.
- NOT
- EMF model class or method.
- required="true" eObjectRequired="true"
-
isApplicable
boolean isApplicable(EObject eObject, EList<Extension> appliedExtensions)
- Generated class or method.
- EMF model class or method.
- required="true" eObjectRequired="true" appliedExtensionsMany="true" appliedExtensionsOrdered="false"
-
isApplicable
boolean isApplicable(EObject eObject, Extension extension, EList<Extension> appliedExtensions)
- 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
EList<Extension> 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
EStructuralFeature getTaggedValue(String name)
- Generated class or method.
- EMF model class or method.
- nameRequired="true"
-
getApplicableExtensions
EList<Extension> getApplicableExtensions(EObject eObject, EList<Extension> appliedExtensions)
- Generated class or method.
- EMF model class or method.
- eObjectRequired="true" appliedExtensionsMany="true" appliedExtensionsOrdered="false"
-
getApplicableExtensions
EList<Extension> getApplicableExtensions(EClass eClass)
- Generated class or method.
- EMF model class or method.
- eClassRequired="true"
-
getApplicableExtensions
EList<Extension> getApplicableExtensions(EObject eObject)
- 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
EList<Extension> 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:
EMFProfilePackage.getStereotype_Extensions()
,Extension.getSource()
- Generated class or method.
- EMF model class or method.
- opposite="source" containment="true"
-
-