|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TemplateableElement
A representation of the model object 'Templateable Element'. A templateable element is an element that can optionally be defined as a template and bound to other templates.
The following features are supported:
PivotPackage.getTemplateableElement()
Method Summary | |
---|---|
TemplateSignature |
createOwnedTemplateSignature()
Creates a new TemplateSignature and sets the 'Owned Template Signature' containment reference. |
TemplateBinding |
createTemplateBinding()
Creates a new TemplateBinding and appends it to the 'Template Binding' containment reference list. |
TemplateSignature |
getOwnedTemplateSignature()
Returns the value of the 'Owned Template Signature' containment reference. |
org.eclipse.emf.common.util.EList<TemplateBinding> |
getTemplateBindings()
Returns the value of the 'Template Binding' containment reference list. |
TemplateableElement |
getUnspecializedElement()
Returns the value of the 'Unspecialized Element' reference. |
boolean |
isTemplate()
The query isTemplate() returns whether this templateable element is actually a template. |
org.eclipse.emf.common.util.EList<ParameterableElement> |
parameterableElements()
The query parameterableElements() returns the set of elements that may be used as the parametered elements for a template parameter of this templateable element. |
void |
setOwnedTemplateSignature(TemplateSignature value)
Sets the value of the ' Owned Template Signature ' containment reference. |
void |
setUnspecializedElement(TemplateableElement value)
Sets the value of the ' Unspecialized Element ' reference. |
Methods inherited from interface org.eclipse.ocl.examples.pivot.MonikeredElement |
---|
getMoniker, hasMoniker, setMoniker |
Methods inherited from interface org.eclipse.ocl.examples.pivot.Element |
---|
createOwnedComment, getETarget, getOwnedComments |
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 |
Methods inherited from interface org.eclipse.ocl.examples.pivot.util.Visitable |
---|
accept, eClass |
Method Detail |
---|
org.eclipse.emf.common.util.EList<TemplateBinding> getTemplateBindings()
TemplateBinding
.
It is bidirectional and its opposite is 'Bound Element
'.
The optional bindings from this element to templates.
PivotPackage.getTemplateableElement_TemplateBinding()
,
TemplateBinding.getBoundElement()
TemplateBinding createTemplateBinding()
TemplateBinding
and appends it to the 'Template Binding' containment reference list.
TemplateBinding
.getTemplateBindings()
TemplateSignature getOwnedTemplateSignature()
Template
'.
The optional template signature specifying the formal template parameters.
setOwnedTemplateSignature(TemplateSignature)
,
PivotPackage.getTemplateableElement_OwnedTemplateSignature()
,
TemplateSignature.getTemplate()
void setOwnedTemplateSignature(TemplateSignature value)
Owned Template Signature
' containment reference.
value
- the new value of the 'Owned Template Signature' containment reference.getOwnedTemplateSignature()
TemplateSignature createOwnedTemplateSignature()
TemplateSignature
and sets the 'Owned Template Signature' containment reference.
TemplateSignature
.getOwnedTemplateSignature()
TemplateableElement getUnspecializedElement()
If the meaning of the 'Unspecialized Element' reference isn't clear, there really should be more of a description here...
setUnspecializedElement(TemplateableElement)
,
PivotPackage.getTemplateableElement_UnspecializedElement()
void setUnspecializedElement(TemplateableElement value)
Unspecialized Element
' reference.
value
- the new value of the 'Unspecialized Element' reference.getUnspecializedElement()
org.eclipse.emf.common.util.EList<ParameterableElement> parameterableElements()
boolean isTemplate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |