1 21 package oracle.toplink.essentials.internal.parsing; 23 24 28 public interface TypeHelper { 29 30 31 public String getTypeName(Object type); 32 33 35 public Object resolveTypeName(String typeName); 36 37 39 public Object resolveAttribute(Object ownerClass, String attribute); 40 41 43 public Object resolveSchema(String schemaName); 44 45 47 public Object resolveEnumConstant(Object enumType, String constant); 48 49 50 public Object getObjectType(); 51 52 53 public Object getBooleanType(); 54 55 56 public Object getCharType(); 57 58 59 public Object getIntType(); 60 61 62 public Object getLongType(); 63 64 65 public Object getLongClassType(); 66 67 68 public Object getFloatType(); 69 70 71 public Object getDoubleType(); 72 73 74 public Object getDoubleClassType(); 75 76 77 public Object getStringType(); 78 79 80 public Object getBigIntegerType(); 81 82 83 public Object getBigDecimalType(); 84 85 86 public boolean isEnumType(Object type); 87 88 91 public boolean isNumericType(Object type); 92 93 95 public boolean isIntegralType(Object type); 96 97 99 public boolean isFloatingPointType(Object type); 100 101 102 public boolean isStringType(Object type); 103 104 105 public boolean isBigIntegerType(Object type); 106 107 108 public boolean isBigDecimalType(Object type); 109 110 111 public boolean isOrderableType(Object type); 112 113 114 public boolean isEntityClass(Object type); 115 116 117 public boolean isEmbeddable(Object type); 118 119 120 public boolean isEmbeddedAttribute(Object ownerClass, String attribute); 121 122 123 public boolean isAssignableFrom(Object left, Object right); 124 125 127 public Object extendedBinaryNumericPromotion(Object left, Object right); 128 } 129 | Popular Tags |