Package com.liferay.portal.odata.entity
Class IdEntityField
java.lang.Object
com.liferay.portal.odata.entity.EntityField
com.liferay.portal.odata.entity.IdEntityField
Models an date entity field. A Entity field with a type
EntityField.Type.ID
-
Nested Class Summary
Nested classes/interfaces inherited from class com.liferay.portal.odata.entity.EntityField
EntityField.Type
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.liferay.portal.odata.entity.EntityField
getFilterableName, getFilterableValue, getName, getSortableName, getType, toString
-
Constructor Details
-
IdEntityField
public IdEntityField(String name, Function<Locale, String> filterableAndSortableFieldNameFunction, Function<Object, String> filterableFieldValueFunction) Creates a newIdEntityField
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
that converts the entity field's name to a filterable/sortable field name for a localefilterableFieldValueFunction
- theFunction
that converts the entity field's value to a filterable field value
-