| java.lang.Object xdoclet.modules.ojb.constraints.InheritanceHelper
Method Summary | |
public static Class | getClass(String name) Retrieves the class object for the class with the given name. | public boolean | isSameOrSubTypeOf(XClass type, String baseType, boolean checkActualClasses) Determines whether the given type is the same or a sub type of the other type. | public boolean | isSameOrSubTypeOf(ClassDescriptorDef type, String baseType, boolean checkActualClasses) Determines whether the given type is the same or a sub type of the other type. | public boolean | isSameOrSubTypeOf(String type, String baseType) Determines whether the given type is the same or a sub type of the other type. | public boolean | isSameOrSubTypeOf(Class type, String baseType) Determines whether the given type is the same or a sub type of the other type. |
getClass | public static Class getClass(String name) throws ClassNotFoundException(Code) | | Retrieves the class object for the class with the given name.
Parameters: name - The class name The class object throws: ClassNotFoundException - If the class is not on the classpath (the exception message contains the class name) |
isSameOrSubTypeOf | public boolean isSameOrSubTypeOf(XClass type, String baseType, boolean checkActualClasses) throws ClassNotFoundException(Code) | | Determines whether the given type is the same or a sub type of the other type.
Parameters: type - The type Parameters: baseType - The possible base type Parameters: checkActualClasses - Whether to use the actual classes for the test true If type specifies the same or a sub type of baseType throws: ClassNotFoundException - If the two classes are not on the classpath |
isSameOrSubTypeOf | public boolean isSameOrSubTypeOf(ClassDescriptorDef type, String baseType, boolean checkActualClasses) throws ClassNotFoundException(Code) | | Determines whether the given type is the same or a sub type of the other type.
Parameters: type - The type Parameters: baseType - The possible base type Parameters: checkActualClasses - Whether to use the actual classes for the test true If type specifies the same or a sub type of baseType throws: ClassNotFoundException - If the two classes are not on the classpath |
isSameOrSubTypeOf | public boolean isSameOrSubTypeOf(String type, String baseType) throws ClassNotFoundException(Code) | | Determines whether the given type is the same or a sub type of the other type.
Parameters: type - The type Parameters: baseType - The possible base type true If type specifies the same or a sub type of baseType throws: ClassNotFoundException - If the two classes are not on the classpath |
isSameOrSubTypeOf | public boolean isSameOrSubTypeOf(Class type, String baseType) throws ClassNotFoundException(Code) | | Determines whether the given type is the same or a sub type of the other type.
Parameters: type - The type Parameters: baseType - The possible base type true If type specifies the same or a sub type of baseType throws: ClassNotFoundException - If the two classes are not on the classpath |
|
|