nl.gx.webmanager.handler.forms
Class FormPartDataType

java.lang.Object
  extended by nl.gx.webmanager.handler.forms.FormPartDataType

public class FormPartDataType
extends java.lang.Object

Models the various datatypes that formpartvalues may have.


Field Summary
static int DATATYPE_DATE
           
static int DATATYPE_ENCRYPTED
           
static int DATATYPE_INT
           
static int DATATYPE_PASSWORD
           
static int DATATYPE_STRING
           
static int DATATYPE_UNKNOWN
           
 
Constructor Summary
FormPartDataType()
           
 
Method Summary
static int getType(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATATYPE_UNKNOWN

public static final int DATATYPE_UNKNOWN
See Also:
Constant Field Values

DATATYPE_STRING

public static final int DATATYPE_STRING
See Also:
Constant Field Values

DATATYPE_INT

public static final int DATATYPE_INT
See Also:
Constant Field Values

DATATYPE_DATE

public static final int DATATYPE_DATE
See Also:
Constant Field Values

DATATYPE_ENCRYPTED

public static final int DATATYPE_ENCRYPTED
See Also:
Constant Field Values

DATATYPE_PASSWORD

public static final int DATATYPE_PASSWORD
See Also:
Constant Field Values
Constructor Detail

FormPartDataType

public FormPartDataType()
Method Detail

getType

public static int getType(java.lang.String name)
                   throws java.lang.IllegalArgumentException
Parameters:
name -
Returns:
the datatype int associated with the typename
Throws:
java.lang.IllegalArgumentException - if no type exists for the specified name


Copyright © 2007-2011 GX Software BV. All Rights Reserved.