org.objectweb.fractal.julia.type
Class BasicInterfaceType

java.lang.Object
  extended by org.objectweb.fractal.julia.type.BasicInterfaceType
All Implemented Interfaces:
Serializable, Type, InterfaceType

public class BasicInterfaceType
extends Object
implements InterfaceType, Serializable

Provides a basic implementation of the InterfaceType interface.

See Also:
Serialized Form

Constructor Summary
BasicInterfaceType(String name, String signature, boolean isClient, boolean isOptional, boolean isCollection)
          Constructs a new BasicInterfaceType object.
 
Method Summary
 boolean equals(Object o)
          Tests if this interface type is equal to the given object.
 String getFcItfName()
           
 String getFcItfSignature()
           
 boolean isFcClientItf()
           
 boolean isFcCollectionItf()
           
 boolean isFcOptionalItf()
           
 boolean isFcSubTypeOf(Type type)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicInterfaceType

public BasicInterfaceType(String name,
                          String signature,
                          boolean isClient,
                          boolean isOptional,
                          boolean isCollection)
Constructs a new BasicInterfaceType object.

Parameters:
name - the name of the described interface.
signature - the fully qualified name of the Java type of the described interface, or a Class object.
isClient - true if the described interface is a client interface.
isOptional - true if the described interface is an optional interface.
isCollection - true if the described interface is a collection interface.
Method Detail

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

isFcSubTypeOf

public boolean isFcSubTypeOf(Type type)
Specified by:
isFcSubTypeOf in interface Type

equals

public boolean equals(Object o)
Tests if this interface type is equal to the given object.

Overrides:
equals in class Object
Parameters:
o - the object to be compared to this interface type.
Returns:
true if this interface type is equal to the given object.