|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.olingo.odata2.api.edm.provider.Facets
public class Facets
Objects of this class represent the facets an entity type, property or function import can have
Constructor Summary | |
---|---|
Facets()
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Facets()
Method Detail |
---|
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
getScale
in interface EdmFacets
public Boolean isUnicode()
EdmFacets
isUnicode
in interface EdmFacets
true
if UNICODE characters are usedpublic String getCollation()
EdmFacets
getCollation
in interface EdmFacets
public EdmConcurrencyMode getConcurrencyMode()
EdmFacets
getConcurrencyMode
in interface EdmFacets
EdmConcurrencyMode
public Facets setNullable(Boolean nullable)
Facets
is nullable
nullable
-
Facets
for method chainingpublic Facets setFixedLength(Boolean fixedLength)
Facets
fixedLength
-
Facets
for method chainingpublic Facets setUnicode(Boolean unicode)
Facets
is in Unicode
unicode
-
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 chainingpublic String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |