org.deegree.services.wps.annotations.input
Enum Range.Closure

java.lang.Object
  extended by java.lang.Enum<Range.Closure>
      extended by org.deegree.services.wps.annotations.input.Range.Closure
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Range.Closure>
Enclosing class:
Range

public static enum Range.Closure
extends java.lang.Enum<Range.Closure>

The Closure enumerates over the different interval possibilities.

Version:
$Revision: 22719 $, $Date: 2010-02-24 11:00:06 +0100 (Mi, 24. Feb 2010) $
Author:
Rutger Bezema, last edited by: $Author: rbezema $

Enum Constant Summary
closed
          closed, min max included
closed_open
          min, max not included
open
          min, max not include
open_closed
          min not, max included
 
Method Summary
static Range.Closure valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Range.Closure[] 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

closed

public static final Range.Closure closed
closed, min max included


open

public static final Range.Closure open
min, max not include


open_closed

public static final Range.Closure open_closed
min not, max included


closed_open

public static final Range.Closure closed_open
min, max not included

Method Detail

values

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

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

valueOf

public static Range.Closure 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


Copyright © 2011. All Rights Reserved.