use of com.opensimulationplatform.core.model.modeldescription.variablegroup.nmeaggafix.NmeaGgaFix in project osp-validator by open-simulation-platform.
the class GenericTypeConverter method convert.
@Override
public Generic convert(GenericType genericType) {
Generic generic = new Generic();
generic.setName(genericType.getName());
List<GenericType> genericTypes = genericType.getGeneric();
List<Generic> generics = context.genericTypeConverter.convert(genericTypes);
generic.getGenerics().addAll(generics);
context.modelDescription.getGenerics().addAll(generics);
List<VariableType> variable = genericType.getVariable();
List<Variable> variables = context.variableTypeConverter.convert(variable);
generic.setVariables(variables);
List<AngularDisplacementType> angularDisplacement = genericType.getAngularDisplacement();
List<AngularDisplacement> angularDisplacements = context.angularDisplacementTypeConverter.convert(angularDisplacement);
generic.getAngularDisplacements().addAll(angularDisplacements);
context.modelDescription.getAngularDisplacements().addAll(angularDisplacements);
List<ChargeType> charge = genericType.getCharge();
List<Charge> charges = context.chargeTypeConverter.convert(charge);
generic.getCharges().addAll(charges);
context.modelDescription.getCharges().addAll(charges);
List<LinearDisplacementType> linearDisplacement = genericType.getLinearDisplacement();
List<LinearDisplacement> linearDisplacements = context.linearDisplacementTypeConverter.convert(linearDisplacement);
generic.getLinearDisplacements().addAll(linearDisplacements);
context.modelDescription.getLinearDisplacements().addAll(linearDisplacements);
List<VolumeType> volume = genericType.getVolume();
List<Volume> volumes = context.volumeTypeConverter.convert(volume);
generic.getVolumes().addAll(volumes);
context.modelDescription.getVolumes().addAll(volumes);
List<ForceType> force = genericType.getForce();
List<Force> forces = context.forceTypeConverter.convert(force);
generic.getForces().addAll(forces);
context.modelDescription.getForces().addAll(forces);
List<PressureType> pressure = genericType.getPressure();
List<Pressure> pressures = context.pressureTypeConverter.convert(pressure);
generic.getPressures().addAll(pressures);
context.modelDescription.getPressures().addAll(pressures);
List<TorqueType> torque = genericType.getTorque();
List<Torque> torques = context.torqueTypeConverter.convert(torque);
generic.getTorques().addAll(torques);
context.modelDescription.getTorques().addAll(torques);
List<VoltageType> voltage = genericType.getVoltage();
List<Voltage> voltages = context.voltageTypeConverter.convert(voltage);
generic.getVoltages().addAll(voltages);
context.modelDescription.getVoltages().addAll(voltages);
List<AngularVelocityType> angularVelocity = genericType.getAngularVelocity();
List<AngularVelocity> angularVelocities = context.angularVelocityTypeConverter.convert(angularVelocity);
generic.getAngularVelocities().addAll(angularVelocities);
context.modelDescription.getAngularVelocities().addAll(angularVelocities);
List<CurrentType> current = genericType.getCurrent();
List<Current> currents = context.currentTypeConverter.convert(current);
generic.getCurrents().addAll(currents);
context.modelDescription.getCurrents().addAll(currents);
List<LinearVelocityType> linearVelocity = genericType.getLinearVelocity();
List<LinearVelocity> linearVelocities = context.linearVelocityTypeConverter.convert(linearVelocity);
generic.getLinearVelocities().addAll(linearVelocities);
context.modelDescription.getLinearVelocities().addAll(linearVelocities);
List<VolumeFlowRateType> volumeFlowRate = genericType.getVolumeFlowRate();
List<VolumeFlowRate> volumeFlowRates = context.volumeFlowRateTypeConverter.convert(volumeFlowRate);
generic.getVolumeFlowRates().addAll(volumeFlowRates);
context.modelDescription.getVolumeFlowRates().addAll(volumeFlowRates);
List<AngularMechanicalPortType> angularMechanicalPort = genericType.getAngularMechanicalPort();
List<AngularMechanicalPort> angularMechanicalPorts = context.angularMechanicalPortTypeConverter.convert(angularMechanicalPort);
generic.getAngularMechanicalPorts().addAll(angularMechanicalPorts);
context.modelDescription.getAngularMechanicalPorts().addAll(angularMechanicalPorts);
List<ElectromagneticPortType> electromagneticPort = genericType.getElectromagneticPort();
List<ElectromagneticPort> electromagneticPorts = context.electromagneticPortTypeConverter.convert(electromagneticPort);
generic.getElectromagneticPorts().addAll(electromagneticPorts);
context.modelDescription.getElectromagneticPorts().addAll(electromagneticPorts);
List<HydraulicPortType> hydraulicPort = genericType.getHydraulicPort();
List<HydraulicPort> hydraulicPorts = context.hydraulicPortTypeConverter.convert(hydraulicPort);
generic.getHydraulicPorts().addAll(hydraulicPorts);
context.modelDescription.getHydraulicPorts().addAll(hydraulicPorts);
List<LinearMechanicalPortType> linearMechanicalPort = genericType.getLinearMechanicalPort();
List<LinearMechanicalPort> linearMechanicalPorts = context.linearMechanicalPortTypeConverter.convert(linearMechanicalPort);
generic.getLinearMechanicalPorts().addAll(linearMechanicalPorts);
context.modelDescription.getLinearMechanicalPorts().addAll(linearMechanicalPorts);
List<AngularMechanicalQuasiPortType> angularMechanicalQuasiPort = genericType.getAngularMechanicalQuasiPort();
List<AngularMechanicalQuasiPort> angularMechanicalQuasiPorts = context.angularMechanicalQuasiPortTypeConverter.convert(angularMechanicalQuasiPort);
generic.getAngularMechanicalQuasiPorts().addAll(angularMechanicalQuasiPorts);
context.modelDescription.getAngularMechanicalQuasiPorts().addAll(angularMechanicalQuasiPorts);
List<ElectromagneticQuasiPortType> electromagneticQuasiPort = genericType.getElectromagneticQuasiPort();
List<ElectromagneticQuasiPort> electromagneticQuasiPorts = context.electromagneticQuasiPortTypeConverter.convert(electromagneticQuasiPort);
generic.getElectromagneticQuasiPorts().addAll(electromagneticQuasiPorts);
context.modelDescription.getElectromagneticQuasiPorts().addAll(electromagneticQuasiPorts);
List<HydraulicQuasiPortType> hydraulicQuasiPort = genericType.getHydraulicQuasiPort();
List<HydraulicQuasiPort> hydraulicQuasiPorts = context.hydraulicQuasiPortTypeConverter.convert(hydraulicQuasiPort);
generic.getHydraulicQuasiPorts().addAll(hydraulicQuasiPorts);
context.modelDescription.getHydraulicQuasiPorts().addAll(hydraulicQuasiPorts);
List<LinearMechanicalQuasiPortType> linearMechanicalQuasiPort = genericType.getLinearMechanicalQuasiPort();
List<LinearMechanicalQuasiPort> linearMechanicalQuasiPorts = context.linearMechanicalQuasiPortTypeConverter.convert(linearMechanicalQuasiPort);
generic.getLinearMechanicalQuasiPorts().addAll(linearMechanicalQuasiPorts);
context.modelDescription.getLinearMechanicalQuasiPorts().addAll(linearMechanicalQuasiPorts);
List<NmeaGgaFixType> nmeaGgaFixTypes = genericType.getNmeaGgaFix();
List<NmeaGgaFix> nmeaGgaFixes = context.nmeaGgaFixTypeConverter.convert(nmeaGgaFixTypes);
generic.getNmeaGgaFixs().addAll(nmeaGgaFixes);
context.modelDescription.getNmeaGgaFixs().addAll(nmeaGgaFixes);
List<NmeaGgaLatitudeLongitudeType> nmeaGgaLatitudeLongitudeTypes = genericType.getNmeaGgaLatitudeLongitude();
List<NmeaGgaLatitudeLongitude> nmeaGgaLatitudeLongitude = context.nmeaGgaLatitudeLongitudeTypeConverter.convert(nmeaGgaLatitudeLongitudeTypes);
generic.getNmeaGgaLatitudeLongitudes().addAll(nmeaGgaLatitudeLongitude);
context.modelDescription.getNmeaGgaLatitudeLongitudes().addAll(nmeaGgaLatitudeLongitude);
List<NmeaGgaType> nmeaGgaTypes = genericType.getNmeaGga();
List<NmeaGga> nmeaGga = context.nmeaGgaTypeConverter.convert(nmeaGgaTypes);
generic.getNmeaGgas().addAll(nmeaGga);
context.modelDescription.getNmeaGgas().addAll(nmeaGga);
List<NmeaGstEllipseType> nmeaGstEllipseTypes = genericType.getNmeaGstEllipse();
List<NmeaGstEllipse> nmeaGstEllipse = context.nmeaGstEllipseTypeConverter.convert(nmeaGstEllipseTypes);
generic.getNmeaGstEllipses().addAll(nmeaGstEllipse);
context.modelDescription.getNmeaGstEllipses().addAll(nmeaGstEllipse);
List<NmeaGstPositionErrorType> nmeaGstPositionErrorTypes = genericType.getNmeaGstPositionError();
List<NmeaGstPositionError> nmeaGstPositionError = context.nmeaGstPositionErrorTypeConverter.convert(nmeaGstPositionErrorTypes);
generic.getNmeaGstPositionErrors().addAll(nmeaGstPositionError);
context.modelDescription.getNmeaGstPositionErrors().addAll(nmeaGstPositionError);
List<NmeaGstRmsType> nmeaGstRmsTypes = genericType.getNmeaGstRms();
List<NmeaGstRms> nmeaGstRms = context.nmeaGstRmsTypeConverter.convert(nmeaGstRmsTypes);
generic.getNmeaGstRmss().addAll(nmeaGstRms);
context.modelDescription.getNmeaGstRmss().addAll(nmeaGstRms);
List<NmeaGstType> nmeaGstTypes = genericType.getNmeaGst();
List<NmeaGst> nmeaGst = context.nmeaGstTypeConverter.convert(nmeaGstTypes);
generic.getNmeaGsts().addAll(nmeaGst);
context.modelDescription.getNmeaGsts().addAll(nmeaGst);
List<NmeaMwvType> nmeaMwvTypes = genericType.getNmeaMwv();
List<NmeaMwv> nmeaMwv = context.nmeaMwvTypeConverter.convert(nmeaMwvTypes);
generic.getNmeaMwvs().addAll(nmeaMwv);
context.modelDescription.getNmeaMwvs().addAll(nmeaMwv);
List<NmeaStatusType> nmeaStatusTypes = genericType.getNmeaStatus();
List<NmeaStatus> nmeaStatus = context.nmeaStatusTypeConverter.convert(nmeaStatusTypes);
generic.getNmeaStatuses().addAll(nmeaStatus);
context.modelDescription.getNmeaStatuses().addAll(nmeaStatus);
List<NmeaSxnType> nmeaSxnTypes = genericType.getNmeaSxn();
List<NmeaSxn> nmeaSxn = context.nmeaSxnTypeConverter.convert(nmeaSxnTypes);
generic.getNmeaSxns().addAll(nmeaSxn);
context.modelDescription.getNmeaSxns().addAll(nmeaSxn);
List<NmeaThsType> nmeaThsTypes = genericType.getNmeaThs();
List<NmeaThs> nmeaThs = context.nmeaThsTypeConverter.convert(nmeaThsTypes);
generic.getNmeaThss().addAll(nmeaThs);
context.modelDescription.getNmeaThss().addAll(nmeaThs);
List<NmeaTimeType> nmeaTimeTypes = genericType.getNmeaTime();
List<NmeaTime> nmeaTime = context.nmeaTimeTypeConverter.convert(nmeaTimeTypes);
generic.getNmeaTimes().addAll(nmeaTime);
context.modelDescription.getNmeaTimes().addAll(nmeaTime);
List<NmeaTrueHeadingType> nmeaTrueHeadingTypes = genericType.getNmeaTrueHeading();
List<NmeaTrueHeading> nmeaTrueHeading = context.nmeaTrueHeadingTypeConverter.convert(nmeaTrueHeadingTypes);
generic.getNmeaTrueHeadings().addAll(nmeaTrueHeading);
context.modelDescription.getNmeaTrueHeadings().addAll(nmeaTrueHeading);
List<NmeaWindDirectionType> nmeaWindDirectionTypes = genericType.getNmeaWindDirection();
List<NmeaWindDirection> nmeaWindDirection = context.nmeaWindDirectionTypeConverter.convert(nmeaWindDirectionTypes);
generic.getNmeaWindDirections().addAll(nmeaWindDirection);
context.modelDescription.getNmeaWindDirections().addAll(nmeaWindDirection);
List<NmeaWindSpeedType> nmeaWindSpeedTypes = genericType.getNmeaWindSpeed();
List<NmeaWindSpeed> nmeaWindSpeed = context.nmeaWindSpeedTypeConverter.convert(nmeaWindSpeedTypes);
generic.getNmeaWindSpeeds().addAll(nmeaWindSpeed);
context.modelDescription.getNmeaWindSpeeds().addAll(nmeaWindSpeed);
List<AngularAccelerationType> angularAccelerationTypes = genericType.getAngularAcceleration();
List<AngularAcceleration> angularAcceleration = context.angularAccelerationTypeConverter.convert(angularAccelerationTypes);
generic.getAngularAccelerations().addAll(angularAcceleration);
context.modelDescription.getAngularAccelerations().addAll(angularAcceleration);
List<AzimuthAngleType> azimuthAngleTypes = genericType.getAzimuthAngle();
List<AzimuthAngle> azimuthAngle = context.azimuthAngleTypeConverter.convert(azimuthAngleTypes);
generic.getAzimuthAngles().addAll(azimuthAngle);
context.modelDescription.getAzimuthAngles().addAll(azimuthAngle);
List<AzimuthThrusterFeedbackType> azimuthThrusterFeedbackTypes = genericType.getAzimuthThrusterFeedback();
List<AzimuthThrusterFeedback> azimuthThrusterFeedback = context.azimuthThrusterFeedbackTypeConverter.convert(azimuthThrusterFeedbackTypes);
generic.getAzimuthThrusterFeedbacks().addAll(azimuthThrusterFeedback);
context.modelDescription.getAzimuthThrusterFeedbacks().addAll(azimuthThrusterFeedback);
List<AzimuthThrusterSetpointType> azimuthThrusterSetpointTypes = genericType.getAzimuthThrusterSetpoint();
List<AzimuthThrusterSetpoint> azimuthThrusterSetpoint = context.azimuthThrusterSetpointTypeConverter.convert(azimuthThrusterSetpointTypes);
generic.getAzimuthThrusterSetpoints().addAll(azimuthThrusterSetpoint);
context.modelDescription.getAzimuthThrusterSetpoints().addAll(azimuthThrusterSetpoint);
List<BatteryFeedbackType> batteryFeedbackTypes = genericType.getBatteryFeedback();
List<BatteryFeedback> batteryFeedback = context.batteryFeedbackTypeConverter.convert(batteryFeedbackTypes);
generic.getBatteryFeedbacks().addAll(batteryFeedback);
context.modelDescription.getBatteryFeedbacks().addAll(batteryFeedback);
List<BladePitchType> bladePitchTypes = genericType.getBladePitch();
List<BladePitch> bladePitch = context.bladePitchTypeConverter.convert(bladePitchTypes);
generic.getBladePitches().addAll(bladePitch);
context.modelDescription.getBladePitches().addAll(bladePitch);
List<BusFeedbackType> busFeedbackTypes = genericType.getBusFeedback();
List<BusFeedback> busFeedback = context.busFeedbackTypeConverter.convert(busFeedbackTypes);
generic.getBusFeedbacks().addAll(busFeedback);
context.modelDescription.getBusFeedbacks().addAll(busFeedback);
List<ElectricPowerType> electricPowerTypes = genericType.getElectricPower();
List<ElectricPower> electricPower = context.electricPowerTypeConverter.convert(electricPowerTypes);
generic.getElectricPowers().addAll(electricPower);
context.modelDescription.getElectricPowers().addAll(electricPower);
List<FixedThrusterFeedbackType> fixedThrusterFeedbackTypes = genericType.getFixedThrusterFeedback();
List<FixedThrusterFeedback> fixedThrusterFeedback = context.fixedThrusterFeedbackTypeConverter.convert(fixedThrusterFeedbackTypes);
generic.getFixedThrusterFeedbacks().addAll(fixedThrusterFeedback);
context.modelDescription.getFixedThrusterFeedbacks().addAll(fixedThrusterFeedback);
List<FixedThrusterSetpointType> fixedThrusterSetpointTypes = genericType.getFixedThrusterSetpoint();
List<FixedThrusterSetpoint> fixedThrusterSetpoint = context.fixedThrusterSetpointTypeConverter.convert(fixedThrusterSetpointTypes);
generic.getFixedThrusterSetpoints().addAll(fixedThrusterSetpoint);
context.modelDescription.getFixedThrusterSetpoints().addAll(fixedThrusterSetpoint);
List<FrequencyType> frequencyTypes = genericType.getFrequency();
List<Frequency> frequency = context.frequencyTypeConverter.convert(frequencyTypes);
generic.getFrequencies().addAll(frequency);
context.modelDescription.getFrequencies().addAll(frequency);
List<GeneratorFeedbackType> generatorFeedbackTypes = genericType.getGeneratorFeedback();
List<GeneratorFeedback> generatorFeedback = context.generatorFeedbackTypeConverter.convert(generatorFeedbackTypes);
generic.getGeneratorFeedbacks().addAll(generatorFeedback);
context.modelDescription.getGeneratorFeedbacks().addAll(generatorFeedback);
List<LinearAccelerationType> linearAccelerationTypes = genericType.getLinearAcceleration();
List<LinearAcceleration> linearAcceleration = context.linearAccelerationTypeConverter.convert(linearAccelerationTypes);
generic.getLinearAccelerations().addAll(linearAcceleration);
context.modelDescription.getLinearAccelerations().addAll(linearAcceleration);
List<ShaftSpeedType> shaftSpeedTypes = genericType.getShaftSpeed();
List<ShaftSpeed> shaftSpeed = context.shaftSpeedTypeConverter.convert(shaftSpeedTypes);
generic.getShaftSpeeds().addAll(shaftSpeed);
context.modelDescription.getShaftSpeeds().addAll(shaftSpeed);
return generic;
}
use of com.opensimulationplatform.core.model.modeldescription.variablegroup.nmeaggafix.NmeaGgaFix in project osp-validator by open-simulation-platform.
the class NmeaGgaFixTypeConverter method convert.
@Override
public NmeaGgaFix convert(NmeaGgaFixType nmeaGgaFixType) {
NmeaGgaFix nmeaGgaFix = new NmeaGgaFix();
nmeaGgaFix.setName(nmeaGgaFixType.getName());
List<VariableType> variableTypes = nmeaGgaFixType.getVariable();
List<Variable> variables = variableTypes.stream().map(context.variableTypeConverter::convert).collect(Collectors.toList());
nmeaGgaFix.setVariables(variables);
return nmeaGgaFix;
}
use of com.opensimulationplatform.core.model.modeldescription.variablegroup.nmeaggafix.NmeaGgaFix in project osp-validator by open-simulation-platform.
the class NmeaGgaTypeConverter method convert.
@Override
public NmeaGga convert(NmeaGgaType nmeaGgaType) {
NmeaGga nmeaGga = new NmeaGga();
nmeaGga.setName(nmeaGgaType.getName());
NmeaTime nmeaTime = context.nmeaTimeTypeConverter.convert(nmeaGgaType.getNmeaTime());
NmeaGgaFix nmeaGgaFix = context.nmeaGgaFixTypeConverter.convert(nmeaGgaType.getNmeaGgaFix());
NmeaGgaLatitudeLongitude nmeaGgaLatitudeLongitude = context.nmeaGgaLatitudeLongitudeTypeConverter.convert(nmeaGgaType.getNmeaGgaLatitudeLongitude());
context.modelDescription.getNmeaTimes().add(nmeaTime);
context.modelDescription.getNmeaGgaFixs().add(nmeaGgaFix);
context.modelDescription.getNmeaGgaLatitudeLongitudes().add(nmeaGgaLatitudeLongitude);
nmeaGga.setNmeaTime(nmeaTime);
nmeaGga.setNmeaGgaFix(nmeaGgaFix);
nmeaGga.setNmeaGgaLatitudeLongitude(nmeaGgaLatitudeLongitude);
return nmeaGga;
}
use of com.opensimulationplatform.core.model.modeldescription.variablegroup.nmeaggafix.NmeaGgaFix in project osp-validator by open-simulation-platform.
the class OspModelDescriptionTypeConverter method convert.
@Override
public ModelDescription convert(OspModelDescriptionType ospModelDescriptionType) {
ModelDescription modelDescription = context.modelDescription;
modelDescription.getVariables().addAll(context.fmiModelDescription.getVariables());
modelDescription.getUnits().addAll(context.fmiModelDescription.getUnits());
UnitDefinitionsType unitDefinitions = ospModelDescriptionType.getUnitDefinitions();
if (unitDefinitions != null) {
List<UnitType> unitTypes = unitDefinitions.getUnit();
List<Unit> units = context.unitTypeConverter.convert(unitTypes);
modelDescription.getUnits().addAll(units);
}
VariableGroupsType variableGroups = ospModelDescriptionType.getVariableGroups();
if (variableGroups != null) {
List<GenericType> genericTypes = variableGroups.getGeneric();
List<Generic> generics = context.genericTypeConverter.convert(genericTypes);
modelDescription.getGenerics().addAll(generics);
List<AngularDisplacementType> angularDisplacementTypes = variableGroups.getAngularDisplacement();
List<AngularDisplacement> angularDisplacements = context.angularDisplacementTypeConverter.convert(angularDisplacementTypes);
modelDescription.getAngularDisplacements().addAll(angularDisplacements);
List<ChargeType> chargeTypes = variableGroups.getCharge();
List<Charge> charges = context.chargeTypeConverter.convert(chargeTypes);
modelDescription.getCharges().addAll(charges);
List<LinearDisplacementType> linearDisplacementTypes = variableGroups.getLinearDisplacement();
List<LinearDisplacement> linearDisplacements = context.linearDisplacementTypeConverter.convert(linearDisplacementTypes);
modelDescription.getLinearDisplacements().addAll(linearDisplacements);
List<VolumeType> volumeTypes = variableGroups.getVolume();
List<Volume> volumes = context.volumeTypeConverter.convert(volumeTypes);
modelDescription.getVolumes().addAll(volumes);
List<ForceType> forceTypes = variableGroups.getForce();
List<Force> forces = context.forceTypeConverter.convert(forceTypes);
modelDescription.getForces().addAll(forces);
List<PressureType> pressureTypes = variableGroups.getPressure();
List<Pressure> pressures = context.pressureTypeConverter.convert(pressureTypes);
modelDescription.getPressures().addAll(pressures);
List<TorqueType> torqueTypes = variableGroups.getTorque();
List<Torque> torques = context.torqueTypeConverter.convert(torqueTypes);
modelDescription.getTorques().addAll(torques);
List<VoltageType> voltageTypes = variableGroups.getVoltage();
List<Voltage> voltages = context.voltageTypeConverter.convert(voltageTypes);
modelDescription.getVoltages().addAll(voltages);
List<AngularVelocityType> angularVelocityTypes = variableGroups.getAngularVelocity();
List<AngularVelocity> angularVelocities = context.angularVelocityTypeConverter.convert(angularVelocityTypes);
modelDescription.getAngularVelocities().addAll(angularVelocities);
List<CurrentType> currentTypes = variableGroups.getCurrent();
List<Current> currents = context.currentTypeConverter.convert(currentTypes);
modelDescription.getCurrents().addAll(currents);
List<LinearVelocityType> linearVelocityTypes = variableGroups.getLinearVelocity();
List<LinearVelocity> linearVelocities = context.linearVelocityTypeConverter.convert(linearVelocityTypes);
modelDescription.getLinearVelocities().addAll(linearVelocities);
List<VolumeFlowRateType> volumeFlowRateTypes = variableGroups.getVolumeFlowRate();
List<VolumeFlowRate> volumeFlowRates = context.volumeFlowRateTypeConverter.convert(volumeFlowRateTypes);
modelDescription.getVolumeFlowRates().addAll(volumeFlowRates);
List<AngularMechanicalPortType> angularMechanicalPortTypes = variableGroups.getAngularMechanicalPort();
List<AngularMechanicalPort> angularMechanicalPorts = context.angularMechanicalPortTypeConverter.convert(angularMechanicalPortTypes);
modelDescription.getAngularMechanicalPorts().addAll(angularMechanicalPorts);
List<ElectromagneticPortType> electromagneticPortTypes = variableGroups.getElectromagneticPort();
List<ElectromagneticPort> electromagneticPorts = context.electromagneticPortTypeConverter.convert(electromagneticPortTypes);
modelDescription.getElectromagneticPorts().addAll(electromagneticPorts);
List<HydraulicPortType> hydraulicPortTypes = variableGroups.getHydraulicPort();
List<HydraulicPort> hydraulicPorts = context.hydraulicPortTypeConverter.convert(hydraulicPortTypes);
modelDescription.getHydraulicPorts().addAll(hydraulicPorts);
List<LinearMechanicalPortType> linearMechanicalPortTypes = variableGroups.getLinearMechanicalPort();
List<LinearMechanicalPort> linearMechanicalPorts = context.linearMechanicalPortTypeConverter.convert(linearMechanicalPortTypes);
modelDescription.getLinearMechanicalPorts().addAll(linearMechanicalPorts);
List<AngularMechanicalQuasiPortType> angularMechanicalQuasiPortTypes = variableGroups.getAngularMechanicalQuasiPort();
List<AngularMechanicalQuasiPort> angularMechanicalQuasiPorts = context.angularMechanicalQuasiPortTypeConverter.convert(angularMechanicalQuasiPortTypes);
modelDescription.getAngularMechanicalQuasiPorts().addAll(angularMechanicalQuasiPorts);
List<ElectromagneticQuasiPortType> electromagneticQuasiPortTypes = variableGroups.getElectromagneticQuasiPort();
List<ElectromagneticQuasiPort> electromagneticQuasiPorts = context.electromagneticQuasiPortTypeConverter.convert(electromagneticQuasiPortTypes);
modelDescription.getElectromagneticQuasiPorts().addAll(electromagneticQuasiPorts);
List<HydraulicQuasiPortType> hydraulicQuasiPortTypes = variableGroups.getHydraulicQuasiPort();
List<HydraulicQuasiPort> hydraulicQuasiPorts = context.hydraulicQuasiPortTypeConverter.convert(hydraulicQuasiPortTypes);
modelDescription.getHydraulicQuasiPorts().addAll(hydraulicQuasiPorts);
List<LinearMechanicalQuasiPortType> linearMechanicalQuasiPortTypes = variableGroups.getLinearMechanicalQuasiPort();
List<LinearMechanicalQuasiPort> linearMechanicalQuasiPorts = context.linearMechanicalQuasiPortTypeConverter.convert(linearMechanicalQuasiPortTypes);
modelDescription.getLinearMechanicalQuasiPorts().addAll(linearMechanicalQuasiPorts);
List<NmeaGgaFixType> nmeaGgaFixTypes = variableGroups.getNmeaGgaFix();
List<NmeaGgaFix> nmeaGgaFixes = context.nmeaGgaFixTypeConverter.convert(nmeaGgaFixTypes);
modelDescription.getNmeaGgaFixs().addAll(nmeaGgaFixes);
List<NmeaGgaLatitudeLongitudeType> nmeaGgaLatitudeLongitudeTypes = variableGroups.getNmeaGgaLatitudeLongitude();
List<NmeaGgaLatitudeLongitude> nmeaGgaLatitudeLongitude = context.nmeaGgaLatitudeLongitudeTypeConverter.convert(nmeaGgaLatitudeLongitudeTypes);
modelDescription.getNmeaGgaLatitudeLongitudes().addAll(nmeaGgaLatitudeLongitude);
List<NmeaGgaType> nmeaGgaTypes = variableGroups.getNmeaGga();
List<NmeaGga> nmeaGga = context.nmeaGgaTypeConverter.convert(nmeaGgaTypes);
modelDescription.getNmeaGgas().addAll(nmeaGga);
List<NmeaGstEllipseType> nmeaGstEllipseTypes = variableGroups.getNmeaGstEllipse();
List<NmeaGstEllipse> nmeaGstEllipse = context.nmeaGstEllipseTypeConverter.convert(nmeaGstEllipseTypes);
modelDescription.getNmeaGstEllipses().addAll(nmeaGstEllipse);
List<NmeaGstPositionErrorType> nmeaGstPositionErrorTypes = variableGroups.getNmeaGstPositionError();
List<NmeaGstPositionError> nmeaGstPositionError = context.nmeaGstPositionErrorTypeConverter.convert(nmeaGstPositionErrorTypes);
modelDescription.getNmeaGstPositionErrors().addAll(nmeaGstPositionError);
List<NmeaGstRmsType> nmeaGstRmsTypes = variableGroups.getNmeaGstRms();
List<NmeaGstRms> nmeaGstRms = context.nmeaGstRmsTypeConverter.convert(nmeaGstRmsTypes);
modelDescription.getNmeaGstRmss().addAll(nmeaGstRms);
List<NmeaGstType> nmeaGstTypes = variableGroups.getNmeaGst();
List<NmeaGst> nmeaGst = context.nmeaGstTypeConverter.convert(nmeaGstTypes);
modelDescription.getNmeaGsts().addAll(nmeaGst);
List<NmeaMwvType> nmeaMwvTypes = variableGroups.getNmeaMwv();
List<NmeaMwv> nmeaMwv = context.nmeaMwvTypeConverter.convert(nmeaMwvTypes);
modelDescription.getNmeaMwvs().addAll(nmeaMwv);
List<NmeaStatusType> nmeaStatusTypes = variableGroups.getNmeaStatus();
List<NmeaStatus> nmeaStatus = context.nmeaStatusTypeConverter.convert(nmeaStatusTypes);
modelDescription.getNmeaStatuses().addAll(nmeaStatus);
List<NmeaSxnType> nmeaSxnTypes = variableGroups.getNmeaSxn();
List<NmeaSxn> nmeaSxn = context.nmeaSxnTypeConverter.convert(nmeaSxnTypes);
modelDescription.getNmeaSxns().addAll(nmeaSxn);
List<NmeaThsType> nmeaThsTypes = variableGroups.getNmeaThs();
List<NmeaThs> nmeaThs = context.nmeaThsTypeConverter.convert(nmeaThsTypes);
modelDescription.getNmeaThss().addAll(nmeaThs);
List<NmeaTimeType> nmeaTimeTypes = variableGroups.getNmeaTime();
List<NmeaTime> nmeaTime = context.nmeaTimeTypeConverter.convert(nmeaTimeTypes);
modelDescription.getNmeaTimes().addAll(nmeaTime);
List<NmeaTrueHeadingType> nmeaTrueHeadingTypes = variableGroups.getNmeaTrueHeading();
List<NmeaTrueHeading> nmeaTrueHeading = context.nmeaTrueHeadingTypeConverter.convert(nmeaTrueHeadingTypes);
modelDescription.getNmeaTrueHeadings().addAll(nmeaTrueHeading);
List<NmeaWindDirectionType> nmeaWindDirectionTypes = variableGroups.getNmeaWindDirection();
List<NmeaWindDirection> nmeaWindDirection = context.nmeaWindDirectionTypeConverter.convert(nmeaWindDirectionTypes);
modelDescription.getNmeaWindDirections().addAll(nmeaWindDirection);
List<NmeaWindSpeedType> nmeaWindSpeedTypes = variableGroups.getNmeaWindSpeed();
List<NmeaWindSpeed> nmeaWindSpeed = context.nmeaWindSpeedTypeConverter.convert(nmeaWindSpeedTypes);
modelDescription.getNmeaWindSpeeds().addAll(nmeaWindSpeed);
List<AngularAccelerationType> angularAccelerationTypes = variableGroups.getAngularAcceleration();
List<AngularAcceleration> angularAcceleration = context.angularAccelerationTypeConverter.convert(angularAccelerationTypes);
modelDescription.getAngularAccelerations().addAll(angularAcceleration);
List<AzimuthAngleType> azimuthAngleTypes = variableGroups.getAzimuthAngle();
List<AzimuthAngle> azimuthAngle = context.azimuthAngleTypeConverter.convert(azimuthAngleTypes);
modelDescription.getAzimuthAngles().addAll(azimuthAngle);
List<AzimuthThrusterFeedbackType> azimuthThrusterFeedbackTypes = variableGroups.getAzimuthThrusterFeedback();
List<AzimuthThrusterFeedback> azimuthThrusterFeedback = context.azimuthThrusterFeedbackTypeConverter.convert(azimuthThrusterFeedbackTypes);
modelDescription.getAzimuthThrusterFeedbacks().addAll(azimuthThrusterFeedback);
List<AzimuthThrusterSetpointType> azimuthThrusterSetpointTypes = variableGroups.getAzimuthThrusterSetpoint();
List<AzimuthThrusterSetpoint> azimuthThrusterSetpoint = context.azimuthThrusterSetpointTypeConverter.convert(azimuthThrusterSetpointTypes);
modelDescription.getAzimuthThrusterSetpoints().addAll(azimuthThrusterSetpoint);
List<BatteryFeedbackType> batteryFeedbackTypes = variableGroups.getBatteryFeedback();
List<BatteryFeedback> batteryFeedback = context.batteryFeedbackTypeConverter.convert(batteryFeedbackTypes);
modelDescription.getBatteryFeedbacks().addAll(batteryFeedback);
List<BladePitchType> bladePitchTypes = variableGroups.getBladePitch();
List<BladePitch> bladePitch = context.bladePitchTypeConverter.convert(bladePitchTypes);
modelDescription.getBladePitches().addAll(bladePitch);
List<BusFeedbackType> busFeedbackTypes = variableGroups.getBusFeedback();
List<BusFeedback> busFeedback = context.busFeedbackTypeConverter.convert(busFeedbackTypes);
modelDescription.getBusFeedbacks().addAll(busFeedback);
List<ElectricPowerType> electricPowerTypes = variableGroups.getElectricPower();
List<ElectricPower> electricPower = context.electricPowerTypeConverter.convert(electricPowerTypes);
modelDescription.getElectricPowers().addAll(electricPower);
List<FixedThrusterFeedbackType> fixedThrusterFeedbackTypes = variableGroups.getFixedThrusterFeedback();
List<FixedThrusterFeedback> fixedThrusterFeedback = context.fixedThrusterFeedbackTypeConverter.convert(fixedThrusterFeedbackTypes);
modelDescription.getFixedThrusterFeedbacks().addAll(fixedThrusterFeedback);
List<FixedThrusterSetpointType> fixedThrusterSetpointTypes = variableGroups.getFixedThrusterSetpoint();
List<FixedThrusterSetpoint> fixedThrusterSetpoint = context.fixedThrusterSetpointTypeConverter.convert(fixedThrusterSetpointTypes);
modelDescription.getFixedThrusterSetpoints().addAll(fixedThrusterSetpoint);
List<FrequencyType> frequencyTypes = variableGroups.getFrequency();
List<Frequency> frequency = context.frequencyTypeConverter.convert(frequencyTypes);
modelDescription.getFrequencies().addAll(frequency);
List<GeneratorFeedbackType> generatorFeedbackTypes = variableGroups.getGeneratorFeedback();
List<GeneratorFeedback> generatorFeedback = context.generatorFeedbackTypeConverter.convert(generatorFeedbackTypes);
modelDescription.getGeneratorFeedbacks().addAll(generatorFeedback);
List<LinearAccelerationType> linearAccelerationTypes = variableGroups.getLinearAcceleration();
List<LinearAcceleration> linearAcceleration = context.linearAccelerationTypeConverter.convert(linearAccelerationTypes);
modelDescription.getLinearAccelerations().addAll(linearAcceleration);
List<ShaftSpeedType> shaftSpeedTypes = variableGroups.getShaftSpeed();
List<ShaftSpeed> shaftSpeed = context.shaftSpeedTypeConverter.convert(shaftSpeedTypes);
modelDescription.getShaftSpeeds().addAll(shaftSpeed);
}
return modelDescription;
}
Aggregations