Example #1
0
 private static boolean isInteger(Builtin builtin) {
   return (builtin.equals(Builtin.UI1)
       || builtin.equals(Builtin.UI2)
       || builtin.equals(Builtin.I1)
       || builtin.equals(Builtin.I2)
       || builtin.equals(Builtin.I4)
       || builtin.equals(Builtin.INT));
 }
Example #2
0
 private static boolean isBoolean(Builtin builtin) {
   return (builtin.equals(Builtin.BOOLEAN));
 }
Example #3
0
 private static boolean isDate(Builtin builtin) {
   return (builtin.equals(Builtin.DATE)
       || builtin.equals(Builtin.DATETIME)
       || builtin.equals(Builtin.DATETIME_TZ));
 }
Example #4
0
 private static boolean isString(Builtin builtin) {
   return (builtin.equals(Builtin.STRING)
       || builtin.equals(Builtin.URI)
       || builtin.equals(Builtin.UUID));
 }
Example #5
0
 private static boolean isCharacter(Builtin builtin) {
   return (builtin.equals(Builtin.CHAR));
 }
Example #6
0
 private static boolean isDouble(Builtin builtin) {
   return (builtin.equals(Builtin.R8)
       || builtin.equals(Builtin.NUMBER)
       || builtin.equals(Builtin.FIXED144));
 }
Example #7
0
 private static boolean isFloat(Builtin builtin) {
   return (builtin.equals(Builtin.R4) || builtin.equals(Builtin.FLOAT));
 }
Example #8
0
 private static boolean isLong(Builtin builtin) {
   return (builtin.equals(Builtin.UI4)
       || builtin.equals(Builtin.TIME)
       || builtin.equals(Builtin.TIME_TZ));
 }
Example #9
0
 private static boolean isBase64(Builtin builtin) {
   return (builtin.equals(Builtin.BIN_BASE64));
 }
Example #10
0
 private static boolean isByte(Builtin builtin) {
   return (builtin.equals(Builtin.BIN_HEX));
 }