Package com.liferay.portal.odata.entity
Class IntegerEntityField
java.lang.Object
com.liferay.portal.odata.entity.EntityField
com.liferay.portal.odata.entity.IntegerEntityField
Models an date entity field. A Entity field with a type
EntityField.Type.INTEGER
-
Nested Class Summary
Nested classes/interfaces inherited from class com.liferay.portal.odata.entity.EntityField
EntityField.Type
-
Constructor Summary
ConstructorsConstructorDescriptionIntegerEntityField
(String name, Function<Locale, String> filterableAndSortableFieldNameFunction) Creates a newIntegerEntityField
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
-
IntegerEntityField
public IntegerEntityField(String name, Function<Locale, String> filterableAndSortableFieldNameFunction) Creates a newIntegerEntityField
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
-