use of eu.europa.ec.fisheries.schema.rules.mobileterminal.v1.IdType in project UVMS-ActivityModule-APP by UnionVMS.
the class MapperUtil method getFaReportDocument.
public static FAReportDocument getFaReportDocument() {
CodeType typeCode = getCodeType("DECLARATION", "FLUX_FA_REPORT_TYPE");
CodeType fmcMarkerCode = getCodeType("Fmz marker 1", "h49rh-fhrus33-fj84hjs82-4h84hw82");
List<IDType> relatedReportIDs = Arrays.asList(getIdType("ID 1", "47rfh-5hry4-thfur75-4hf743"));
DateTimeType acceptanceDateTime = getDateTimeType("2016-07-01 11:15:00");
FLUXReportDocument relatedFLUXReportDocument = getFluxReportDocument();
List<FishingActivity> specifiedFishingActivities = Arrays.asList(getFishingActivity());
VesselTransportMeans specifiedVesselTransportMeans = getVesselTransportMeans();
FAReportDocument faReportDocument = new FAReportDocument(typeCode, fmcMarkerCode, relatedReportIDs, acceptanceDateTime, relatedFLUXReportDocument, specifiedFishingActivities, specifiedVesselTransportMeans);
return faReportDocument;
}
use of eu.europa.ec.fisheries.schema.rules.mobileterminal.v1.IdType in project UVMS-ActivityModule-APP by UnionVMS.
the class MapperUtil method getRegistrationLocation.
public static RegistrationLocation getRegistrationLocation() {
IDType countryID = getIdType("XEU", "TERRITORY");
List<TextType> descriptions = Arrays.asList(getTextType("This is Test Text"));
CodeType geopoliticalRegionCode = getCodeType("Region Code 1", "57tug6-tfu576-5tud75-t57e5td-56tdwe");
List<IDType> ids = Arrays.asList(getIdType("ID 2", "fhtyr8-45jrf-5784fhrt-thf75"));
List<TextType> names = Arrays.asList(getTextType("This is Test Name"));
CodeType typeCode = getCodeType("Code type 1", "475rhf-587trhdy-thgy576-thfr64");
RegistrationLocation registrationLocation = new RegistrationLocation(countryID, descriptions, geopoliticalRegionCode, ids, names, typeCode, null);
return registrationLocation;
}
use of eu.europa.ec.fisheries.schema.rules.mobileterminal.v1.IdType 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