<reponame>femtoframework/femto-util<gh_stars>0
package org.femtoframework.util;

/**
 * Data Type definition
 *
 * @author fengyun
 * @version 1.00 2011-8-1 10:03 PM
 */
public interface DataTypes {
    String TYPE_INT = "int";
    String TYPE_BYTE = "byte";
    String TYPE_CHAR = "char";
    String TYPE_STRING = "string";
    String TYPE_INTEGER = "integer";
    String TYPE_BOOLEAN = "boolean";

    String TYPE_CHARACTER = "character";
    String TYPE_LONG = "long";
    String TYPE_FLOAT = "float";
    String TYPE_DOUBLE = "double";
    String TYPE_SHORT = "short";

    //Date
    String TYPE_DATE = "date";
    String TYPE_TIME = "time";
    String TYPE_TIMESTAMP = "timestamp";

    //Array
    String TYPE_INTS = "ints";
    String TYPE_INT_JAVA_ARRAY = "int[]";
    String TYPE_BYTES = "bytes";
    String TYPE_BYTE_JAVA_ARRAY = "byte[]";
    String TYPE_CHARS = "chars";
    String TYPE_CHAR_JAVA_ARRAY = "char[]";
    String TYPE_SHORTS = "shorts";
    String TYPE_SHORT_JAVA_ARRAY = "short[]";
    String TYPE_LONGS = "longs";
    String TYPE_LONG_JAVA_ARRAY = "long[]";
    String TYPE_FLOATS = "floats";
    String TYPE_FLOAT_JAVA_ARRAY = "float[]";
    String TYPE_DOUBLES = "doubles";
    String TYPE_DOUBLE_JAVA_ARRAY = "double[]";
    String TYPE_STRINGS = "strings";
    String TYPE_STRING_JAVA_ARRAY = "String[]";

    String TYPE_BOOLEANS = "booleans";
    String TYPE_BOOLEAN_JAVA_ARRAY = "boolean[]";

    String TYPE_OBJECT = "object";
    String TYPE_OBJECTS = "objects";
    String TYPE_OBJECT_JAVA_ARRAY = "Object[]";

    //InetAddress
    String TYPE_INET_ADDRESS = "inet_address";

    //Collections
    String TYPE_LIST = "list"; //ArrayList
    String TYPE_MAP = "map";  //HashMap
    String TYPE_PROPERTIES = "properties";
    String TYPE_PARAMETERS = "parameters"; //Parameters
    String TYPE_SET = "set";

    //Java8.Time
    String TYPE_DURATION = "duration";
    String TYPE_INSTANT = "instant";
    String TYPE_LOCAL_DATE = "local_date";
    String TYPE_LOCAL_TIME = "local_time";
    String TYPE_LOCAL_DATE_TIME = "local_date_time";
    String TYPE_MONTH_DAY = "month_day";
    String TYPE_OFFSET_DATE_TIME = "offset_date_time";
    String TYPE_OFFSET_TIME = "offset_time";
    String TYPE_PERIOD = "period";
    String TYPE_YEAR = "year";
    String TYPE_YEAR_MONTH = "year_month";
    String TYPE_ZONED_DATE_TIME = "zoned_date_time";
    String TYPE_ZONE_OFFSET = "zone_offset";

}

