Interface ClassifierTemplateParameter
- All Superinterfaces:
BaseElement
,Cloneable
,Comparable
,Element
,org.eclipse.emf.ecore.EObject
,MDObject
,com.dassault_systemes.modeler.foundation.model.ModelElement
,ModelObject
,org.eclipse.emf.common.notify.Notifier
,javax.jmi.reflect.RefBaseObject
,javax.jmi.reflect.RefFeatured
,javax.jmi.reflect.RefObject
,TemplateParameter
A representation of the model object 'Classifier Template Parameter'.
A ClassifierTemplateParameter exposes a Classifier as a formal template parameter.
The following features are supported:
- See Also:
- Model:
- annotation="MOF package='auxiliaryconstructs.mdtemplates'"
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Constraining Classifier' reference list.Returns the value of the 'Parametered Element' reference.boolean
boolean
Returns the value of the 'Allow Substitutable' attribute.void
setAllowSubstitutable
(boolean value) Sets the value of the 'Allow Substitutable
' attribute.void
setParameteredElement
(Classifier value) Sets the value of the 'Parametered Element
' reference.Methods inherited from interface com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, isEditable, removePropertyChangeListener, sGetID
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementTaggedValue, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotype, getOwnedComment, getOwnedElement, getOwner, getSyncElement, getTaggedValue, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasAppliedStereotype, hasElementTaggedValue, hasOwnedComment, hasOwnedElement, hasTaggedValue, setOwner, setSyncElement
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.nomagic.magicdraw.foundation.MDObject
getID, getMDExtension, getMdExtensions, setID
Methods inherited from interface com.dassault_systemes.modeler.foundation.model.ModelElement
canChangeElementOwner, eDynamicGet, getElementOwner, getLocalID, getObjectParent, setLocalID, sGetLocalID
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, ignoringRefGetValue, ignoringRefGetValue, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationText
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refInvokeOperation, refInvokeOperation, refSetValue
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.auxiliaryconstructs.mdtemplates.TemplateParameter
get_templateParameterSubstitutionOfFormal, get_templateSignatureOfParameter, getDefault, getOwnedDefault, getOwnedParameteredElement, getSignature, has_templateParameterSubstitutionOfFormal, has_templateSignatureOfParameter, setDefault, setOwnedDefault, setOwnedParameteredElement, setParameteredElement, setSignature
-
Method Details
-
isAllowSubstitutable
boolean isAllowSubstitutable()Returns the value of the 'Allow Substitutable' attribute. The default value is"true"
. Constrains the required relationship between an actual parameter and the parameteredElement for this formal parameter.- Returns:
- the value of the 'Allow Substitutable' attribute.
- See Also:
- Model:
- default="true" dataType="com.nomagic.uml2.ext.magicdraw.Boolean" required="true" ordered="false"
- Generated:
-
setAllowSubstitutable
void setAllowSubstitutable(boolean value) Sets the value of the 'Allow Substitutable
' attribute.- Parameters:
value
- the new value of the 'Allow Substitutable' attribute.- See Also:
- Generated:
-
getConstrainingClassifier
Collection<Classifier> getConstrainingClassifier()Returns the value of the 'Constraining Classifier' reference list. The list contents are of typeClassifier
. It is bidirectional and its opposite is '.Classifier#get_classifierTemplateParameterOfConstrainingClassifier classifier Template Parameter Of Constraining Classifier
'. The classifiers that constrain the argument that can be used for the parameter. If the allowSubstitutable attribute is true, then any Classifier that is compatible with this constraining Classifier can be substituted; otherwise, it must be either this Classifier or one of its specializations. If this property is empty, there are no constraints on the Classifier that can be used as an argument.- Returns:
- the value of the 'Constraining Classifier' reference list.
- See Also:
- Model:
- opposite="_classifierTemplateParameterOfConstrainingClassifier" ordered="false"
- Generated:
-
getParameteredElement
Returns the value of the 'Parametered Element' reference. It is bidirectional and its opposite is 'Template Parameter
'. The Classifier exposed by this ClassifierTemplateParameter.- Specified by:
getParameteredElement
in interfaceTemplateParameter
- Returns:
- the value of the 'Parametered Element' reference.
- See Also:
- Model:
- opposite="templateParameter" required="true" ordered="false"
- Generated:
-
setParameteredElement
Sets the value of the 'Parametered Element
' reference.- Parameters:
value
- the new value of the 'Parametered Element' reference.- See Also:
- Generated:
-
hasConstrainingClassifier
boolean hasConstrainingClassifier() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException
- Generated:
-