Interface TemplateParameter
-
- All Superinterfaces:
BaseElement
,java.lang.Cloneable
,java.lang.Comparable
,Element
,org.eclipse.emf.ecore.EObject
,MDObject
,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
public interface TemplateParameter extends Element
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:
UMLPackage.getTemplateParameter()
- Model:
- annotation="MOF package='auxiliaryconstructs.mdtemplates'"
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<TemplateParameterSubstitution>
get_templateParameterSubstitutionOfFormal()
Returns the value of the 'template Parameter Substitution Of Formal' reference list.java.util.Collection<TemplateSignature>
get_templateSignatureOfParameter()
Returns the value of the 'template Signature Of Parameter' reference list.ParameterableElement
getDefault()
Returns the value of the 'Default' reference.ParameterableElement
getOwnedDefault()
Returns the value of the 'Owned Default' containment reference.ParameterableElement
getOwnedParameteredElement()
Returns the value of the 'Owned Parametered Element' containment reference.ParameterableElement
getParameteredElement()
Returns the value of the 'Parametered Element' reference.TemplateSignature
getSignature()
Returns the value of the 'Signature' container reference.boolean
has_templateParameterSubstitutionOfFormal()
boolean
has_templateSignatureOfParameter()
void
setDefault(ParameterableElement value)
Sets the value of the 'Default
' reference.void
setOwnedDefault(ParameterableElement value)
Sets the value of the 'Owned Default
' containment reference.void
setOwnedParameteredElement(ParameterableElement value)
Sets the value of the 'Owned Parametered Element
' containment reference.void
setParameteredElement(ParameterableElement value)
Sets the value of the 'Parametered Element
' reference.void
setSignature(TemplateSignature value)
Sets the value of the 'Signature
' container reference.-
Methods inherited from interface com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, atInsert, canAdd, canAdd, canAddChild, canAddInstance, canBeDeleted, canChangeParent, canDeleteChild, clone, dispose, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, isParentOf, removeAllPropertyChangeListeners, removePropertyChangeListener, sGetID
-
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.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, getLocalID, ignoringRefGetValue, ignoringRefGetValue, isInvalid, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationText, setLocalID, sGetLocalID
-
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
-
-
-
-
Method Detail
-
getDefault
@CheckForNull ParameterableElement 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:
setDefault(ParameterableElement)
,UMLPackage.getTemplateParameter_Default()
,ParameterableElement.get_templateParameterOfDefault()
- Model:
- opposite="_templateParameterOfDefault" ordered="false"
- Generated:
-
setDefault
void setDefault(@CheckForNull ParameterableElement value)
Sets the value of the 'Default
' reference.- Parameters:
value
- the new value of the 'Default' reference.- See Also:
getDefault()
- Generated:
-
getOwnedDefault
@CheckForNull ParameterableElement 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:
setOwnedDefault(ParameterableElement)
,UMLPackage.getTemplateParameter_OwnedDefault()
,ParameterableElement.get_templateParameterOfOwnedDefault()
- Model:
- opposite="_templateParameterOfOwnedDefault" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
setOwnedDefault
void setOwnedDefault(@CheckForNull ParameterableElement value)
Sets the value of the 'Owned Default
' containment reference.- Parameters:
value
- the new value of the 'Owned Default' containment reference.- See Also:
getOwnedDefault()
- Generated:
-
getParameteredElement
@CheckForNull ParameterableElement 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:
setParameteredElement(ParameterableElement)
,UMLPackage.getTemplateParameter_ParameteredElement()
,ParameterableElement.getTemplateParameter()
- Model:
- opposite="templateParameter" required="true" ordered="false"
- Generated:
-
setParameteredElement
void setParameteredElement(@CheckForNull ParameterableElement value)
Sets the value of the 'Parametered Element
' reference.- Parameters:
value
- the new value of the 'Parametered Element' reference.- See Also:
getParameteredElement()
- Generated:
-
getSignature
@CheckForNull TemplateSignature 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:
setSignature(TemplateSignature)
,UMLPackage.getTemplateParameter_Signature()
,TemplateSignature.getOwnedParameter()
- Model:
- opposite="ownedParameter" required="true" transient="false" ordered="false"
- Generated:
-
setSignature
void setSignature(@CheckForNull TemplateSignature value)
Sets the value of the 'Signature
' container reference.- Parameters:
value
- the new value of the 'Signature' container reference.- See Also:
getSignature()
- Generated:
-
get_templateSignatureOfParameter
java.util.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:
UMLPackage.getTemplateParameter__templateSignatureOfParameter()
,TemplateSignature.getParameter()
- Model:
- opposite="parameter" ordered="false"
- Generated:
-
get_templateParameterSubstitutionOfFormal
java.util.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:
UMLPackage.getTemplateParameter__templateParameterSubstitutionOfFormal()
,TemplateParameterSubstitution.getFormal()
- Model:
- opposite="formal" ordered="false"
- Generated:
-
getOwnedParameteredElement
@CheckForNull ParameterableElement 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:
setOwnedParameteredElement(ParameterableElement)
,UMLPackage.getTemplateParameter_OwnedParameteredElement()
,ParameterableElement.getOwningTemplateParameter()
- Model:
- opposite="owningTemplateParameter" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
setOwnedParameteredElement
void setOwnedParameteredElement(@CheckForNull ParameterableElement value)
Sets the value of the 'Owned Parametered Element
' containment reference.- Parameters:
value
- the new value of the 'Owned Parametered Element' containment reference.- See Also:
getOwnedParameteredElement()
- 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:
-
-