Package org.eclnt.ccee.dyndata
Class DynDataReaderContext
java.lang.Object
org.eclnt.ccee.dyndata.DynDataReaderContext
Context information that is passed into the resolution of dynamic data. The
object is used in many functions of
DynDataReader
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe default context that is used for accessing the database - it may be overrridden by some specific context information that is part of the dynamic data definition See:DynDataDefinition.getDataContextName()
.Default format mask that is used to convert data of type Date/LocalDate into a String.Default format mask that is used to convert data of type Date/LocalDateTime into a String.Default format mask that is used to convert data of type float/double/BigDecimal into a String.Default format mask that is used to convert data of type int/long into a String.Default format mask that is used to convert data of type Date (used as time)/LocalTime into a String.Global values that are reachable by ${CONTEXT.name} from within query definitions.If XML files are used in aDynDataDefinition
then XML files can be read from the file system.If property files are used in aDynDataDefinition
then property files can be read from the file system.Default time zone that is used for convertingDate
values to String.getUser()
If XML files are used in aDynDataDefinition
then XML files can be read from the file system.void
setDbContextName
(String dbContextName) void
setFormatmaskDate
(String formatmaskDate) void
setFormatmaskDateTime
(String formatmaskDateTime) void
setFormatmaskDecimal
(String formatmaskDecimal) void
setFormatmaskInt
(String formatmaskInt) void
setFormatmaskTime
(String formatmaskTime) void
setGlobals
(Map<String, String> globals) void
setJsonFileRootDirectory
(String jsonFileRootDirectory) void
void
setPropertyFileRootDirectory
(String propertyFileRootDirectory) void
void
setTimezone
(String timezone) void
void
setXmlFileRootDirectory
(String xmlFileRootDirectory)
-
Constructor Details
-
DynDataReaderContext
public DynDataReaderContext()
-
-
Method Details
-
getDbContextName
The default context that is used for accessing the database - it may be overrridden by some specific context information that is part of the dynamic data definition See:DynDataDefinition.getDataContextName()
. -
setDbContextName
-
getTimezone
Default time zone that is used for convertingDate
values to String. -
setTimezone
-
getFormatmaskDecimal
Default format mask that is used to convert data of type float/double/BigDecimal into a String. -
setFormatmaskDecimal
-
getFormatmaskDate
Default format mask that is used to convert data of type Date/LocalDate into a String. -
setFormatmaskDate
-
getFormatmaskTime
Default format mask that is used to convert data of type Date (used as time)/LocalTime into a String. -
setFormatmaskTime
-
getFormatmaskDateTime
Default format mask that is used to convert data of type Date/LocalDateTime into a String. -
setFormatmaskDateTime
-
getFormatmaskInt
Default format mask that is used to convert data of type int/long into a String. -
setFormatmaskInt
-
getGlobals
Global values that are reachable by ${CONTEXT.name} from within query definitions. -
setGlobals
-
getPropertyFileRootDirectory
If property files are used in aDynDataDefinition
then property files can be read from the file system. The context defines the root directory for finding the property files. -
setPropertyFileRootDirectory
-
getXmlFileRootDirectory
If XML files are used in aDynDataDefinition
then XML files can be read from the file system. The context defines the root directory for finding the XML files. -
setXmlFileRootDirectory
-
getJsonFileRootDirectory
If XML files are used in aDynDataDefinition
then XML files can be read from the file system. The context defines the root directory for finding the JSON files. -
setJsonFileRootDirectory
-
getLocale
-
setLocale
-
getTenant
-
setTenant
-
getUser
-
setUser
-