UML.Semantic.Foundation.AuxiliaryElements
Class Binding

java.lang.Object
  |
  +--UML.Semantic.Foundation.Core.ModelElement
        |
        +--UML.Semantic.Foundation.Core.Dependency
              |
              +--UML.Semantic.Foundation.AuxiliaryElements.Binding
All Implemented Interfaces:
Element, ElementAtt, LinkAtt

public class Binding
extends Dependency

A binding is a relationship between a template and a model element generated from the template. It includes a list of arguments matching the template parameters. The template is a form that is cloned and modified by substitution to yield an implicit model fragment that behaves as if it were a direct part of the model.

In the metamodel a Binding is a Dependency where the supplier is the template and the client is the instantiation of the template that performs the substitution of parameters of a template. A Binding has a list of arguments that replace the parameters of the supplier to yield the client. The client is fully specified by the binding of the supplier’s parameters and does not add any information of its own.


Constructor Summary
Binding()
           
 
Method Summary
 boolean check()
          Checks if well-formedness rules are respected in this mode-element.
 java.lang.String getArgumentList()
           
 void setArgument(java.lang.String arg)
           
 
Methods inherited from class UML.Semantic.Foundation.Core.Dependency
getDescription, setClient, setDescription, setSupplier
 
Methods inherited from class UML.Semantic.Foundation.Core.ModelElement
add, add, getBindingList, getConstraintList, getElementType, getErrors, getHref, getId, getIdentification, getIdref, getIndex, getInfo, getIsOwned, getLabel, getLocator, getName, getNamespace, getNamespaceId, getStereotype, getTemplate, getTemplateParameterList, getTitle, getUuid, getUuidref, getVisibility, getVisibilitySymbol, getWarnings, setElementType, setErrors, setHref, setId, setIdref, setIndex, setIsOwned, setLabel, setName, setNamespace, setTemplate, setTitle, setUuid, setUuidref, setVisibility, setWarnings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Binding

public Binding()
Method Detail

setArgument

public void setArgument(java.lang.String arg)

getArgumentList

public java.lang.String getArgumentList()

check

public boolean check()
Checks if well-formedness rules are respected in this mode-element.

Overrides:
check in class Dependency
Returns:
True if check was successful, false otherwise.