Code example for Field

Methods: isAnnotationPresent

    private String columnName;
    private SortOrderInfo defaultSortOrderInfo;
    private ProjectionMapInfo projectionMapInfo;
    public ColumnInfo(Field columnField) {
        if (!columnField.isAnnotationPresent(DatabaseField.class)) {
            throw new IllegalArgumentException("Parameter does not implement the DatabaseField annotation.");
        this.field = columnField;
        this.columnName = OrmLiteAnnotationAccessor.getAnnotationColumnName(columnField);
        this.defaultSortOrderInfo = new SortOrderInfo(columnField);
        this.projectionMapInfo = new ProjectionMapInfo(columnField);
    public boolean isValid() { 
        return isValid(false); 
Stop searching for code, let great code find you!  Add Codota to your java IDE