org.apache.tuscany.sca.binding.sca.impl
Class DistributedSCABindingImpl

java.lang.Object
  extended by org.apache.tuscany.sca.binding.sca.impl.DistributedSCABindingImpl
All Implemented Interfaces:
java.lang.Cloneable, Base, Binding, DistributedSCABinding

public class DistributedSCABindingImpl
extends java.lang.Object
implements DistributedSCABinding

The Distributed SCA binding wrapper for the SCA binding model object. This is currently just used to locate the remote binding extension and pass the SCA binding to the remote extension. It isn't used in the model itself


Constructor Summary
DistributedSCABindingImpl()
           
 
Method Summary
 java.lang.Object clone()
          Clone the binding
 java.lang.String getName()
          Returns the binding name.
 SCABinding getSCABinding()
          Getter for the wrapped sca binding model object
 java.lang.String getURI()
          Returns the binding URI.
 boolean isUnresolved()
          Returns true if the model element is unresolved.
 void setName(java.lang.String name)
          Sets the binding name.
 void setSCABinding(SCABinding scaBinding)
          Setter for the wrapped sca binding model element
 void setUnresolved(boolean unresolved)
          Sets whether the model element is unresolved.
 void setURI(java.lang.String uri)
          Sets the binding URI.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DistributedSCABindingImpl

public DistributedSCABindingImpl()
Method Detail

getSCABinding

public SCABinding getSCABinding()
Getter for the wrapped sca binding model object

Specified by:
getSCABinding in interface DistributedSCABinding
Returns:
the sca binding model element

setSCABinding

public void setSCABinding(SCABinding scaBinding)
Setter for the wrapped sca binding model element

Specified by:
setSCABinding in interface DistributedSCABinding
Parameters:
scaBinding - the sca binding model element

getURI

public java.lang.String getURI()
Returns the binding URI.

Specified by:
getURI in interface Binding
Returns:
the binding URI

setURI

public void setURI(java.lang.String uri)
Sets the binding URI.

Specified by:
setURI in interface Binding
Parameters:
uri - the binding URI

getName

public java.lang.String getName()
Returns the binding name.

Specified by:
getName in interface Binding
Returns:
the binding name

setName

public void setName(java.lang.String name)
Sets the binding name.

Specified by:
setName in interface Binding
Parameters:
name - the binding name

isUnresolved

public boolean isUnresolved()
Returns true if the model element is unresolved.

Specified by:
isUnresolved in interface Base
Returns:
true if the model element is unresolved.

setUnresolved

public void setUnresolved(boolean unresolved)
Sets whether the model element is unresolved.

Specified by:
setUnresolved in interface Base
Parameters:
unresolved - whether the model element is unresolved

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Clone the binding

Specified by:
clone in interface Binding
Overrides:
clone in class java.lang.Object
Returns:
Throws:
java.lang.CloneNotSupportedException