예제 #1
0
파일: Type.java 프로젝트: shahidminhas/abc
  public final HsqlName getCatalogName() {

    if (userTypeModifier == null) {
      throw Error.runtimeError(ErrorCode.U_S0500, "Type");
    }

    return userTypeModifier.getSchemaName().schema;
  }
예제 #2
0
파일: Type.java 프로젝트: shahidminhas/abc
  // interface specific methods
  public final int getType() {

    if (userTypeModifier == null) {
      throw Error.runtimeError(ErrorCode.U_S0500, "Type");
    }

    return userTypeModifier.getType();
  }
예제 #3
0
파일: Type.java 프로젝트: shahidminhas/abc
  /**
   * Retrieves the SQL character sequence required to (re)create the trigger, as a StringBuffer
   *
   * @return the SQL character sequence required to (re)create the trigger
   */
  public String getSQL() {

    if (userTypeModifier == null) {
      throw Error.runtimeError(ErrorCode.U_S0500, "Type");
    }

    return userTypeModifier.getSQL();
  }
예제 #4
0
파일: Type.java 프로젝트: shahidminhas/abc
  public final void compile(Session session, SchemaObject parentObject) {

    if (userTypeModifier == null) {
      throw Error.runtimeError(ErrorCode.U_S0500, "Type");
    }

    userTypeModifier.compile(session);
  }
예제 #5
0
파일: Type.java 프로젝트: shahidminhas/abc
  public final OrderedHashSet getComponents() {

    if (userTypeModifier == null) {
      throw Error.runtimeError(ErrorCode.U_S0500, "Type");
    }

    return userTypeModifier.getComponents();
  }
예제 #6
0
파일: Type.java 프로젝트: shahidminhas/abc
  public final Grantee getOwner() {

    if (userTypeModifier == null) {
      throw Error.runtimeError(ErrorCode.U_S0500, "Type");
    }

    return userTypeModifier.getOwner();
  }