org.objectweb.fractal.gui.model
Class BasicBinding

java.lang.Object
  extended byorg.objectweb.fractal.gui.model.BasicBinding
All Implemented Interfaces:
Binding

public class BasicBinding
extends java.lang.Object
implements Binding

Basic implementation of the Binding interface.


Field Summary
 
Fields inherited from interface org.objectweb.fractal.gui.model.Binding
INCOMPATIBLE_TYPE_INTERFACES, OK
 
Method Summary
 ClientInterface getClientInterface()
          Returns the client interface that is bound by this binding.
 ServerInterface getServerInterface()
          Returns the server interface that is bound by this binding.
 long getStatus()
          Returns the status of this binding.
 void setStatus(long status)
          Sets the status of this binding.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getStatus

public long getStatus()
Returns the status of this binding.

Specified by:
getStatus in interface Binding
Returns:
the status of this binding.
See Also:
setStatus(long)

setStatus

public void setStatus(long status)
Sets the status of this binding.

Specified by:
setStatus in interface Binding
Parameters:
status - the new status of this bindinge.
See Also:
getStatus()

getClientInterface

public ClientInterface getClientInterface()
Description copied from interface: Binding
Returns the client interface that is bound by this binding.

Specified by:
getClientInterface in interface Binding
Returns:
the client interface that is bound by this binding.

getServerInterface

public ServerInterface getServerInterface()
Description copied from interface: Binding
Returns the server interface that is bound by this binding.

Specified by:
getServerInterface in interface Binding
Returns:
the server interface that is bound by this binding.