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, isAnnotationPresentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAnnotation, getAnnotations, getDeclaredAnnotations, isAnnotationPresentpublic 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 ClassAccessorpublic Class<?> getType()
ClassAccessorgetType in interface ClassAccessorpublic PropertyAccessor getProperty(String propertyName) throws NoSuchFieldException
getProperty in interface ClassAccessorNoSuchFieldExceptionpublic PropertyAccessor[] getProperties()
getProperties in interface ClassAccessorpublic PropertyAccessor[] getKeyProperties()
getKeyProperties in interface ClassAccessorpublic Object newInstance()
newInstance in interface ClassAccessorpublic Table getTable()