org.objectweb.fractal.gui.model
Interface Binding

All Known Implementing Classes:
BasicBinding

public interface Binding

A binding between a client and a server interface.


Field Summary
static long INCOMPATIBLE_TYPE_INTERFACES
          A status flag indicating that the client interface and the server interface are not compatible.
static long OK
          The status flags corresponding to a valid binding.
 
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.
 

Field Detail

OK

public static final long OK
The status flags corresponding to a valid binding.

See Also:
Constant Field Values

INCOMPATIBLE_TYPE_INTERFACES

public static final long INCOMPATIBLE_TYPE_INTERFACES
A status flag indicating that the client interface and the server interface are not compatible.

See Also:
Constant Field Values
Method Detail

getStatus

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

Returns:
the status of this binding.
See Also:
setStatus(long)

setStatus

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

Parameters:
status - the new status of this bindinge.
See Also:
getStatus()

getClientInterface

public ClientInterface getClientInterface()
Returns the client interface that is bound by this binding.

Returns:
the client interface that is bound by this binding.

getServerInterface

public ServerInterface getServerInterface()
Returns the server interface that is bound by this binding.

Returns:
the server interface that is bound by this binding.