Interface ITemplateBinding
The public interface for TemplateBinding
[DefaultImplementationType(typeof(TemplateBinding))]
[XmlDefaultImplementationType(typeof(TemplateBinding))]
[ModelRepresentationClass("http://www.eclipse.org/uml2/5.0.0/UML#//TemplateBinding")]
public interface ITemplateBinding : IDirectedRelationship, IRelationship, IElement, IEModelElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
- Inherited Members
Properties
BoundElement
The TemplateableElement that is bound by this TemplateBinding. <p>From package UML::CommonStructure.</p>
[Browsable(false)]
[XmlElementName("boundElement")]
[XmlAttribute(true)]
[XmlOpposite("templateBinding")]
ITemplateableElement BoundElement { get; set; }
Property Value
ParameterSubstitution
The TemplateParameterSubstitutions owned by this TemplateBinding. <p>From package UML::CommonStructure.</p>
[Browsable(false)]
[XmlElementName("parameterSubstitution")]
[XmlAttribute(false)]
[Containment]
[XmlOpposite("templateBinding")]
IOrderedSetExpression<ITemplateParameterSubstitution> ParameterSubstitution { get; }
Property Value
Signature
The TemplateSignature for the template that is the target of this TemplateBinding. <p>From package UML::CommonStructure.</p>
[XmlElementName("signature")]
[XmlAttribute(true)]
ITemplateSignature Signature { get; set; }
Property Value
Methods
One_parameter_substitution(object, object)
A TemplateBiinding contains at most one TemplateParameterSubstitution for each formal TemplateParameter of the target TemplateSignature. signature.parameter->forAll(p | parameterSubstitution->select(b | b.formal = p)->size() <= 1)
bool One_parameter_substitution(object diagnostics, object context)
Parameters
diagnostics
objectThe chain of diagnostics to which problems are to be appended.
context
objectThe cache of context-specific information.
Returns
Parameter_substitution_formal(object, object)
Each parameterSubstitution must refer to a formal TemplateParameter of the target TemplateSignature. parameterSubstitution->forAll(b | signature.parameter->includes(b.formal))
bool Parameter_substitution_formal(object diagnostics, object context)
Parameters
diagnostics
objectThe chain of diagnostics to which problems are to be appended.
context
objectThe cache of context-specific information.