org.objectweb.fractal.aokell.lib.type
Class InterfaceTypeImpl

java.lang.Object
  extended by org.objectweb.fractal.aokell.lib.type.InterfaceTypeImpl
All Implemented Interfaces:
Serializable, Type, InterfaceType

public class InterfaceTypeImpl
extends Object
implements InterfaceType, Serializable

Author:
Lionel Seinturier
See Also:
Serialized Form

Constructor Summary
InterfaceTypeImpl(String name, String signature, boolean isClient, boolean isOptional, boolean isCollection)
           
 
Method Summary
 Class getFcItfClass()
          Return the class associated to the Java signature of this interface.
 String getFcItfName()
           
 String getFcItfSignature()
           
 boolean isFcClientItf()
           
 boolean isFcCollectionItf()
           
 boolean isFcOptionalItf()
           
 boolean isFcSubTypeOf(Type type)
          Tell whether the current type is a sub type of the given type.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InterfaceTypeImpl

public InterfaceTypeImpl(String name,
                         String signature,
                         boolean isClient,
                         boolean isOptional,
                         boolean isCollection)
Method Detail

isFcSubTypeOf

public boolean isFcSubTypeOf(Type type)
Tell whether the current type is a sub type of the given type. Definition extracted from the Fractal specification 2.0.3 (2004/2/5).

Specified by:
isFcSubTypeOf in interface Type

getFcItfName

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

getFcItfSignature

public String getFcItfSignature()
Specified by:
getFcItfSignature in interface InterfaceType

isFcClientItf

public boolean isFcClientItf()
Specified by:
isFcClientItf in interface InterfaceType

isFcOptionalItf

public boolean isFcOptionalItf()
Specified by:
isFcOptionalItf in interface InterfaceType

isFcCollectionItf

public boolean isFcCollectionItf()
Specified by:
isFcCollectionItf in interface InterfaceType

getFcItfClass

public Class getFcItfClass()
                    throws ClassNotFoundException
Return the class associated to the Java signature of this interface.

Throws:
ClassNotFoundException

toString

public String toString()
Overrides:
toString in class Object