tamago
Interface ComponentType

All Known Implementing Classes:
ComponentTypeDescriptor

public interface ComponentType

The Component Type interface Component types possess a name and an implementation (definition) A subtyping hierarchy is provided, Component being the top-level component type. Note: A component type is a subtype of another component type if it requires supertypes and provides subtypes of the services. Also, it must implement at least the same controllers.

Author:
Frederic Peschanski

Method Summary
 java.lang.Class<?> getImplementation()
          get the implementation of the component type
 java.lang.String getName()
          get the name of the component type (a component type name is unique)
 boolean isSameType(ComponentType type2)
           
 boolean isStrictSubType(ComponentType supertype)
           
 boolean isStrictSuperType(ComponentType subtype)
           
 boolean isSubType(ComponentType supertype)
           
 boolean isSuperType(ComponentType subtype)
           
 boolean isTypeOf(java.lang.Object o)
           
 

Method Detail

getName

java.lang.String getName()
get the name of the component type (a component type name is unique)

Returns:
the name of the component type

getImplementation

java.lang.Class<?> getImplementation()
get the implementation of the component type

Returns:
the implementation of the component type

isSuperType

boolean isSuperType(ComponentType subtype)

isSubType

boolean isSubType(ComponentType supertype)

isSameType

boolean isSameType(ComponentType type2)

isStrictSuperType

boolean isStrictSuperType(ComponentType subtype)

isStrictSubType

boolean isStrictSubType(ComponentType supertype)

isTypeOf

boolean isTypeOf(java.lang.Object o)