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

Quick Search    Search Deep

gov.lanl.COAS
Class Qualifier2AttributeMapper  view Qualifier2AttributeMapper download Qualifier2AttributeMapper.java

java.lang.Object
  extended bygov.lanl.COAS.Qualifier2AttributeMapper

public class Qualifier2AttributeMapper
extends java.lang.Object

This class maps QualifiedCodes to and from database fields

Since:
10/26/1999
Version:
$Id: Qualifier2AttributeMapper.java,v 1.11 2003/07/08 16:58:31 dwforslund Exp $

Field Summary
private static Qualifier2AttributeMapper _instance
           
private static org.apache.log4j.Logger cat
           
static java.lang.String CREATION_DATE
           
private static java.util.Hashtable nameValueTable
           
static java.lang.String OBS_ID_CODE
           
static java.lang.String OBS_ID_FNAME
           
static Parser parser
           
static java.lang.String person_Id_Code
           
private static gov.lanl.Utility.ConfigProperties props
           
private static java.lang.String[] putIntoSecondaryCodes
           
static java.lang.String reference_id_code
           
private static java.lang.String[] replaceByObsIdCodes
           
static java.lang.String signing_Flag_Code
           
static java.lang.String start_Time_Code
           
static java.lang.String stop_Time_Code
           
 
Constructor Summary
private Qualifier2AttributeMapper(gov.lanl.Utility.ConfigProperties props)
          The private constructor
 
Method Summary
static java.lang.String getCode(java.lang.String name)
          Return value for code
static Qualifier2AttributeMapper getInstance()
          Obtain the current instance of Qualifier2AttributeMapper
static Qualifier2AttributeMapper getInstance(gov.lanl.Utility.ConfigProperties props)
          Create a new Qualifier2AttributeMapper
static java.lang.String[] getPutIntoSecondaryCodes()
          return array of Secondary codes
static java.lang.String[] getReplaceByObsIdCodes()
          return array of ObsId codes
private static java.lang.String[] initArray(java.lang.String key)
          Create String array of codes incremented by 1
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cat

private static org.apache.log4j.Logger cat

_instance

private static Qualifier2AttributeMapper _instance

props

private static gov.lanl.Utility.ConfigProperties props

parser

public static Parser parser

nameValueTable

private static java.util.Hashtable nameValueTable

replaceByObsIdCodes

private static java.lang.String[] replaceByObsIdCodes

putIntoSecondaryCodes

private static java.lang.String[] putIntoSecondaryCodes

person_Id_Code

public static java.lang.String person_Id_Code

start_Time_Code

public static java.lang.String start_Time_Code

stop_Time_Code

public static java.lang.String stop_Time_Code

signing_Flag_Code

public static java.lang.String signing_Flag_Code

reference_id_code

public static java.lang.String reference_id_code

OBS_ID_CODE

public static final java.lang.String OBS_ID_CODE
See Also:
Constant Field Values

OBS_ID_FNAME

public static final java.lang.String OBS_ID_FNAME
See Also:
Constant Field Values

CREATION_DATE

public static final java.lang.String CREATION_DATE
See Also:
Constant Field Values
Constructor Detail

Qualifier2AttributeMapper

private Qualifier2AttributeMapper(gov.lanl.Utility.ConfigProperties props)
The private constructor

Method Detail

getInstance

public static Qualifier2AttributeMapper getInstance(gov.lanl.Utility.ConfigProperties props)
Create a new Qualifier2AttributeMapper


getInstance

public static Qualifier2AttributeMapper getInstance()
Obtain the current instance of Qualifier2AttributeMapper


getCode

public static java.lang.String getCode(java.lang.String name)
Return value for code


getReplaceByObsIdCodes

public static java.lang.String[] getReplaceByObsIdCodes()
return array of ObsId codes


getPutIntoSecondaryCodes

public static java.lang.String[] getPutIntoSecondaryCodes()
return array of Secondary codes


initArray

private static java.lang.String[] initArray(java.lang.String key)
Create String array of codes incremented by 1