gov.nih.nci.caarray.services.fileparse2.util
Class QuantitationTypeName2JavaPropertyNameMap

java.lang.Object
  extended by gov.nih.nci.caarray.services.fileparse2.util.QuantitationTypeName2JavaPropertyNameMap

public class QuantitationTypeName2JavaPropertyNameMap
extends java.lang.Object

This class allows a quantitation name to be translated to a valid Java simple property. This is to avoid special characters like ., [, ], (, and ), which are used in attribute path, indexed, or mapped property, when the quantitation name is used as a property of a DynaBean to contain its extracted data from a data file.

Author:
TranP

Constructor Summary
QuantitationTypeName2JavaPropertyNameMap()
           
 
Method Summary
 java.lang.String getJavaPropertyName(java.lang.String quantTypeName)
           
 java.lang.String getQuantitationTypeName(java.lang.String javaPropertyName)
           
 java.util.HashMap getQuantitationTypeName2JavaPropertyNameMappings()
           
 void putQuantitationTypeNameJavaPropertyNameMapping(java.lang.String quantTypeName, java.lang.String propertyName)
           
 void setQuantitationTypeName2JavaPropertyNameMappings(java.util.HashMap mappings)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuantitationTypeName2JavaPropertyNameMap

public QuantitationTypeName2JavaPropertyNameMap()
Method Detail

getJavaPropertyName

public java.lang.String getJavaPropertyName(java.lang.String quantTypeName)

getQuantitationTypeName

public java.lang.String getQuantitationTypeName(java.lang.String javaPropertyName)

putQuantitationTypeNameJavaPropertyNameMapping

public void putQuantitationTypeNameJavaPropertyNameMapping(java.lang.String quantTypeName,
                                                           java.lang.String propertyName)

getQuantitationTypeName2JavaPropertyNameMappings

public java.util.HashMap getQuantitationTypeName2JavaPropertyNameMappings()

setQuantitationTypeName2JavaPropertyNameMappings

public void setQuantitationTypeName2JavaPropertyNameMappings(java.util.HashMap mappings)