aokell.lib
Class InterfaceImpl

java.lang.Object
  extended by aokell.lib.InterfaceImpl
All Implemented Interfaces:
CloneableItf, Cloneable, Interface
Direct Known Subclasses:
ComponentImpl

public class InterfaceImpl
extends Object
implements Interface, CloneableItf

Default implementation of the Interface interface. This class is extended by classes which implement component interfaces.

Author:
Lionel Seinturier

Field Summary
protected  BindingController bc
          The binding controller associated to the owner of this interface.
 
Constructor Summary
InterfaceImpl()
           
InterfaceImpl(Component fcItfOwner, String fcItfName, Type fcItfType, boolean fcInternalItf)
           
 
Method Summary
 Object clone()
           
 String getFcItfName()
           
 Component getFcItfOwner()
           
 Type getFcItfType()
           
 void init(Component fcItfOwner, String fcItfName, Type fcItfType, boolean fcInternalItf)
           
 boolean isFcInternalItf()
           
 Object lookupFc()
          If this interface can play the role of the source interface in a binding, return the target interface currently bound to it (if there is one.)
protected  void setBC()
           
 void setFcInternalItf(boolean fcInternalItf)
           
 void setFcItfName(String fcItfName)
           
 void setFcItfOwner(Component fcItfOwner)
           
 void setFcItfType(Type fcItfType)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bc

protected BindingController bc
The binding controller associated to the owner of this interface.

Constructor Detail

InterfaceImpl

public InterfaceImpl(Component fcItfOwner,
                     String fcItfName,
                     Type fcItfType,
                     boolean fcInternalItf)

InterfaceImpl

public InterfaceImpl()
Method Detail

init

public void init(Component fcItfOwner,
                 String fcItfName,
                 Type fcItfType,
                 boolean fcInternalItf)

getFcItfOwner

public Component getFcItfOwner()
Specified by:
getFcItfOwner in interface Interface

getFcItfName

public String getFcItfName()
Specified by:
getFcItfName in interface Interface

getFcItfType

public Type getFcItfType()
Specified by:
getFcItfType in interface Interface

isFcInternalItf

public boolean isFcInternalItf()
Specified by:
isFcInternalItf in interface Interface

lookupFc

public Object lookupFc()
If this interface can play the role of the source interface in a binding, return the target interface currently bound to it (if there is one.) Client interfaces or server interfaces owned by a composite can play the role of the source interface in a binding.


setBC

protected void setBC()

setFcItfOwner

public void setFcItfOwner(Component fcItfOwner)

setFcItfName

public void setFcItfName(String fcItfName)

setFcItfType

public void setFcItfType(Type fcItfType)

setFcInternalItf

public void setFcInternalItf(boolean fcInternalItf)

clone

public Object clone()
Specified by:
clone in interface CloneableItf
Overrides:
clone in class Object