use of un.unece.uncefact.data.standard.reusableaggregatebusinessinformationentity._20.VesselStorageCharacteristic in project UVMS-ActivityModule-APP by UnionVMS.
the class ActivityEntityToModelMapper method mapDestinationVesselStorageCharacteristic.
private void mapDestinationVesselStorageCharacteristic(FishingActivity target, VesselStorageCharacteristicsEntity source) {
if (ObjectUtils.allNotNull(target, source)) {
VesselStorageCharacteristic vesselStorageCharacteristic = new VesselStorageCharacteristic();
mapID(vesselStorageCharacteristic, source);
mapVesselStorageCharCodes(vesselStorageCharacteristic, source.getVesselStorageCharCode());
target.setDestinationVesselStorageCharacteristic(vesselStorageCharacteristic);
}
}
use of un.unece.uncefact.data.standard.reusableaggregatebusinessinformationentity._20.VesselStorageCharacteristic in project UVMS-ActivityModule-APP by UnionVMS.
the class ActivityEntityToModelMapper method mapSourceVesselStorageCharacteristic.
private void mapSourceVesselStorageCharacteristic(FishingActivity target, VesselStorageCharacteristicsEntity source) {
if (ObjectUtils.allNotNull(target, source)) {
VesselStorageCharacteristic vesselStorageCharacteristic = new VesselStorageCharacteristic();
mapID(vesselStorageCharacteristic, source);
mapVesselStorageCharCodes(vesselStorageCharacteristic, source.getVesselStorageCharCode());
target.setSourceVesselStorageCharacteristic(vesselStorageCharacteristic);
}
}
use of un.unece.uncefact.data.standard.reusableaggregatebusinessinformationentity._20.VesselStorageCharacteristic in project UVMS-ActivityModule-APP by UnionVMS.
the class MapperUtil method getVesselStorageCharacteristic.
public static VesselStorageCharacteristic getVesselStorageCharacteristic() {
VesselStorageCharacteristic vesselStorageCharacteristic = new VesselStorageCharacteristic();
List<CodeType> typeCodes = Arrays.asList(getCodeType("CONTAINER", "VESSEL_STORAGE_TYPE"));
IDType id = getIdType("ID 1", "687yu5-tught6-thfyr-5yt74e");
vesselStorageCharacteristic.setID(id);
vesselStorageCharacteristic.setTypeCodes(typeCodes);
return vesselStorageCharacteristic;
}
Aggregations