gr.uoa.di.madgik.commons.infra.collocationpolicy
Enum CollocationPolicy.Type

java.lang.Object
  extended by java.lang.Enum<CollocationPolicy.Type>
      extended by gr.uoa.di.madgik.commons.infra.collocationpolicy.CollocationPolicy.Type
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CollocationPolicy.Type>
Enclosing interface:
CollocationPolicy

public static enum CollocationPolicy.Type
extends java.lang.Enum<CollocationPolicy.Type>


Enum Constant Summary
LocalOnly
           
MaximumCollocation
           
MinimumCollocation
           
SingleRemoteNode
           
 
Method Summary
static CollocationPolicy.Type valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CollocationPolicy.Type[] 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

LocalOnly

public static final CollocationPolicy.Type LocalOnly

SingleRemoteNode

public static final CollocationPolicy.Type SingleRemoteNode

MinimumCollocation

public static final CollocationPolicy.Type MinimumCollocation

MaximumCollocation

public static final CollocationPolicy.Type MaximumCollocation
Method Detail

values

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

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

valueOf

public static CollocationPolicy.Type 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