public interface ClassifierTemplateParameter extends TemplateParameter
The following features are supported:
Modifier and Type | Method and Description |
---|---|
Classifier |
getConstrainingClassifier()
Returns the value of the 'Constraining Classifier' reference
|
Classifier |
getDefaultClassifier()
Returns the value of the 'Default Classifier' reference
|
boolean |
isAllowSubstitutable()
Returns the value of the 'Allow Substitutable' attribute.
|
void |
setAllowSubstitutable(boolean value)
Sets the value of the '
Allow Substitutable '
attribute |
void |
setConstrainingClassifier(Classifier value)
Sets the value of the '
Constraining Classifier ' reference |
void |
setDefaultClassifier(Classifier value)
Sets the value of the '
Default Classifier '
reference |
boolean |
validateHasConstrainingClassifier(DiagnosticChain diagnostics,
Map context)
If "allowSubstitutable" is true, then there must be a constrainingClassifier.
|
createOwnedDefault, createOwnedParameteredElement, getDefault, getOwnedDefault, getOwnedParameteredElement, getParameteredElement, getSignature, setDefault, setOwnedDefault, setOwnedParameteredElement, setParameteredElement, setSignature, validateMustBeCompatible
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
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
getEAnnotation, getEAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
boolean isAllowSubstitutable()
"true"
.
Constrains the required relationship between an actual parameter and the parameteredElement for this formal parameter.
setAllowSubstitutable(boolean)
,
UMLPackage.getClassifierTemplateParameter_AllowSubstitutable()
void setAllowSubstitutable(boolean value)
Allow Substitutable
'
attribute.
value
- the new value of the 'Allow Substitutable' attribute.isAllowSubstitutable()
Classifier getDefaultClassifier()
setDefaultClassifier(Classifier)
,
UMLPackage.getClassifierTemplateParameter_DefaultClassifier()
void setDefaultClassifier(Classifier value)
Default Classifier
'
reference.
value
- the new value of the 'Default Classifier' reference.getDefaultClassifier()
Classifier getConstrainingClassifier()
setConstrainingClassifier(Classifier)
,
UMLPackage.getClassifierTemplateParameter_ConstrainingClassifier()
void setConstrainingClassifier(Classifier value)
Constraining Classifier
' reference.
value
- the new value of the 'Constraining Classifier' reference.getConstrainingClassifier()
boolean validateHasConstrainingClassifier(DiagnosticChain diagnostics, Map context)