| Constructor and Description |
|---|
Facets() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCollation()
Get the sorting sequence to be used.
|
EdmConcurrencyMode |
getConcurrencyMode()
Get the information if the value of the type in use should be used for optimistic concurrency checks.
|
String |
getDefaultValue()
Get the default value of the type in use
|
Integer |
getMaxLength()
Get the maximum length of the type in use
|
Integer |
getPrecision()
Get the precision of the type in use
|
Integer |
getScale()
Get the scale of the type in use
|
Boolean |
isFixedLength()
Get the information if the type in has a fixed length
|
Boolean |
isNullable()
Get the information if the type in use is nullable
|
Boolean |
isUnicode()
Get the information if UNICODE or ASCII characters are used.
|
Facets |
setCollation(String collation)
Sets the collation of this
Facets |
Facets |
setConcurrencyMode(EdmConcurrencyMode concurrencyMode)
Sets the
EdmConcurrencyMode of this Facets |
Facets |
setDefaultValue(String defaultValue)
Sets the default value of this
Facets |
Facets |
setFixedLength(Boolean fixedLength)
Sets the fixed length of this
Facets |
Facets |
setMaxLength(Integer maxLength)
Sets the maximum length of this
Facets |
Facets |
setNullable(Boolean nullable)
Sets if this
Facets is nullable |
Facets |
setPrecision(Integer precision)
Sets the precision of this
Facets |
Facets |
setScale(Integer scale)
Sets the scale of this
Facets |
Facets |
setUnicode(Boolean unicode)
Sets if this
Facets is in Unicode |
String |
toString() |
public Boolean isNullable()
EdmFacetsisNullable in interface EdmFacetstrue if the type in use is nullablepublic String getDefaultValue()
EdmFacetsgetDefaultValue in interface EdmFacetspublic Integer getMaxLength()
EdmFacetsgetMaxLength in interface EdmFacetspublic Boolean isFixedLength()
EdmFacetsisFixedLength in interface EdmFacetstrue if the type in use has a fixed lengthpublic Integer getPrecision()
EdmFacetsgetPrecision in interface EdmFacetspublic Integer getScale()
EdmFacetspublic Boolean isUnicode()
EdmFacetspublic String getCollation()
EdmFacetsgetCollation in interface EdmFacetspublic EdmConcurrencyMode getConcurrencyMode()
EdmFacetsgetConcurrencyMode in interface EdmFacetsEdmConcurrencyModepublic Facets setNullable(Boolean nullable)
Facets is nullablenullable - Facets for method chainingpublic Facets setFixedLength(Boolean fixedLength)
FacetsfixedLength - Facets for method chainingpublic Facets setUnicode(Boolean unicode)
Facets is in Unicodeunicode - Facets for method chainingpublic Facets setDefaultValue(String defaultValue)
FacetsdefaultValue - Facets for method chainingpublic Facets setMaxLength(Integer maxLength)
FacetsmaxLength - Facets for method chainingpublic Facets setPrecision(Integer precision)
Facetsprecision - Facets for method chainingpublic Facets setScale(Integer scale)
Facetsscale - Facets for method chainingpublic Facets setCollation(String collation)
Facetscollation - Facets for method chainingpublic Facets setConcurrencyMode(EdmConcurrencyMode concurrencyMode)
EdmConcurrencyMode of this FacetsconcurrencyMode - Facets for method chainingCopyright © 2013-2022 The Apache Software Foundation. All Rights Reserved.