com.mrami.libre.ClassGenerator.input.types
Class ValidationType

java.lang.Object
  extended bycom.mrami.libre.ClassGenerator.input.types.ValidationType
All Implemented Interfaces:
java.io.Serializable

public class ValidationType
extends java.lang.Object
implements java.io.Serializable

Type for class validation strings

Version:
$Revision$ $Date$
See Also:
Serialized Form

Field Summary
static ValidationType LOOSE
          The instance of the loose type
static int LOOSE_TYPE
          The loose type
static ValidationType STRICT
          The instance of the strict type
static int STRICT_TYPE
          The strict type
 
Method Summary
static java.util.Enumeration enumerate()
          Method enumerate Returns an enumeration of all possible instances of ValidationType
 int getType()
          Method getType Returns the type of this ValidationType
 java.lang.String toString()
          Method toString Returns the String representation of this ValidationType
static ValidationType valueOf(java.lang.String string)
          Method valueOf Returns a new ValidationType based on the given String value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LOOSE_TYPE

public static final int LOOSE_TYPE
The loose type

See Also:
Constant Field Values

LOOSE

public static final ValidationType LOOSE
The instance of the loose type


STRICT_TYPE

public static final int STRICT_TYPE
The strict type

See Also:
Constant Field Values

STRICT

public static final ValidationType STRICT
The instance of the strict type

Method Detail

enumerate

public static java.util.Enumeration enumerate()
Method enumerate Returns an enumeration of all possible instances of ValidationType

Returns:
Enumeration

getType

public int getType()
Method getType Returns the type of this ValidationType

Returns:
int

toString

public java.lang.String toString()
Method toString Returns the String representation of this ValidationType

Returns:
String

valueOf

public static ValidationType valueOf(java.lang.String string)
Method valueOf Returns a new ValidationType based on the given String value.

Parameters:
string -
Returns:
ValidationType