Package com.sodius.mdw.metamodel.uml21
Interface RedefinableTemplateSignature
-
- All Superinterfaces:
Comparable<Object>
,Element
,org.eclipse.emf.ecore.EModelElement
,org.eclipse.emf.ecore.EObject
,MDWEObject
,MDWObject
,NamedElement
,org.eclipse.emf.common.notify.Notifier
,RedefinableElement
,TemplateSignature
public interface RedefinableTemplateSignature extends RedefinableElement, TemplateSignature
A representation of the model object 'Redefinable Template Signature'. A redefinable template signature supports the addition of formal template parameters in a specialization of a template classifier.The following features are supported:
-
-
Field Summary
-
Fields inherited from interface com.sodius.mdw.metamodel.uml21.NamedElement
SEPARATOR
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Classifier
getClassifier()
Returns the value of the 'Classifier' reference.RedefinableTemplateSignature
getExtendedSignature(String name)
Retrieves the firstRedefinableTemplateSignature
with the specified 'Name' from the ' Extended Signature' reference list.RedefinableTemplateSignature
getExtendedSignature(String name, boolean ignoreCase)
Retrieves the firstRedefinableTemplateSignature
with the specified 'Name' from the ' Extended Signature' reference list.MDWEList<RedefinableTemplateSignature>
getExtendedSignatures()
Returns the value of the 'Extended Signature' reference list.MDWEList<TemplateParameter>
getInheritedParameters()
Returns the value of the 'Inherited Parameter' reference list.boolean
validateInheritedParameters(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)
The inherited parameters are the parameters of the extended template signature.-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.Element
addKeyword, allOwnedElements, applyStereotype, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedSubstereotype, getAppliedSubstereotypes, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getRelationships, getRelationships, getRequiredStereotype, getRequiredStereotypes, getSourceDirectedRelationships, getSourceDirectedRelationships, getStereotypeApplication, getStereotypeApplications, getTargetDirectedRelationships, getTargetDirectedRelationships, getValue, hasKeyword, hasValue, isStereotypeApplicable, isStereotypeApplied, isStereotypeRequired, mustBeOwned, removeKeyword, setValue, unapplyStereotype, 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, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface com.sodius.mdw.core.model.MDWObject
compareTo, eExtendedClass, eIsInstanceOf, eIsInstanceOf, eIsProfiled, eIsRemoved, eMetamodel, eMetaTypeName, eModel, eRemove, eSetUniqueID, eUniqueID, superScript, superScript, toBoolean, toBoolean, toByte, toByte, toChar, toChar, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toList, toList, toList, toList, toList, toLong, toLong, toObject, toObject, toSet, toSet, toShort, toShort, toString, toString
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.NamedElement
allNamespaces, allOwningPackages, createDependency, createNameExpression, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnership
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.RedefinableElement
getRedefinedElement, getRedefinedElement, getRedefinedElements, getRedefinitionContext, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.TemplateSignature
createOwnedParameter, createOwnedParameter, getOwnedParameters, getParameters, getTemplate, setTemplate, validateOwnElements
-
-
-
-
Method Detail
-
getExtendedSignatures
MDWEList<RedefinableTemplateSignature> getExtendedSignatures()
Returns the value of the 'Extended Signature' reference list. The list contents are of typeRedefinableTemplateSignature
. The template signature that is extended by this template signature.- Returns:
- the value of the 'Extended Signature' reference list.
- See Also:
UMLPackage.getRedefinableTemplateSignature_ExtendedSignature()
-
getExtendedSignature
RedefinableTemplateSignature getExtendedSignature(String name)
Retrieves the firstRedefinableTemplateSignature
with the specified 'Name' from the ' Extended Signature' reference list.- Parameters:
name
- The 'Name' of theRedefinableTemplateSignature
to retrieve, ornull
.- Returns:
- The first
RedefinableTemplateSignature
with the specified 'Name', ornull
. - See Also:
getExtendedSignatures()
-
getExtendedSignature
RedefinableTemplateSignature getExtendedSignature(String name, boolean ignoreCase)
Retrieves the firstRedefinableTemplateSignature
with the specified 'Name' from the ' Extended Signature' reference list.- Parameters:
name
- The 'Name' of theRedefinableTemplateSignature
to retrieve, ornull
.ignoreCase
- Whether to ignore case inString
comparisons.- Returns:
- The first
RedefinableTemplateSignature
with the specified 'Name', ornull
. - See Also:
getExtendedSignatures()
-
getInheritedParameters
MDWEList<TemplateParameter> getInheritedParameters()
Returns the value of the 'Inherited Parameter' reference list. The list contents are of typeTemplateParameter
. The formal template parameters of the extendedSignature.- Returns:
- the value of the 'Inherited Parameter' reference list.
- See Also:
UMLPackage.getRedefinableTemplateSignature_InheritedParameter()
-
getClassifier
Classifier getClassifier()
Returns the value of the 'Classifier' reference. The classifier that owns this template signature.- Returns:
- the value of the 'Classifier' reference.
- See Also:
UMLPackage.getRedefinableTemplateSignature_Classifier()
-
validateInheritedParameters
boolean validateInheritedParameters(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)
The inherited parameters are the parameters of the extended template signature. if extendedSignature->isEmpty() then Set{} else extendedSignature.parameter endif
-
-