|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A representation of the model object 'Classifier Template Parameter'. A classifier template parameter exposes a classifier as a formal template parameter.
The following features are supported:
UMLPackage.getClassifierTemplateParameter()| Method Summary | |
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. |
| Methods inherited from interface org.eclipse.uml2.uml.TemplateParameter |
createOwnedDefault, createOwnedParameteredElement, getDefault, getOwnedDefault, getOwnedParameteredElement, getParameteredElement, getSignature, setDefault, setOwnedDefault, setOwnedParameteredElement, setParameteredElement, setSignature, validateMustBeCompatible |
| 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, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |
| Method Detail |
public boolean isAllowSubstitutable()
"true".
Constrains the required relationship between an actual parameter and the parameteredElement for this formal parameter.
ClassifierTemplateParameter.setAllowSubstitutable(boolean),
UMLPackage.getClassifierTemplateParameter_AllowSubstitutable()public void setAllowSubstitutable(boolean value)
Allow Substitutable' attribute.
value - the new value of the 'Allow Substitutable' attribute.ClassifierTemplateParameter.isAllowSubstitutable()public Classifier getDefaultClassifier()
ClassifierTemplateParameter.setDefaultClassifier(Classifier),
UMLPackage.getClassifierTemplateParameter_DefaultClassifier()public void setDefaultClassifier(Classifier value)
Default Classifier' reference.
value - the new value of the 'Default Classifier' reference.ClassifierTemplateParameter.getDefaultClassifier()public Classifier getConstrainingClassifier()
ClassifierTemplateParameter.setConstrainingClassifier(Classifier),
UMLPackage.getClassifierTemplateParameter_ConstrainingClassifier()public void setConstrainingClassifier(Classifier value)
Constraining Classifier' reference.
value - the new value of the 'Constraining Classifier' reference.ClassifierTemplateParameter.getConstrainingClassifier()
public boolean validateHasConstrainingClassifier(DiagnosticChain diagnostics,
Map context)
|
Copyright 2003, 2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||