public static final class PrimitiveValueSerializerOptions.Builder extends Object
Modifier and Type | Method and Description |
---|---|
PrimitiveValueSerializerOptions |
build()
Builds the OData serializer options.
|
PrimitiveValueSerializerOptions.Builder |
facetsFrom(EdmProperty property)
Sets all facets from an EDM property.
|
PrimitiveValueSerializerOptions.Builder |
maxLength(Integer maxLength)
Sets the maxLength facet.
|
PrimitiveValueSerializerOptions.Builder |
nullable(Boolean isNullable)
Sets the nullable facet.
|
PrimitiveValueSerializerOptions.Builder |
precision(Integer precision)
Sets the precision facet.
|
PrimitiveValueSerializerOptions.Builder |
scale(Integer scale)
Sets the scale facet.
|
PrimitiveValueSerializerOptions.Builder |
unicode(Boolean isUnicode)
Sets the unicode facet.
|
PrimitiveValueSerializerOptions.Builder |
xml10InvalidCharReplacement(String replacement)
set the replacement string for xml 1.0 unicode controlled characters that are not allowed
|
public PrimitiveValueSerializerOptions.Builder nullable(Boolean isNullable)
public PrimitiveValueSerializerOptions.Builder maxLength(Integer maxLength)
public PrimitiveValueSerializerOptions.Builder precision(Integer precision)
public PrimitiveValueSerializerOptions.Builder scale(Integer scale)
public PrimitiveValueSerializerOptions.Builder unicode(Boolean isUnicode)
public PrimitiveValueSerializerOptions.Builder facetsFrom(EdmProperty property)
public PrimitiveValueSerializerOptions.Builder xml10InvalidCharReplacement(String replacement)
public PrimitiveValueSerializerOptions build()
Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.