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 aDynDataDefinitionthen XML files can be read from the file system.If property files are used in aDynDataDefinitionthen property files can be read from the file system.Default time zone that is used for convertingDatevalues to String.getUser()If XML files are used in aDynDataDefinitionthen XML files can be read from the file system.voidsetDbContextName(String dbContextName) voidsetFormatmaskDate(String formatmaskDate) voidsetFormatmaskDateTime(String formatmaskDateTime) voidsetFormatmaskDecimal(String formatmaskDecimal) voidsetFormatmaskInt(String formatmaskInt) voidsetFormatmaskTime(String formatmaskTime) voidsetGlobals(Map<String, String> globals) voidsetJsonFileRootDirectory(String jsonFileRootDirectory) voidvoidsetPropertyFileRootDirectory(String propertyFileRootDirectory) voidvoidsetTimezone(String timezone) voidvoidsetXmlFileRootDirectory(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 convertingDatevalues 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 aDynDataDefinitionthen 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 aDynDataDefinitionthen 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 aDynDataDefinitionthen 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
-