org.azzyzt.jee.runtime.meta
Class TypeMetaInfoBase
java.lang.Object
org.azzyzt.jee.runtime.meta.TypeMetaInfoBase
- All Implemented Interfaces:
- TypeMetaInfoInterface
public abstract class TypeMetaInfoBase
- extends java.lang.Object
- implements TypeMetaInfoInterface
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeMetaInfoBase
public TypeMetaInfoBase()
getValidPaths
public abstract ValidAssociactionPathsInterface getValidPaths()
- Specified by:
getValidPaths
in interface TypeMetaInfoInterface
fieldVerification
public void fieldVerification(java.lang.Class<?> clazz,
java.lang.String name)
throws InvalidFieldException,
AccessDeniedException
- Specified by:
fieldVerification
in interface TypeMetaInfoInterface
- Throws:
InvalidFieldException
AccessDeniedException
isAssociationPath
public boolean isAssociationPath(java.lang.String name)
- Specified by:
isAssociationPath
in interface TypeMetaInfoInterface
getFieldType
public java.lang.Class<?> getFieldType(java.lang.Class<?> clazz,
java.lang.String name)
throws InvalidFieldException,
AccessDeniedException
- Returns the type of either the field of "clazz" or of the field pointed to from "clazz" via path "name"
- Specified by:
getFieldType
in interface TypeMetaInfoInterface
- Parameters:
clazz
- name
-
- Returns:
- type of either the field of "clazz" or of the field pointed to from "clazz" via path "name"
- Throws:
InvalidFieldException
AccessDeniedException
getConverterForDto
public java.lang.Class<?> getConverterForDto(java.lang.Class<?> clazz)
throws InvalidArgumentException
- Specified by:
getConverterForDto
in interface TypeMetaInfoInterface
- Throws:
InvalidArgumentException
getEntityForDto
public java.lang.Class<?> getEntityForDto(java.lang.Class<?> clazz)
throws InvalidArgumentException
- Specified by:
getEntityForDto
in interface TypeMetaInfoInterface
- Throws:
InvalidArgumentException