gov.nih.nci.caarray.services.util.netcdf
Class NonNumericQuantitationTypes
java.lang.Object
gov.nih.nci.caarray.services.util.netcdf.NonNumericQuantitationTypes
public class NonNumericQuantitationTypes
- extends java.lang.Object
Class provides resolution of code to value and value to code for
a given quantitation type
- Author:
- gustafsons
Method Summary |
void |
addNonNumericAssociation(java.lang.String value,
java.lang.Integer code)
Adds items to the hashes |
java.lang.Integer |
getCode(java.lang.String value)
|
java.lang.String |
getValue(java.lang.Integer code)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NonNumericQuantitationTypes
public NonNumericQuantitationTypes()
addNonNumericAssociation
public void addNonNumericAssociation(java.lang.String value,
java.lang.Integer code)
- Adds items to the hashes
- Parameters:
value
- code
-
getValue
public java.lang.String getValue(java.lang.Integer code)
- Parameters:
code
-
- Returns:
- the vale based on a code
getCode
public java.lang.Integer getCode(java.lang.String value)
- Parameters:
value
-
- Returns:
- code based on value