org.objectweb.fractal.julia.type
Class BasicComponentType
java.lang.Object
org.objectweb.fractal.julia.type.BasicComponentType
- All Implemented Interfaces:
- Serializable, Type, ComponentType
public class BasicComponentType
- extends Object
- implements ComponentType, Serializable
Provides a basic implementation of the ComponentType
interface.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicComponentType
public BasicComponentType(InterfaceType[] itfTypes)
throws InstantiationException
- Constructs a
BasicComponentType
object.
- Parameters:
itfTypes
- the types of the interfaces of components of this type.
- Throws:
InstantiationException
- if two interface types have the same name,
or if the name of an interface type is a prefix of the name of a
collection interface type.
getFcInterfaceTypes
public InterfaceType[] getFcInterfaceTypes()
- Specified by:
getFcInterfaceTypes
in interface ComponentType
getFcInterfaceType
public InterfaceType getFcInterfaceType(String name)
throws NoSuchInterfaceException
- Specified by:
getFcInterfaceType
in interface ComponentType
- Throws:
NoSuchInterfaceException
isFcSubTypeOf
public boolean isFcSubTypeOf(Type type)
- Specified by:
isFcSubTypeOf
in interface Type