public class AnnoAdapterBeeDefault extends Object implements AnnoAdapter
| Constructor and Description |
|---|
AnnoAdapterBeeDefault() |
| Modifier and Type | Method and Description |
|---|---|
String |
getValue(Class<?> clazz)
get the value of annotation which use on the class.
|
String |
getValue(Field field)
get the value of annotation which use on the field.
|
boolean |
isColumn(Field field)
Check the property or field whether is Column annotation.
|
boolean |
isIgnore(Field field)
Check the property or field whether is Ignore or Transient annotation.
|
boolean |
isPrimaryKey(Field field)
Check the property or field whether is Primary Key annotation.
|
boolean |
isTable(Class<?> clazz)
Check the class whether is Table annotation.
|
public boolean isPrimaryKey(Field field)
AnnoAdapterisPrimaryKey in interface AnnoAdapterfield - annotated fieldpublic boolean isTable(Class<?> clazz)
AnnoAdapterisTable in interface AnnoAdapterpublic boolean isColumn(Field field)
AnnoAdapterisColumn in interface AnnoAdapterfield - annotated fieldpublic boolean isIgnore(Field field)
AnnoAdapterisIgnore in interface AnnoAdapterfield - annotated fieldpublic String getValue(Field field)
AnnoAdaptergetValue in interface AnnoAdapterfield - annotated fieldpublic String getValue(Class<?> clazz)
AnnoAdaptergetValue in interface AnnoAdapterclazz - annotated classCopyright © 2022. All rights reserved.