org.objectweb.fractal.julia.type
Class BasicInterfaceType
java.lang.Object
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
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.
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.