Package cool.scx.common.field_filter
Class AbstractFieldFilter
java.lang.Object
cool.scx.common.field_filter.AbstractFieldFilter
- All Implemented Interfaces:
FieldFilter
- Direct Known Subclasses:
ExcludedFieldFilter,IncludedFieldFilter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected FieldFilter_addFieldNames(String... fieldNames) 添加 包含类型的列protected FieldFilter_removeFieldNames(String... fieldNames) 根据指定名称 移除 包含类型的列clear()清除所有 包含类型的列booleanignoreNullValue(boolean ignoreNullValue) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cool.scx.common.field_filter.FieldFilter
addExcluded, addIncluded, getFilterMode, removeExcluded, removeIncluded
-
Constructor Details
-
AbstractFieldFilter
protected AbstractFieldFilter()
-
-
Method Details
-
_addFieldNames
添加 包含类型的列- Parameters:
fieldNames- 包含的列名 (注意是 java 字段名称 ,不是 数据库 字段名称)- Returns:
- this 方便链式调用
-
_removeFieldNames
根据指定名称 移除 包含类型的列- Parameters:
fieldNames- 包含的列名 (注意是 java 字段名称 ,不是 数据库 字段名称)- Returns:
- this 方便链式调用
-
clear
清除所有 包含类型的列- Specified by:
clearin interfaceFieldFilter- Returns:
- this 方便链式调用
-
getFieldNames
- Specified by:
getFieldNamesin interfaceFieldFilter
-
getIgnoreNullValue
public boolean getIgnoreNullValue()- Specified by:
getIgnoreNullValuein interfaceFieldFilter
-
ignoreNullValue
- Specified by:
ignoreNullValuein interfaceFieldFilter
-