T - the entity interfaceK - the primary key for the entitypublic interface EntityInfo<T extends RawEntity<K>,K>
RawEntity
Note this is different to TypeInfo which describes what type a column is in the database.
EntityInfo describes the table.| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<T> |
getEntityType() |
FieldInfo |
getField(java.lang.reflect.Method method) |
FieldInfo |
getField(java.lang.String fieldName) |
java.util.Set<java.lang.String> |
getFieldNames() |
java.util.Set<FieldInfo> |
getFields() |
java.lang.String |
getName() |
FieldInfo<K> |
getPrimaryKey() |
boolean |
hasAccessor(java.lang.reflect.Method method) |
boolean |
hasField(java.lang.String fieldName) |
boolean |
hasMutator(java.lang.reflect.Method method) |
java.lang.Class<T> getEntityType()
<T>java.lang.String getName()
java.util.Set<FieldInfo> getFields()
java.util.Set<java.lang.String> getFieldNames()
FieldInfo.getName()FieldInfo getField(java.lang.reflect.Method method)
FieldInfo getField(java.lang.String fieldName)
fieldName - the name of the database columnFieldInfo associated with the fieldNameboolean hasAccessor(java.lang.reflect.Method method)
method - the method to test whether it is an accessortrue if the method is an accessor for the entity, false otherwiseboolean hasMutator(java.lang.reflect.Method method)
method - the method to test whether it is an mutatortrue if the method is an mutator for the entity, false otherwiseboolean hasField(java.lang.String fieldName)
fieldName - the name of the database columntrue if the fieldName is associated with the entity, false otherwiseCopyright © 2007-2018. All Rights Reserved.