org.eclipse.uml2
Interface TemplateableElement

All Superinterfaces:
Element, EModelElement, EObject, Notifier
All Known Subinterfaces:
Abstraction, AcceptCallAction, AcceptEventAction, Action, Activity, ActivityEdge, ActivityFinalNode, ActivityNode, ActivityParameterNode, ActivityPartition, Actor, AddStructuralFeatureValueAction, AddVariableValueAction, AnyTrigger, ApplyFunctionAction, Artifact, Association, AssociationClass, Behavior, BehavioralFeature, BehavioredClassifier, BroadcastSignalAction, CallAction, CallBehaviorAction, CallOperationAction, CallTrigger, CentralBufferNode, ChangeTrigger, Class, Classifier, ClearAssociationAction, ClearStructuralFeatureAction, ClearVariableAction, Collaboration, CollaborationOccurrence, CombinedFragment, Comment, CommunicationPath, Component, ConditionalNode, ConnectableElement, ConnectionPointReference, Connector, Constraint, Continuation, ControlFlow, ControlNode, CreateLinkAction, CreateLinkObjectAction, CreateObjectAction, DataStoreNode, DataType, DecisionNode, Dependency, DeployedArtifact, Deployment, DeploymentSpecification, DeploymentTarget, DestroyLinkAction, DestroyObjectAction, Device, Duration, DurationConstraint, DurationInterval, DurationObservationAction, EncapsulatedClassifier, Enumeration, EnumerationLiteral, EventOccurrence, ExecutableNode, ExecutionEnvironment, ExecutionOccurrence, ExpansionNode, ExpansionRegion, Expression, Extend, Extension, ExtensionEnd, ExtensionPoint, Feature, FinalNode, FinalState, FlowFinalNode, ForkNode, Gate, GeneralizationSet, GeneralOrdering, Implementation, Include, InformationFlow, InformationItem, InitialNode, InputPin, InstanceSpecification, InstanceValue, Interaction, InteractionConstraint, InteractionFragment, InteractionOccurrence, InteractionOperand, Interface, Interval, IntervalConstraint, InvocationAction, JoinNode, Lifeline, LinkAction, LiteralBoolean, LiteralInteger, LiteralNull, LiteralSpecification, LiteralString, LiteralUnlimitedNatural, LoopNode, Manifestation, MergeNode, Message, MessageEnd, MessageTrigger, Model, NamedElement, Namespace, Node, ObjectFlow, ObjectNode, OpaqueExpression, Operation, OutputPin, Package, PackageableElement, Parameter, ParameterableClassifier, ParameterSet, PartDecomposition, Permission, Pin, Port, PrimitiveFunction, PrimitiveType, Profile, Property, ProtocolStateMachine, ProtocolTransition, Pseudostate, RaiseExceptionAction, ReadExtentAction, ReadIsClassifiedObjectAction, ReadLinkAction, ReadLinkObjectEndAction, ReadLinkObjectEndQualifierAction, ReadSelfAction, ReadStructuralFeatureAction, ReadVariableAction, Realization, Reception, ReclassifyObjectAction, RedefinableElement, RedefinableTemplateSignature, Region, RemoveStructuralFeatureValueAction, RemoveVariableValueAction, ReplyAction, SendObjectAction, SendSignalAction, Signal, SignalTrigger, StartOwnedBehaviorAction, State, StateInvariant, StateMachine, Stereotype, Stop, StringExpression, StructuralFeature, StructuralFeatureAction, StructuredActivityNode, StructuredClassifier, Substitution, TemplateableClassifier, TestIdentityAction, TimeConstraint, TimeExpression, TimeInterval, TimeObservationAction, TimeTrigger, Transition, Trigger, Type, TypedElement, Usage, UseCase, ValuePin, ValueSpecification, Variable, VariableAction, Vertex, WriteLinkAction, WriteStructuralFeatureAction, WriteVariableAction

public interface TemplateableElement
extends Element

A representation of the model object 'Templateable Element'. TemplateableElement may contain a template signature which specifies the formal template parameters. A TemplateableElement that contains a template signature is often referred to as a template. TemplateableElement may contain bindings to templates that describe how the templateable element is constructed by replacing the formal template parameters with actual parameters. A TemplateableElement containing bindings is often referred to as a bound element.

The following features are supported:

See Also:
UML2Package.getTemplateableElement()

Field Summary
static String copyright
           
 
Method Summary
 TemplateSignature createOwnedTemplateSignature(EClass eClass)
          Creates a TemplateSignature and sets the 'Owned Template Signature' containment reference
 TemplateBinding createTemplateBinding(EClass eClass)
          Creates a TemplateBinding and appends it to the 'Template Binding' containment reference list
 EList getOwnedElements()
           
 TemplateSignature getOwnedTemplateSignature()
          Returns the value of the 'Owned Template Signature' containment reference.
 EList getTemplateBindings()
          Returns the value of the 'Template Binding' containment reference list.
 Set parameterableElements()
           
 void setOwnedTemplateSignature(TemplateSignature value)
          Sets the value of the 'Owned Template Signature' containment reference
 
Methods inherited from interface org.eclipse.uml2.Element
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwner, getValue, hasKeyword, isApplied, isRequired, mustBeOwned, removeKeyword, setValue, unapply, validateHasOwner, validateNotOwnSelf
 
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
 

Field Detail

copyright

public static final String copyright

See Also:
Constant Field Values
Method Detail

getTemplateBindings

public EList getTemplateBindings()
Returns the value of the 'Template Binding' containment reference list. The list contents are of type TemplateBinding. It is bidirectional and its opposite is 'Bound Element'.

If the meaning of the 'Template Binding' containment reference list isn't clear, there really should be more of a description here...

optional bindings from this element to templates.

Returns:
the value of the 'Template Binding' containment reference list.
See Also:
UML2Package.getTemplateableElement_TemplateBinding(), TemplateBinding.getBoundElement()

createTemplateBinding

public TemplateBinding createTemplateBinding(EClass eClass)
Creates a TemplateBinding and appends it to the 'Template Binding' containment reference list.

Parameters:
eClass - The Ecore class of the TemplateBinding to create.
Returns:
The new TemplateBinding.
See Also:
getTemplateBindings()

getOwnedTemplateSignature

public TemplateSignature getOwnedTemplateSignature()
Returns the value of the 'Owned Template Signature' containment reference. It is bidirectional and its opposite is 'Template'.

If the meaning of the 'Owned Template Signature' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Owned Template Signature' containment reference.
See Also:
setOwnedTemplateSignature(TemplateSignature), UML2Package.getTemplateableElement_OwnedTemplateSignature(), TemplateSignature.getTemplate()

setOwnedTemplateSignature

public void setOwnedTemplateSignature(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()

createOwnedTemplateSignature

public TemplateSignature createOwnedTemplateSignature(EClass eClass)
Creates a TemplateSignature and sets the 'Owned Template Signature' containment reference.

Parameters:
eClass - The Ecore class of the TemplateSignature to create.
Returns:
The new TemplateSignature.
See Also:
getOwnedTemplateSignature()

parameterableElements

public Set parameterableElements()


getOwnedElements

public EList getOwnedElements()

Specified by:
getOwnedElements in interface Element
Returns:
the value of the 'Owned Element' reference list.
See Also:
UML2Package.getElement_OwnedElement(), Element.getOwner()

Copyright 2003, 2004 IBM Corporation and others.
All Rights Reserved.