public enum OWLFacet extends Enum<OWLFacet> implements HasShortForm, HasIRI, HasPrefixedName
OWLFacetRestriction
,
OWLDatatypeRestriction
Enum Constant and Description |
---|
FRACTION_DIGITS
FRACTION_DIGITS
|
LANG_RANGE
LANG_RANGE
|
LENGTH
LENGTH
|
MAX_EXCLUSIVE
MAX_EXCLUSIVE
|
MAX_INCLUSIVE
MAX_INCLUSIVE
|
MAX_LENGTH
MAX_LENGTH
|
MIN_EXCLUSIVE
MIN_EXCLUSIVE
|
MIN_INCLUSIVE
MIN_INCLUSIVE
|
MIN_LENGTH
MIN_LENGTH
|
PATTERN
PATTERN
|
TOTAL_DIGITS
TOTAL_DIGITS
|
Modifier and Type | Field and Description |
---|---|
static Set<IRI> |
FACET_IRIS
all facet iris
|
Modifier and Type | Method and Description |
---|---|
static OWLFacet |
getFacet(IRI iri) |
static OWLFacet |
getFacetByShortName(String shortName)
Gets a facet by its short name.
|
static OWLFacet |
getFacetBySymbolicName(String symbolicName) |
static Set<IRI> |
getFacetIRIs() |
static Set<String> |
getFacets() |
IRI |
getIRI()
Gets the IRI of this object
|
String |
getPrefixedName()
Gets the prefixed name.
|
String |
getShortForm()
Gets the short form.
|
String |
getSymbolicForm() |
String |
toString() |
static OWLFacet |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OWLFacet[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OWLFacet LENGTH
public static final OWLFacet MIN_LENGTH
public static final OWLFacet MAX_LENGTH
public static final OWLFacet PATTERN
public static final OWLFacet MIN_INCLUSIVE
public static final OWLFacet MIN_EXCLUSIVE
public static final OWLFacet MAX_INCLUSIVE
public static final OWLFacet MAX_EXCLUSIVE
public static final OWLFacet TOTAL_DIGITS
public static final OWLFacet FRACTION_DIGITS
public static final OWLFacet LANG_RANGE
public static OWLFacet[] values()
for (OWLFacet c : OWLFacet.values()) System.out.println(c);
public static OWLFacet valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getShortForm()
HasShortForm
getShortForm
in interface HasShortForm
null
.public String getSymbolicForm()
@Nonnull public static OWLFacet getFacet(@Nonnull IRI iri)
iri
- facet IRIpublic static OWLFacet getFacetByShortName(@Nonnull String shortName)
shortName
- The short name of the facet.null
if not facet by the specified name
exists.public static OWLFacet getFacetBySymbolicName(String symbolicName)
symbolicName
- symbolic name for facetpublic String getPrefixedName()
HasPrefixedName
getPrefixedName
in interface HasPrefixedName
Copyright © 2020 The University of Manchester. All rights reserved.