Java Object Representations

The data conversion and comparison operations manipulate strings and other Java objects. Each value in a root domain is represented by an object of a corresponding Java class. The Java class used by a root domain is the same for all descendant domains of that root domain and cannot be changed. When customizing the operations, knowledge of the type of data being processed is important. The table below shows the Java class used for data objects for each of the root domains.

Table 1. Classes Used for Java Object Representations
Domain Java Class

SVR_BLOB

curam.util.type.Blob

SVR_BOOLEAN

java.lang.Boolean

SVR_CHAR

java.lang.Character

SVR_DATE

curam.util.type.Date

SVR_DATETIME

curam.util.type.DateTime

SVR_DOUBLE

java.lang.Double

SVR_FLOAT

java.lang.Float

SVR_INT8

java.lang.Byte

SVR_INT16

java.lang.Short

SVR_INT32

java.lang.Integer

SVR_INT64

java.lang.Long

SVR_MONEY

curam.util.type.Money

SVR_STRING

java.lang.String

SVR_UNBOUNDED_STRING

java.lang.String

CODETABLE_CODE

curam.util.common.util.CodeItem

Though derived from SVR_STRING, the Java class used for CODETABLE_CODE is different to that of its parent. This is the only exception to the rule that the Java class used is the same for all descendant domains of a root domain.