public class TableAccessor extends AbstractAnnotatedAccessor implements ClassAccessor
Modifier and Type | Field and Description |
---|---|
protected ColumnAccessor[] |
columnAccessors |
static String |
copyright |
protected ClassAccessor |
javaClassAccessor |
protected ColumnAccessor[] |
keyColumnAccessors |
static org.slf4j.Logger |
logger |
protected Table |
table |
annotations
Constructor and Description |
---|
TableAccessor(Table table) |
Modifier and Type | Method and Description |
---|---|
PropertyAccessor[] |
getKeyProperties() |
String |
getName() |
PropertyAccessor[] |
getProperties() |
PropertyAccessor |
getProperty(String propertyName) |
Table |
getTable() |
Class<?> |
getType()
The type of the objects this accessor can operate on.
|
Object |
newInstance() |
getAnnotation, getAnnotations, getDeclaredAnnotations, isAnnotationPresent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAnnotation, getAnnotations, getDeclaredAnnotations, isAnnotationPresent
public static final String copyright
protected final Table table
protected final ColumnAccessor[] columnAccessors
protected final ColumnAccessor[] keyColumnAccessors
protected ClassAccessor javaClassAccessor
public static final org.slf4j.Logger logger
public TableAccessor(@NotNull Table table)
public String getName()
getName
in interface ClassAccessor
public Class<?> getType()
ClassAccessor
getType
in interface ClassAccessor
public PropertyAccessor getProperty(String propertyName) throws NoSuchFieldException
getProperty
in interface ClassAccessor
NoSuchFieldException
public PropertyAccessor[] getProperties()
getProperties
in interface ClassAccessor
public PropertyAccessor[] getKeyProperties()
getKeyProperties
in interface ClassAccessor
public Object newInstance()
newInstance
in interface ClassAccessor
public Table getTable()