Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.clra.web
Class DataUtils  view DataUtils download DataUtils.java

java.lang.Object
  extended bycom.clra.web.DataUtils
All Implemented Interfaces:
java.io.Serializable

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

Collections of data constants. These constants could be stored in the application database, but currently they are maintained separately.

Version:
$Revision: 1.7 $ $Date: 2003/03/02 15:30:56 $

Nested Class Summary
static class DataUtils.AccountTypes
           
static class DataUtils.AccountYears
           
static class DataUtils.Roles
           
static class DataUtils.States
           
 
Field Summary
private static java.lang.String[][] accountTypeLabelValues
           
private static int FIRST_YEAR
           
private static java.lang.String[][] roleLabelValues
           
private static java.lang.String[][] stateLabelValues
           
 
Constructor Summary
private DataUtils()
           
 
Method Summary
static java.util.ArrayList accountTypeList()
           
static java.util.ArrayList accountYearList()
           
static void requiredStringValue(java.lang.String name, java.lang.String value)
           
static java.util.ArrayList roleList()
           
static java.util.ArrayList stateList()
           
static java.lang.String validateString(java.lang.String str, java.lang.String[] allowed)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIRST_YEAR

private static int FIRST_YEAR

stateLabelValues

private static java.lang.String[][] stateLabelValues

accountTypeLabelValues

private static java.lang.String[][] accountTypeLabelValues

roleLabelValues

private static java.lang.String[][] roleLabelValues
Constructor Detail

DataUtils

private DataUtils()
Method Detail

accountYearList

public static java.util.ArrayList accountYearList()

stateList

public static java.util.ArrayList stateList()

accountTypeList

public static java.util.ArrayList accountTypeList()

roleList

public static java.util.ArrayList roleList()

requiredStringValue

public static void requiredStringValue(java.lang.String name,
                                       java.lang.String value)
                                throws com.clra.util.ValidationException

validateString

public static java.lang.String validateString(java.lang.String str,
                                              java.lang.String[] allowed)
                                       throws com.clra.util.ValidationException