Tuscany Assembly Model

org.apache.tuscany.model.assembly.impl
Class BindingImpl

java.lang.Object
  extended by org.apache.tuscany.model.assembly.impl.AssemblyObjectImpl
      extended by org.apache.tuscany.model.assembly.impl.ExtensibleImpl
          extended by org.apache.tuscany.model.assembly.impl.BindingImpl
All Implemented Interfaces:
AssemblyObject, Binding, Extensible

public class BindingImpl
extends ExtensibleImpl
implements Binding

An implementation of Binding.


Constructor Summary
protected BindingImpl()
           
 
Method Summary
 boolean accept(AssemblyVisitor visitor)
          Accept a visitor
 void freeze()
          Freeze this model object preventing any additional changes.
 String getURI()
          Returns the binding URI.
 void initialize(AssemblyContext modelContext)
          Initialize this model object.
 void setURI(String value)
          Sets binding URI.
 
Methods inherited from class org.apache.tuscany.model.assembly.impl.ExtensibleImpl
getExtensibilityAttributes, getExtensibilityElements
 
Methods inherited from class org.apache.tuscany.model.assembly.impl.AssemblyObjectImpl
accept, checkInitialized, checkNotFrozen, freeze, initialize, isFrozen, isInitialized
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BindingImpl

protected BindingImpl()
Method Detail

getURI

public String getURI()
Description copied from interface: Binding
Returns the binding URI.

Specified by:
getURI in interface Binding
Returns:
the binding uri TODO do we need this?

setURI

public void setURI(String value)
Description copied from interface: Binding
Sets binding URI.

Specified by:
setURI in interface Binding
Parameters:
value - the binding uri TODO do we need this?

initialize

public void initialize(AssemblyContext modelContext)
Description copied from interface: AssemblyObject
Initialize this model object.

Specified by:
initialize in interface AssemblyObject
Overrides:
initialize in class ExtensibleImpl
Parameters:
modelContext - context providing access to the environment in which this model is being used

freeze

public void freeze()
Description copied from interface: AssemblyObject
Freeze this model object preventing any additional changes.

Specified by:
freeze in interface AssemblyObject
Overrides:
freeze in class ExtensibleImpl

accept

public boolean accept(AssemblyVisitor visitor)
Description copied from interface: AssemblyObject
Accept a visitor

Specified by:
accept in interface AssemblyObject
Overrides:
accept in class ExtensibleImpl
Parameters:
visitor - a visitor that is visiting the model
Returns:
true if processing is complete and the visitor should stop traversing the model

Tuscany Assembly Model

-