org.semanticweb.HermiT.datatypes.datetime
Enum BoundType

java.lang.Object
  extended by java.lang.Enum<BoundType>
      extended by org.semanticweb.HermiT.datatypes.datetime.BoundType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<BoundType>

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


Enum Constant Summary
EXCLUSIVE
           
INCLUSIVE
           
 
Method Summary
 BoundType getComplement()
           
static BoundType getMoreRestrictive(BoundType boundType1, BoundType boundType2)
           
static BoundType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static BoundType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INCLUSIVE

public static final BoundType INCLUSIVE

EXCLUSIVE

public static final BoundType EXCLUSIVE
Method Detail

values

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

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

valueOf

public static BoundType 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

getComplement

public BoundType getComplement()

getMoreRestrictive

public static BoundType getMoreRestrictive(BoundType boundType1,
                                           BoundType boundType2)