/** * Determines if this datatype is a numeric datatype. * * @return {@code true} if this datatype is a numeric datatype */ public boolean isNumeric() { return category.equals(Category.CAT_NUMBER); }
Namespaces(String prefix, String ns, Status status, BuiltIn builtIn) { this.prefix = prefix; this.ns = ns; this.status = status; this.builtIn = builtIn; hashless = hashless(prefix); }
/** * Determines if this IRI is in the reserved vocabulary. An IRI is in the reserved vocabulary if * it starts with <http://www.w3.org/1999/02/22-rdf-syntax-ns#> or * <http://www.w3.org/2000/01/rdf-schema#> or <http://www.w3.org/2001/XMLSchema#> or * <http://www.w3.org/2002/07/owl#> * * @return {@code true} if the IRI is in the reserved vocabulary, otherwise {@code false}. */ public boolean isReservedVocabulary() { return Namespaces.OWL.inNamespace(namespace) || Namespaces.RDF.inNamespace(namespace) || Namespaces.RDFS.inNamespace(namespace) || Namespaces.XSD.inNamespace(namespace); }
@Override public IRI getIRI() { return OWLRDFVocabulary.OWL_BOTTOM_DATA_PROPERTY.getIRI(); } }
/** * Gets the facets that are allowed for facet restrictions of this datatype. * * @return The allowed facets */ public Collection<OWLFacet> getFacets() { return category.getFacets(); }
@Override public IRI getIRI() { return vocabulary.getIRI(); } }
/** * Determines if this IRI is in the reserved vocabulary. An IRI is in the reserved vocabulary if * it starts with <http://www.w3.org/1999/02/22-rdf-syntax-ns#> or * <http://www.w3.org/2000/01/rdf-schema#> or <http://www.w3.org/2001/XMLSchema#> or * <http://www.w3.org/2002/07/owl#> * * @return {@code true} if the IRI is in the reserved vocabulary, otherwise {@code false}. */ public boolean isReservedVocabulary() { return Namespaces.OWL.inNamespace(namespace) || Namespaces.RDF.inNamespace(namespace) || Namespaces.RDFS.inNamespace(namespace) || Namespaces.XSD.inNamespace(namespace); }
/** * Determines if this datatype is a numeric datatype. * * @return {@code true} if this datatype is a numeric datatype */ public boolean isNumeric() { return category.equals(Category.CAT_NUMBER); }
/** * Gets the facets that are allowed for facet restrictions of this * datatype * * @return The allowed facets */ public Collection<OWLFacet> getFacets() { return category.getFacets(); }
Namespaces(String prefix, String ns, Status status, BuiltIn builtIn) { this.prefix = prefix; this.ns = ns; this.status = status; this.builtIn = builtIn; hashless = hashless(prefix); }
/** * Gets the predicate of the qualified cardinality triple. * @return The predicate IRI */ protected IRI getQualifiedCardinalityTriplePredicate() { return OWLRDFVocabulary.OWL_MAX_QUALIFIED_CARDINALITY.getIRI(); } }
/** * Determines if this IRI is in the reserved vocabulary. An IRI is in the reserved vocabulary if * it starts with <http://www.w3.org/1999/02/22-rdf-syntax-ns#> or * <http://www.w3.org/2000/01/rdf-schema#> or <http://www.w3.org/2001/XMLSchema#> or * <http://www.w3.org/2002/07/owl#> * * @return {@code true} if the IRI is in the reserved vocabulary, otherwise {@code false}. */ public boolean isReservedVocabulary() { return Namespaces.OWL.inNamespace(namespace) || Namespaces.RDF.inNamespace(namespace) || Namespaces.RDFS.inNamespace(namespace) || Namespaces.XSD.inNamespace(namespace); }
/** * Determines if this datatype is a numeric datatype. * * @return {@code true} if this datatype is a numeric datatype */ public boolean isNumeric() { return category.equals(Category.CAT_NUMBER); }
/** * Gets the facets that are allowed for facet restrictions of this datatype. * * @return The allowed facets */ public Collection<OWLFacet> getFacets() { return category.getFacets(); }
/** * Gets the predicate of the qualified cardinality triple. * @return The predicate IRI */ protected IRI getQualifiedCardinalityTriplePredicate() { return OWLRDFVocabulary.OWL_QUALIFIED_CARDINALITY.getIRI(); } }
/** * Determines if this datatype is a numeric datatype * @return <code>true</code> if this datatype is a numeric datatype */ public boolean isNumeric() { return category.equals(Category.NUMBER); }
/** * Gets the facets that are allowed for facet restrictions of this datatype. * * @return The allowed facets */ public Collection<OWLFacet> getFacets() { return category.getFacets(); }
@Override public IRI getIRI() { return OWLRDFVocabulary.OWL_TOP_DATA_PROPERTY.getIRI(); } }
/** * Determines if this datatype is a numeric datatype. * * @return {@code true} if this datatype is a numeric datatype */ public boolean isNumeric() { return category.equals(Category.CAT_NUMBER); }
@Override public IRI getIRI() { return OWLRDFVocabulary.OWL_BOTTOM_DATA_PROPERTY.getIRI(); } }