Package com.liferay.portal.odata.entity
Class StringEntityField
java.lang.Object
com.liferay.portal.odata.entity.EntityField
com.liferay.portal.odata.entity.StringEntityField
Models a string entity field. An Entity field with a type
EntityField.Type.STRING-
Nested Class Summary
Nested classes/interfaces inherited from class com.liferay.portal.odata.entity.EntityField
EntityField.Type -
Constructor Summary
ConstructorsConstructorDescriptionStringEntityField(String name, Function<Locale, String> filterableAndSortableFieldNameFunction) Creates a newStringEntityFieldwith aFunctionto convert the entity field's name to a filterable/sortable field name for a locale.StringEntityField(String name, Function<Locale, String> sortableFieldNameFunction, Function<Locale, String> filterableFieldNameFunction) Creates a newStringEntityFieldwith aFunctionto 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
-
StringEntityField
public StringEntityField(String name, Function<Locale, String> filterableAndSortableFieldNameFunction) Creates a newStringEntityFieldwith aFunctionto convert the entity field's name to a filterable/sortable field name for a locale.- Parameters:
name- the entity field's namefilterableAndSortableFieldNameFunction- theFunction
-
StringEntityField
public StringEntityField(String name, Function<Locale, String> sortableFieldNameFunction, Function<Locale, String> filterableFieldNameFunction) Creates a newStringEntityFieldwith aFunctionto convert the entity field's name to a filterable/sortable field name for a locale.- Parameters:
name- the entity field's namesortableFieldNameFunction- the sortable field nameFunctionfilterableFieldNameFunction- the filterable field nameFunction
-