Package com.liferay.portal.odata.entity
Class BooleanEntityField
java.lang.Object
com.liferay.portal.odata.entity.EntityField
com.liferay.portal.odata.entity.BooleanEntityField
Models an date entity field. A Entity field with a type
EntityField.Type.BOOLEAN
-
Nested Class Summary
Nested classes/interfaces inherited from class com.liferay.portal.odata.entity.EntityField
EntityField.Type
-
Constructor Summary
ConstructorsConstructorDescriptionBooleanEntityField
(String name, Function<Locale, String> filterableAndSortableFieldNameFunction) Creates a newBooleanEntityField
with aFunction
to convert the entity field's name to a filterable/sortable field name for a locale. -
Method Summary
Methods inherited from class com.liferay.portal.odata.entity.EntityField
getFilterableName, getFilterableValue, getName, getSortableName, getType, toString
-
Constructor Details
-
BooleanEntityField
public BooleanEntityField(String name, Function<Locale, String> filterableAndSortableFieldNameFunction) Creates a newBooleanEntityField
with aFunction
to convert the entity field's name to a filterable/sortable field name for a locale.- Parameters:
name
- the entity field's namefilterableAndSortableFieldNameFunction
- theFunction
-