public class UnitOfMeasure extends CsvDb
BAD_DOUBLE, BAD_INTEGER
Constructor and Description |
---|
UnitOfMeasure(int arg_uomCode,
java.lang.String arg_unitOfMeasName,
java.lang.String arg_unitOfMeasType,
int arg_targetUomCode,
double arg_factorB,
double arg_factorC,
java.lang.String arg_remarks,
java.lang.String arg_informationSource,
java.lang.String arg_dataSource,
java.lang.String arg_revisionDate,
java.lang.String arg_changeId,
java.lang.String arg_deprecated)
The constructor
* @param arg_uomCode The uomCode argument.
|
UnitOfMeasure(java.util.List tuple)
The list based constructor
|
Modifier and Type | Method and Description |
---|---|
static java.util.List |
findAllUomCode(int value)
Find all of the UnitOfMeasure objects with
the uomCode value == the given value
|
double |
findDoubleByName(java.lang.String varname)
Return the double value by name
|
int |
findIntByName(java.lang.String varname)
Return the integer value by name
|
java.lang.String |
findStringByName(java.lang.String varname)
Return the String value by name
|
static UnitOfMeasure |
findUomCode(int value)
Find the UnitOfMeasure object with the uomCode value == the given value
|
java.lang.String |
getChangeId()
Return the changeId property.
|
java.lang.String |
getDataSource()
Return the dataSource property.
|
java.lang.String |
getDeprecated()
Return the deprecated property.
|
double |
getFactorB()
Return the factorB property.
|
double |
getFactorC()
Return the factorC property.
|
java.lang.String |
getInformationSource()
Return the informationSource property.
|
java.lang.String |
getRemarks()
Return the remarks property.
|
java.lang.String |
getRevisionDate()
Return the revisionDate property.
|
int |
getTargetUomCode()
Return the targetUomCode property.
|
java.lang.String |
getUnitOfMeasName()
Return the unitOfMeasName property.
|
java.lang.String |
getUnitOfMeasType()
Return the unitOfMeasType property.
|
int |
getUomCode()
Return the uomCode property.
|
static void |
main(java.lang.String[] args)
Implement main
|
java.lang.String |
toString()
Override toString
|
public UnitOfMeasure(int arg_uomCode, java.lang.String arg_unitOfMeasName, java.lang.String arg_unitOfMeasType, int arg_targetUomCode, double arg_factorB, double arg_factorC, java.lang.String arg_remarks, java.lang.String arg_informationSource, java.lang.String arg_dataSource, java.lang.String arg_revisionDate, java.lang.String arg_changeId, java.lang.String arg_deprecated)
arg_uomCode
- the arg_uom codearg_unitOfMeasName
- The unitOfMeasName argumentarg_unitOfMeasType
- The unitOfMeasType argumentarg_targetUomCode
- The targetUomCode argumentarg_factorB
- The factorB argumentarg_factorC
- The factorC argumentarg_remarks
- The remarks argumentarg_informationSource
- The informationSource argumentarg_dataSource
- The dataSource argumentarg_revisionDate
- The revisionDate argumentarg_changeId
- The changeId argumentarg_deprecated
- The deprecated argumentpublic UnitOfMeasure(java.util.List tuple)
tuple
- The listpublic int getUomCode()
public java.lang.String getUnitOfMeasName()
public java.lang.String getUnitOfMeasType()
public int getTargetUomCode()
public double getFactorB()
public double getFactorC()
public java.lang.String getRemarks()
public java.lang.String getInformationSource()
public java.lang.String getDataSource()
public java.lang.String getRevisionDate()
public java.lang.String getChangeId()
public java.lang.String getDeprecated()
public static java.util.List findAllUomCode(int value)
value
- _more_public static UnitOfMeasure findUomCode(int value)
value
- _more_public int findIntByName(java.lang.String varname)
varname
- The namepublic double findDoubleByName(java.lang.String varname)
varname
- The namepublic java.lang.String findStringByName(java.lang.String varname)
varname
- The namepublic java.lang.String toString()
toString
in class java.lang.Object
public static void main(java.lang.String[] args)
args
- The args