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()
EdmFacets
isNullable
in interface EdmFacets
true
if the type in use is nullablepublic String getDefaultValue()
EdmFacets
getDefaultValue
in interface EdmFacets
public Integer getMaxLength()
EdmFacets
getMaxLength
in interface EdmFacets
public Boolean isFixedLength()
EdmFacets
isFixedLength
in interface EdmFacets
true
if the type in use has a fixed lengthpublic Integer getPrecision()
EdmFacets
getPrecision
in interface EdmFacets
public Integer getScale()
EdmFacets
public Boolean isUnicode()
EdmFacets
public String getCollation()
EdmFacets
getCollation
in interface EdmFacets
public EdmConcurrencyMode getConcurrencyMode()
EdmFacets
getConcurrencyMode
in interface EdmFacets
EdmConcurrencyMode
public Facets setNullable(Boolean nullable)
Facets
is nullablenullable
- Facets
for method chainingpublic Facets setFixedLength(Boolean fixedLength)
Facets
fixedLength
- Facets
for method chainingpublic Facets setUnicode(Boolean unicode)
Facets
is in Unicodeunicode
- Facets
for method chainingpublic Facets setDefaultValue(String defaultValue)
Facets
defaultValue
- Facets
for method chainingpublic Facets setMaxLength(Integer maxLength)
Facets
maxLength
- Facets
for method chainingpublic Facets setPrecision(Integer precision)
Facets
precision
- Facets
for method chainingpublic Facets setScale(Integer scale)
Facets
scale
- Facets
for method chainingpublic Facets setCollation(String collation)
Facets
collation
- Facets
for method chainingpublic Facets setConcurrencyMode(EdmConcurrencyMode concurrencyMode)
EdmConcurrencyMode
of this Facets
concurrencyMode
- Facets
for method chainingCopyright © 2013-2017 The Apache Software Foundation. All Rights Reserved.