org.eclipse.uml2.uml
Interface ParameterableElement

All Superinterfaces:
Element, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
Abstraction, Activity, Actor, AnyReceiveEvent, Artifact, Association, AssociationClass, Behavior, BehavioredClassifier, CallEvent, ChangeEvent, Class, Classifier, Collaboration, CommunicationPath, Component, ComponentRealization, ConnectableElement, Constraint, DataType, Dependency, Deployment, DeploymentSpecification, Device, Duration, DurationConstraint, DurationInterval, DurationObservation, EncapsulatedClassifier, Enumeration, EnumerationLiteral, Event, ExecutionEnvironment, Expression, Extension, ExtensionEnd, FunctionBehavior, GeneralizationSet, InformationFlow, InformationItem, InstanceSpecification, InstanceValue, Interaction, InteractionConstraint, Interface, InterfaceRealization, Interval, IntervalConstraint, LiteralBoolean, LiteralInteger, LiteralNull, LiteralReal, LiteralSpecification, LiteralString, LiteralUnlimitedNatural, Manifestation, MessageEvent, Model, Node, Observation, OpaqueBehavior, OpaqueExpression, Operation, Package, PackageableElement, Parameter, Port, PrimitiveType, Profile, Property, ProtocolStateMachine, Realization, Signal, SignalEvent, StateMachine, Stereotype, StringExpression, StructuredClassifier, Substitution, TimeConstraint, TimeEvent, TimeExpression, TimeInterval, TimeObservation, Type, Usage, UseCase, ValueSpecification, Variable

public interface ParameterableElement
extends Element

A representation of the model object 'Parameterable Element'. A ParameterableElement is an Element that can be exposed as a formal TemplateParameter for a template, or specified as an actual parameter in a binding of a template.

From package UML::CommonStructure.

The following features are supported:

See Also:
UMLPackage.getParameterableElement()

Method Summary
 TemplateParameter getOwningTemplateParameter()
          Returns the value of the 'Owning Template Parameter' container reference.
 TemplateParameter getTemplateParameter()
          Returns the value of the 'Template Parameter' reference.
 boolean isCompatibleWith(ParameterableElement p)
          The query isCompatibleWith() determines if this ParameterableElement is compatible with the specified ParameterableElement.
 boolean isTemplateParameter()
          The query isTemplateParameter() determines if this ParameterableElement is exposed as a formal TemplateParameter.
 void setOwningTemplateParameter(TemplateParameter value)
          Sets the value of the 'Owning Template Parameter' container reference
 void setTemplateParameter(TemplateParameter value)
          Sets the value of the 'Template Parameter' reference
 
Methods inherited from interface org.eclipse.uml2.uml.Element
addKeyword, allOwnedElements, applyStereotype, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedSubstereotype, getAppliedSubstereotypes, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getRelationships, getRelationships, getRequiredStereotype, getRequiredStereotypes, getSourceDirectedRelationships, getSourceDirectedRelationships, getStereotypeApplication, getStereotypeApplications, getTargetDirectedRelationships, getTargetDirectedRelationships, getValue, hasKeyword, hasValue, isStereotypeApplicable, isStereotypeApplied, isStereotypeRequired, mustBeOwned, removeKeyword, setValue, unapplyStereotype, 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, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getTemplateParameter

TemplateParameter getTemplateParameter()
Returns the value of the 'Template Parameter' reference. It is bidirectional and its opposite is 'Parametered Element'. The TemplateParameter that exposes this ParameterableElement as a formal parameter.

From package UML::CommonStructure.

Returns:
the value of the 'Template Parameter' reference.
See Also:
setTemplateParameter(TemplateParameter), UMLPackage.getParameterableElement_TemplateParameter(), TemplateParameter.getParameteredElement()

setTemplateParameter

void setTemplateParameter(TemplateParameter value)
Sets the value of the 'Template Parameter' reference.

Parameters:
value - the new value of the 'Template Parameter' reference.
See Also:
getTemplateParameter()

getOwningTemplateParameter

TemplateParameter getOwningTemplateParameter()
Returns the value of the 'Owning Template Parameter' container reference. It is bidirectional and its opposite is 'Owned Parametered Element'.

This feature subsets the following features:

The formal TemplateParameter that owns this ParameterableElement.

From package UML::CommonStructure.

Returns:
the value of the 'Owning Template Parameter' container reference.
See Also:
setOwningTemplateParameter(TemplateParameter), UMLPackage.getParameterableElement_OwningTemplateParameter(), TemplateParameter.getOwnedParameteredElement()

setOwningTemplateParameter

void setOwningTemplateParameter(TemplateParameter value)
Sets the value of the 'Owning Template Parameter' container reference.

Parameters:
value - the new value of the 'Owning Template Parameter' container reference.
See Also:
getOwningTemplateParameter()

isCompatibleWith

boolean isCompatibleWith(ParameterableElement p)
The query isCompatibleWith() determines if this ParameterableElement is compatible with the specified ParameterableElement. By default, this ParameterableElement is compatible with another ParameterableElement p if the kind of this ParameterableElement is the same as or a subtype of the kind of p. Subclasses of ParameterableElement should override this operation to specify different compatibility constraints. result = (self.oclIsKindOf(p.oclType()))

From package UML::CommonStructure.


isTemplateParameter

boolean isTemplateParameter()
The query isTemplateParameter() determines if this ParameterableElement is exposed as a formal TemplateParameter. result = (templateParameter->notEmpty())

From package UML::CommonStructure.


Copyright 2003, 2014 IBM Corporation, CEA, and others.
All Rights Reserved.