| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TemplateBinding
A representation of the model object 'Template Binding'. A template binding represents a relationship between a templateable element and a template. A template binding specifies the substitutions of actual parameters for the formal parameters of the template.
The following features are supported:
PivotPackage.getTemplateBinding()| Method Summary | |
|---|---|
 TemplateParameterSubstitution | 
createParameterSubstitution()
Creates a new TemplateParameterSubstitution and appends it to the 'Parameter Substitution' containment reference list. | 
 TemplateableElement | 
getBoundElement()
Returns the value of the 'Bound Element' container reference.  | 
 org.eclipse.emf.common.util.EList<TemplateParameterSubstitution> | 
getParameterSubstitutions()
Returns the value of the 'Parameter Substitution' containment reference list.  | 
 TemplateSignature | 
getSignature()
Returns the value of the 'Signature' reference.  | 
 void | 
setBoundElement(TemplateableElement value)
Sets the value of the ' Bound Element' container reference. | 
 void | 
setSignature(TemplateSignature value)
Sets the value of the ' Signature' reference. | 
 boolean | 
validateOneParameterSubstitution(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                 java.util.Map<java.lang.Object,java.lang.Object> context)
A binding contains at most one parameter substitution for each formal template parameter of the target template signature.  | 
 boolean | 
validateParameterSubstitutionFormal(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                    java.util.Map<java.lang.Object,java.lang.Object> context)
Each parameter substitution must refer to a formal template parameter of the target template signature.  | 
| 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 | 
|---|
TemplateSignature getSignature()
setSignature(TemplateSignature), 
PivotPackage.getTemplateBinding_Signature()void setSignature(TemplateSignature value)
Signature' reference.
 
 
value - the new value of the 'Signature' reference.getSignature()org.eclipse.emf.common.util.EList<TemplateParameterSubstitution> getParameterSubstitutions()
TemplateParameterSubstitution.
 It is bidirectional and its opposite is 'Template Binding'.
 
 
 
 The parameter substitutions owned by this template binding.
 
PivotPackage.getTemplateBinding_ParameterSubstitution(), 
TemplateParameterSubstitution.getTemplateBinding()TemplateParameterSubstitution createParameterSubstitution()
TemplateParameterSubstitution and appends it to the 'Parameter Substitution' containment reference list.
 
 
TemplateParameterSubstitution.getParameterSubstitutions()TemplateableElement getBoundElement()
Template Binding'.
 
 
 
 The element that is bound by this binding.
 
setBoundElement(TemplateableElement), 
PivotPackage.getTemplateBinding_BoundElement(), 
TemplateableElement.getTemplateBindings()void setBoundElement(TemplateableElement value)
Bound Element' container reference.
 
 
value - the new value of the 'Bound Element' container reference.getBoundElement()
boolean validateParameterSubstitutionFormal(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                            java.util.Map<java.lang.Object,java.lang.Object> context)
diagnostics - The chain of diagnostics to which problems are to be appended.context - The cache of context-specific information.
 
boolean validateOneParameterSubstitution(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                         java.util.Map<java.lang.Object,java.lang.Object> context)
diagnostics - The chain of diagnostics to which problems are to be appended.context - The cache of context-specific information.
 
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||