All Downloads are FREE. Search and download functionalities are using the official Maven repository.

world.data.jdbc.vocab.Xsd Maven / Gradle / Ivy

/*
 * dw-jdbc
 * Copyright 2017 data.world, Inc.

 * Licensed under the Apache License, Version 2.0 (the "License");

 * you may not use this file except in compliance with the
 * License.
 *
 * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
 * implied. See the License for the specific language governing
 * permissions and limitations under the License.
 *
 * This product includes software developed at data.world, Inc.(http://www.data.world/).
 */
package world.data.jdbc.vocab;


import lombok.experimental.UtilityClass;
import world.data.jdbc.model.Iri;


/**
 * Common RDF datatypes derived from the
 * XSD specification.
 */
@UtilityClass
public final class Xsd {
    public static final String NS = "http://www.w3.org/2001/XMLSchema#";

    private static Iri xsd(String suffix) {
        return new Iri((NS + suffix).intern());
    }

    /** See xsd:anyURI. */
    public static final Iri ANYURI = xsd("anyURI");

    /** See xsd:base64Binary. */
    public static final Iri BASE64BINARY = xsd("base64Binary");

    /** See xsd:boolean. */
    public static final Iri BOOLEAN = xsd("boolean");

    /** See xsd:byte. */
    public static final Iri BYTE = xsd("byte");

    /** See xsd:date. */
    public static final Iri DATE = xsd("date");

    /** See xsd:dateTime. */
    public static final Iri DATETIME = xsd("dateTime");

    /** See xsd:dateTimeStamp. */
    public static final Iri DATETIMESTAMP = xsd("dateTimeStamp");

    /** See xsd:dayTimeDuration. */
    public static final Iri DAYTIMEDURATION = xsd("dayTimeDuration");

    /** See xsd:decimal. */
    public static final Iri DECIMAL = xsd("decimal");

    /** See xsd:double. */
    public static final Iri DOUBLE = xsd("double");

    /** See xsd:duration. */
    public static final Iri DURATION = xsd("duration");

    /** See xsd:ENTITY. */
    public static final Iri ENTITY = xsd("ENTITY");

    /** See xsd:float. */
    public static final Iri FLOAT = xsd("float");

    /** See xsd:gDay. */
    public static final Iri GDAY = xsd("gDay");

    /** See xsd:gMonth. */
    public static final Iri GMONTH = xsd("gMonth");

    /** See xsd:gMonthDay. */
    public static final Iri GMONTHDAY = xsd("gMonthDay");

    /** See xsd:gYear. */
    public static final Iri GYEAR = xsd("gYear");

    /** See xsd:gYearMonth. */
    public static final Iri GYEARMONTH = xsd("gYearMonth");

    /** See xsd:hexBinary. */
    public static final Iri HEXBINARY = xsd("hexBinary");

    /** See xsd:ID. */
    public static final Iri ID = xsd("ID");

    /** See xsd:IDREF. */
    public static final Iri IDREF = xsd("IDREF");

    /** See xsd:int. */
    public static final Iri INT = xsd("int");

    /** See xsd:integer. */
    public static final Iri INTEGER = xsd("integer");

    /** See xsd:language. */
    public static final Iri LANGUAGE = xsd("language");

    /** See xsd:long. */
    public static final Iri LONG = xsd("long");

    /** See xsd:Name. */
    public static final Iri NAME = xsd("Name");

    /** See xsd:NCName. */
    public static final Iri NCNAME = xsd("NCName");

    /** See xsd:negativeInteger. */
    public static final Iri NEGATIVEINTEGER = xsd("negativeInteger");

    /** See xsd:NMTOKEN. */
    public static final Iri NMTOKEN = xsd("NMTOKEN");

    /** See xsd:nonNegativeInteger. */
    public static final Iri NONNEGATIVEINTEGER = xsd("nonNegativeInteger");

    /** See xsd:nonPositiveInteger. */
    public static final Iri NONPOSITIVEINTEGER = xsd("nonPositiveInteger");

    /** See xsd:normalizedString. */
    public static final Iri NORMALIZEDSTRING = xsd("normalizedString");

    /** See xsd:NOTATION. */
    public static final Iri NOTATION = xsd("NOTATION");

    /** See xsd:positiveInteger. */
    public static final Iri POSITIVEINTEGER = xsd("positiveInteger");

    /** See xsd:QName. */
    public static final Iri QNAME = xsd("QName");

    /** See xsd:short. */
    public static final Iri SHORT = xsd("short");

    /** See xsd:string. */
    public static final Iri STRING = xsd("string");

    /** See xsd:time. */
    public static final Iri TIME = xsd("time");

    /** See xsd:token. */
    public static final Iri TOKEN = xsd("token");

    /** See xsd:unsignedByte. */
    public static final Iri UNSIGNEDBYTE = xsd("unsignedByte");

    /** See xsd:unsignedInt. */
    public static final Iri UNSIGNEDINT = xsd("unsignedInt");

    /** See xsd:unsignedLong. */
    public static final Iri UNSIGNEDLONG = xsd("unsignedLong");

    /** See xsd:unsignedShort. */
    public static final Iri UNSIGNEDSHORT = xsd("unsignedShort");

    /** See xsd:yearMonthDuration. */
    public static final Iri YEARMONTHDURATION = xsd("yearMonthDuration");
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy