Search in sources :

Example 1 with NumericType

use of un.unece.uncefact.data.standard.unqualifieddatatype._20.NumericType in project UVMS-ActivityModule-APP by UnionVMS.

the class MapperUtil method getAapProcess.

public static AAPProcess getAapProcess() {
    List<CodeType> codeList = Arrays.asList(getCodeType("FISH_FRESHNESS", "FLUX_PROCESS_TYPE"));
    NumericType numericType = getNumericType(123);
    return new AAPProcess(codeList, numericType, null, Arrays.asList(getAapProduct()));
}
Also used : NumericType(un.unece.uncefact.data.standard.unqualifieddatatype._20.NumericType) AAPProcess(un.unece.uncefact.data.standard.reusableaggregatebusinessinformationentity._20.AAPProcess) CodeType(un.unece.uncefact.data.standard.unqualifieddatatype._20.CodeType)

Example 2 with NumericType

use of un.unece.uncefact.data.standard.unqualifieddatatype._20.NumericType in project UVMS-ActivityModule-APP by UnionVMS.

the class MapperUtil method getNumericType.

private static NumericType getNumericType(int value) {
    NumericType numericType = new NumericType();
    numericType.setValue(new BigDecimal(value));
    return numericType;
}
Also used : NumericType(un.unece.uncefact.data.standard.unqualifieddatatype._20.NumericType) BigDecimal(java.math.BigDecimal)

Aggregations

NumericType (un.unece.uncefact.data.standard.unqualifieddatatype._20.NumericType)2 BigDecimal (java.math.BigDecimal)1 AAPProcess (un.unece.uncefact.data.standard.reusableaggregatebusinessinformationentity._20.AAPProcess)1 CodeType (un.unece.uncefact.data.standard.unqualifieddatatype._20.CodeType)1