예제 #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));
 }