Пример #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));
 }
Пример #2
0
 private static boolean isBoolean(Builtin builtin) {
   return (builtin.equals(Builtin.BOOLEAN));
 }
Пример #3
0
 private static boolean isDate(Builtin builtin) {
   return (builtin.equals(Builtin.DATE)
       || builtin.equals(Builtin.DATETIME)
       || builtin.equals(Builtin.DATETIME_TZ));
 }
Пример #4
0
 private static boolean isString(Builtin builtin) {
   return (builtin.equals(Builtin.STRING)
       || builtin.equals(Builtin.URI)
       || builtin.equals(Builtin.UUID));
 }
Пример #5
0
 private static boolean isCharacter(Builtin builtin) {
   return (builtin.equals(Builtin.CHAR));
 }
Пример #6
0
 private static boolean isDouble(Builtin builtin) {
   return (builtin.equals(Builtin.R8)
       || builtin.equals(Builtin.NUMBER)
       || builtin.equals(Builtin.FIXED144));
 }
Пример #7
0
 private static boolean isFloat(Builtin builtin) {
   return (builtin.equals(Builtin.R4) || builtin.equals(Builtin.FLOAT));
 }
Пример #8
0
 private static boolean isLong(Builtin builtin) {
   return (builtin.equals(Builtin.UI4)
       || builtin.equals(Builtin.TIME)
       || builtin.equals(Builtin.TIME_TZ));
 }
Пример #9
0
 private static boolean isBase64(Builtin builtin) {
   return (builtin.equals(Builtin.BIN_BASE64));
 }
Пример #10
0
 private static boolean isByte(Builtin builtin) {
   return (builtin.equals(Builtin.BIN_HEX));
 }