View Javadoc

    1   /*
    2    * joey-gen and its relative products are published under the terms
    3    * of the Apache Software License.
    4    *
    5    * Created on 2004/08/14 18:21:24
    6    */
    7   package org.asyrinx.joey.gen.model.java;
    8
    9   /***
    10   * @author akima
    11   */
    12  public interface Type {
    13
    14      String PACKAGE_SEPARATER = ".";
    15
    16      Type UNKNOWN = new Type() {
    17          public String getFqn() {
    18              return null;
    19          }
    20
    21          public String getName() {
    22              return null;
    23          }
    24
    25          public String getPackage() {
    26              return null;
    27          }
    28
    29          public boolean isPrimitive() {
    30              return false;
    31          }
    32
    33          public Type toClass() {
    34              return null;
    35          }
    36
    37          public Type toPrimitive() {
    38              return null;
    39          }
    40
    41          public TypeCategory getCategory() {
    42              return null;
    43          }
    44
    45          public boolean isNumber() {
    46              return false;
    47          }
    48
    49      };
    50
    51      String getFqn();
    52
    53      String getPackage();
    54
    55      String getName();
    56
    57      boolean isPrimitive();
    58
    59      Type toClass();
    60
    61      Type toPrimitive();
    62
    63      TypeCategory getCategory();
    64
    65      boolean isNumber();
    66
    67  }