Interface TemplateParameter
- 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
- All Known Subinterfaces:
ClassifierTemplateParameter,ConnectableElementTemplateParameter,OperationTemplateParameter
A representation of the model object 'Template Parameter'.
A TemplateParameter exposes a ParameterableElement as a formal parameter of a template.
The following features are supported:
- See Also:
- Model:
- annotation="MOF package='auxiliaryconstructs.mdtemplates'"
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'template Parameter Substitution Of Formal' reference list.Returns the value of the 'template Signature Of Parameter' reference list.Returns the value of the 'Default' reference.Returns the value of the 'Owned Default' containment reference.Returns the value of the 'Owned Parametered Element' containment reference.Returns the value of the 'Parametered Element' reference.Returns the value of the 'Signature' container reference.booleanbooleanvoidsetDefault(ParameterableElement value) Sets the value of the 'Default' reference.voidSets the value of the 'Owned Default' containment reference.voidSets the value of the 'Owned Parametered Element' containment reference.voidSets the value of the 'Parametered Element' reference.voidsetSignature(TemplateSignature value) Sets the value of the 'Signature' container reference.Methods inherited from interface com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, isEditable, removePropertyChangeListener, sGetIDMethods inherited from interface java.lang.Comparable
compareToMethods 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, setSyncElementMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface com.nomagic.magicdraw.foundation.MDObject
getID, getMDExtension, getMdExtensions, setIDMethods inherited from interface com.dassault_systemes.modeler.foundation.model.ModelElement
canChangeElementOwner, eDynamicGet, getElementOwner, getLocalID, getObjectParent, setLocalID, sGetLocalIDMethods inherited from interface com.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, ignoringRefGetValue, ignoringRefGetValue, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationTextMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliverMethods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraintsMethods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refInvokeOperation, refInvokeOperation, refSetValueMethods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
-
Method Details
-
getDefault
Returns the value of the 'Default' reference. It is bidirectional and its opposite is '.mdtemplates.ParameterableElement#get_templateParameterOfDefault template Parameter Of Default'. The ParameterableElement that is the default for this formal TemplateParameter.- Returns:
- the value of the 'Default' reference.
- See Also:
- Model:
- opposite="_templateParameterOfDefault" ordered="false"
- Generated:
-
setDefault
Sets the value of the 'Default' reference.- Parameters:
value- the new value of the 'Default' reference.- See Also:
- Generated:
-
getOwnedDefault
Returns the value of the 'Owned Default' containment reference. It is bidirectional and its opposite is '.ParameterableElement#get_templateParameterOfOwnedDefault template Parameter Of Owned Default'. The ParameterableElement that is owned by this TemplateParameter for the purpose of providing a default.- Returns:
- the value of the 'Owned Default' containment reference.
- See Also:
- Model:
- opposite="_templateParameterOfOwnedDefault" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
setOwnedDefault
Sets the value of the 'Owned Default' containment reference.- Parameters:
value- the new value of the 'Owned Default' containment reference.- See Also:
- Generated:
-
getParameteredElement
Returns the value of the 'Parametered Element' reference. It is bidirectional and its opposite is 'Template Parameter'. The ParameterableElement exposed by this TemplateParameter.- 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:
-
getSignature
Returns the value of the 'Signature' container reference. It is bidirectional and its opposite is 'Owned Parameter'. The TemplateSignature that owns this TemplateParameter.- Returns:
- the value of the 'Signature' container reference.
- See Also:
- Model:
- opposite="ownedParameter" required="true" transient="false" ordered="false"
- Generated:
-
setSignature
Sets the value of the 'Signature' container reference.- Parameters:
value- the new value of the 'Signature' container reference.- See Also:
- Generated:
-
get_templateSignatureOfParameter
Collection<TemplateSignature> get_templateSignatureOfParameter()Returns the value of the 'template Signature Of Parameter' reference list. The list contents are of typeTemplateSignature. It is bidirectional and its opposite is 'Parameter'.If the meaning of the 'template Signature Of Parameter' reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'template Signature Of Parameter' reference list.
- See Also:
- Model:
- opposite="parameter" ordered="false"
- Generated:
-
get_templateParameterSubstitutionOfFormal
Collection<TemplateParameterSubstitution> get_templateParameterSubstitutionOfFormal()Returns the value of the 'template Parameter Substitution Of Formal' reference list. The list contents are of typeTemplateParameterSubstitution. It is bidirectional and its opposite is 'Formal'.If the meaning of the 'template Parameter Substitution Of Formal' reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'template Parameter Substitution Of Formal' reference list.
- See Also:
- Model:
- opposite="formal" ordered="false"
- Generated:
-
getOwnedParameteredElement
Returns the value of the 'Owned Parametered Element' containment reference. It is bidirectional and its opposite is 'Owning Template Parameter'. The ParameterableElement that is owned by this TemplateParameter for the purpose of exposing it as the parameteredElement.- Returns:
- the value of the 'Owned Parametered Element' containment reference.
- See Also:
- Model:
- opposite="owningTemplateParameter" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
setOwnedParameteredElement
Sets the value of the 'Owned Parametered Element' containment reference.- Parameters:
value- the new value of the 'Owned Parametered Element' containment reference.- See Also:
- Generated:
-
has_templateSignatureOfParameter
boolean has_templateSignatureOfParameter() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException- Generated:
-
has_templateParameterSubstitutionOfFormal
boolean has_templateParameterSubstitutionOfFormal() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException- Generated:
-