tamago
Class ComponentTypeDescriptor

java.lang.Object
  extended by tamago.ComponentTypeDescriptor
All Implemented Interfaces:
ComponentType

public class ComponentTypeDescriptor
extends java.lang.Object
implements ComponentType


Constructor Summary
ComponentTypeDescriptor(java.lang.String type_name, java.lang.Class<?> type_class)
           
 
Method Summary
 boolean equals(java.lang.Object o2)
           
 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)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentTypeDescriptor

public ComponentTypeDescriptor(java.lang.String type_name,
                               java.lang.Class<?> type_class)
Method Detail

getName

public java.lang.String getName()
Description copied from interface: ComponentType
get the name of the component type (a component type name is unique)

Specified by:
getName in interface ComponentType
Returns:
the name of the component type

getImplementation

public java.lang.Class<?> getImplementation()
Description copied from interface: ComponentType
get the implementation of the component type

Specified by:
getImplementation in interface ComponentType
Returns:
the implementation of the component type

isSuperType

public boolean isSuperType(ComponentType subtype)
Specified by:
isSuperType in interface ComponentType

isSubType

public boolean isSubType(ComponentType supertype)
Specified by:
isSubType in interface ComponentType

isSameType

public boolean isSameType(ComponentType type2)
Specified by:
isSameType in interface ComponentType

isStrictSuperType

public boolean isStrictSuperType(ComponentType subtype)
Specified by:
isStrictSuperType in interface ComponentType

isStrictSubType

public boolean isStrictSubType(ComponentType supertype)
Specified by:
isStrictSubType in interface ComponentType

equals

public boolean equals(java.lang.Object o2)
Overrides:
equals in class java.lang.Object

isTypeOf

public boolean isTypeOf(java.lang.Object o)
Specified by:
isTypeOf in interface ComponentType