Package com.stardog.stark
Enum Axioms.Facet
- java.lang.Object
-
- java.lang.Enum<Axioms.Facet>
-
- com.stardog.stark.Axioms.Facet
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Axioms.Facet>
- Enclosing class:
- Axioms
public static enum Axioms.Facet extends java.lang.Enum<Axioms.Facet>
Enumeration of the possible facets for a
Axioms.FacetRestriction
on aAxiom.NamedDatatype
- Author:
- Michael Grove
-
-
Enum Constant Summary
Enum Constants Enum Constant Description langRange
length
maxExclusive
maxInclusive
maxLength
minExclusive
minInclusive
pattern
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IRI
getURI()
static Axioms.Facet
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Axioms.Facet[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
minInclusive
public static final Axioms.Facet minInclusive
-
maxInclusive
public static final Axioms.Facet maxInclusive
-
minExclusive
public static final Axioms.Facet minExclusive
-
maxExclusive
public static final Axioms.Facet maxExclusive
-
length
public static final Axioms.Facet length
-
maxLength
public static final Axioms.Facet maxLength
-
pattern
public static final Axioms.Facet pattern
-
langRange
public static final Axioms.Facet langRange
-
-
Method Detail
-
values
public static Axioms.Facet[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Axioms.Facet c : Axioms.Facet.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Axioms.Facet valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getURI
public IRI getURI()
-
-