Class PrimitiveValueSerializerOptions.Builder
java.lang.Object
org.apache.olingo.server.api.serializer.PrimitiveValueSerializerOptions.Builder
- Enclosing class:
- PrimitiveValueSerializerOptions
Builder of OData serializer options.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the OData serializer options.facetsFrom
(EdmProperty property) Sets all facets from an EDM property.Sets the maxLength facet.Sets the nullable facet.Sets the precision facet.Sets the scale facet.Sets the unicode facet.xml10InvalidCharReplacement
(String replacement) set the replacement string for xml 1.0 unicode controlled characters that are not allowed
-
Method Details
-
nullable
Sets the nullable facet. -
maxLength
Sets the maxLength facet. -
precision
Sets the precision facet. -
scale
Sets the scale facet. -
unicode
Sets the unicode facet. -
facetsFrom
Sets all facets from an EDM property. -
xml10InvalidCharReplacement
set the replacement string for xml 1.0 unicode controlled characters that are not allowed -
build
Builds the OData serializer options.
-