Package org.apache.olingo.odata2.api.edm
Interface EdmFacets
- All Known Implementing Classes:
Facets
public interface EdmFacets
-
Method Summary
Modifier and TypeMethodDescriptionGet the sorting sequence to be used.Get the information if the value of the type in use should be used for optimistic concurrency checks.Get the default value of the type in useGet the maximum length of the type in useGet the precision of the type in usegetScale()Get the scale of the type in useGet the information if the type in has a fixed lengthGet the information if the type in use is nullableGet the information if UNICODE or ASCII characters are used.
-
Method Details
-
isNullable
Boolean isNullable()Get the information if the type in use is nullable- Returns:
trueif the type in use is nullable
-
getDefaultValue
String getDefaultValue()Get the default value of the type in use- Returns:
- a default value of the type in use as String
-
getMaxLength
Integer getMaxLength()Get the maximum length of the type in use- Returns:
- the maximum length of the type in use as Integer
-
isFixedLength
Boolean isFixedLength()Get the information if the type in has a fixed length- Returns:
trueif the type in use has a fixed length
-
getPrecision
Integer getPrecision()Get the precision of the type in use- Returns:
- the precision of the type in use as Integer
-
getScale
Integer getScale()Get the scale of the type in use- Returns:
- the scale of the type in use as Integer
-
isUnicode
Boolean isUnicode()Get the information if UNICODE or ASCII characters are used. Default is UNICODE.- Returns:
trueif UNICODE characters are used
-
getCollation
String getCollation()Get the sorting sequence to be used.- Returns:
- the sorting sequence as String
-
getConcurrencyMode
EdmConcurrencyMode getConcurrencyMode()Get the information if the value of the type in use should be used for optimistic concurrency checks.- Returns:
EdmConcurrencyMode
-