Interface TemplateableElement
-
- 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:
Activity
,Actor
,Artifact
,Association
,AssociationClass
,Behavior
,BehavioredClassifier
,Class
,Classifier
,Collaboration
,CommunicationPath
,Component
,DataType
,DeploymentSpecification
,Device
,EncapsulatedClassifier
,Enumeration
,ExecutionEnvironment
,Extension
,FunctionBehavior
,InformationItem
,Interaction
,Interface
,Model
,Node
,OpaqueBehavior
,Operation
,Package
,PrimitiveType
,Profile
,ProtocolStateMachine
,Signal
,StateMachine
,Stereotype
,StringExpression
,StructuredClassifier
,UseCase
public interface TemplateableElement extends Element
A representation of the model object 'Templateable Element'.A TemplateableElement is an Element that can optionally be defined as a template and bound to other templates.
The following features are supported:
- See Also:
UMLPackage.getTemplateableElement()
- Model:
- abstract="true" annotation="MOF package='auxiliaryconstructs.mdtemplates'"
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TemplateSignature
getOwnedTemplateSignature()
Returns the value of the 'Owned Template Signature' containment reference.java.util.Collection<TemplateBinding>
getTemplateBinding()
Returns the value of the 'Template Binding' containment reference list.boolean
hasTemplateBinding()
void
setOwnedTemplateSignature(TemplateSignature value)
Sets the value of the 'Owned Template Signature
' containment reference.-
Methods inherited from interface com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, 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
-
getTemplateBinding
java.util.Collection<TemplateBinding> getTemplateBinding()
Returns the value of the 'Template Binding' containment reference list. The list contents are of typeTemplateBinding
. It is bidirectional and its opposite is 'Bound Element
'. The optional TemplateBindings from this TemplateableElement to one or more templates.- Returns:
- the value of the 'Template Binding' containment reference list.
- See Also:
UMLPackage.getTemplateableElement_TemplateBinding()
,TemplateBinding.getBoundElement()
- Model:
- opposite="boundElement" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
getOwnedTemplateSignature
@CheckForNull TemplateSignature getOwnedTemplateSignature()
Returns the value of the 'Owned Template Signature' containment reference. It is bidirectional and its opposite is 'Template
'. The optional TemplateSignature specifying the formal TemplateParameters for this TemplateableElement. If a TemplateableElement has a TemplateSignature, then it is a template.- Returns:
- the value of the 'Owned Template Signature' containment reference.
- See Also:
setOwnedTemplateSignature(TemplateSignature)
,UMLPackage.getTemplateableElement_OwnedTemplateSignature()
,TemplateSignature.getTemplate()
- Model:
- opposite="template" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
setOwnedTemplateSignature
void setOwnedTemplateSignature(@CheckForNull TemplateSignature value)
Sets the value of the 'Owned Template Signature
' containment reference.- Parameters:
value
- the new value of the 'Owned Template Signature' containment reference.- See Also:
getOwnedTemplateSignature()
- Generated:
-
hasTemplateBinding
boolean hasTemplateBinding() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
-