/*
 * This file is generated by jOOQ.
 */
package ervu_dashboard.ervu_dashboard.db_beans.public_.enums;


import ervu_dashboard.ervu_dashboard.db_beans.public_.Public;

import org.jooq.Catalog;
import org.jooq.EnumType;
import org.jooq.Schema;


/**
 * This class is generated by jOOQ.
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public enum TypePropertyType implements EnumType {

    realty("realty"),

    ground_transportation("ground_transportation"),

    air_vehicles("air_vehicles"),

    water_vehicles("water_vehicles");

    private final String literal;

    private TypePropertyType(String literal) {
        this.literal = literal;
    }

    @Override
    public Catalog getCatalog() {
        return getSchema().getCatalog();
    }

    @Override
    public Schema getSchema() {
        return Public.PUBLIC;
    }

    @Override
    public String getName() {
        return "type_property_type";
    }

    @Override
    public String getLiteral() {
        return literal;
    }

    /**
     * Lookup a value of this EnumType by its literal. Returns
     * <code>null</code>, if no such value could be found, see {@link
     * EnumType#lookupLiteral(Class, String)}.
     */
    public static TypePropertyType lookupLiteral(String literal) {
        return EnumType.lookupLiteral(TypePropertyType.class, literal);
    }
}
