org.mindswap.pellet.datatypes
Enum DatatypeFacet

java.lang.Object
  extended by java.lang.Enum<DatatypeFacet>
      extended by org.mindswap.pellet.datatypes.DatatypeFacet
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DatatypeFacet>

public enum DatatypeFacet
extends java.lang.Enum<DatatypeFacet>

Title:

Description:

Copyright: Copyright (c) 2009

Company: Clark & Parsia, LLC.

Author:
Evren Sirin

Enum Constant Summary
length
           
maxExclusive
           
maxInclusive
           
maxLength
           
minExclusive
           
minInclusive
           
minLength
           
pattern
           
 
Method Summary
static DatatypeFacet find(java.lang.String uri)
           
 aterm.ATermAppl getName()
           
 java.lang.String getURI()
           
static DatatypeFacet valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DatatypeFacet[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

minInclusive

public static final DatatypeFacet minInclusive

minExclusive

public static final DatatypeFacet minExclusive

maxInclusive

public static final DatatypeFacet maxInclusive

maxExclusive

public static final DatatypeFacet maxExclusive

pattern

public static final DatatypeFacet pattern

length

public static final DatatypeFacet length

minLength

public static final DatatypeFacet minLength

maxLength

public static final DatatypeFacet maxLength
Method Detail

values

public static DatatypeFacet[] 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 (DatatypeFacet c : DatatypeFacet.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static DatatypeFacet 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 name
java.lang.NullPointerException - if the argument is null

getURI

public java.lang.String getURI()

getName

public aterm.ATermAppl getName()

find

public static DatatypeFacet find(java.lang.String uri)


Copyright © 2004 Evren Sirin. All Rights Reserved.