All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fish.focus.uvms.movementrules.model.dto.MovementDetails Maven / Gradle / Ivy

The newest version!
/*
Developed with the contribution of the European Commission - Directorate General for Maritime Affairs and Fisheries
© European Union, 2015-2016.

This file is part of the Integrated Fisheries Data Management (IFDM) Suite. The IFDM Suite is free software: you can
redistribute it and/or modify it under the terms of the GNU General Public License as published by the
Free Software Foundation, either version 3 of the License, or any later version. The IFDM Suite is distributed in
the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details. You should have received a
copy of the GNU General Public License along with the IFDM Suite. If not, see .
 */
package fish.focus.uvms.movementrules.model.dto;

import java.time.Instant;
import java.util.ArrayList;
import java.util.List;

public class MovementDetails {

    /*
     * FROM MOVEMENT
     */
    private String movementGuid;
    // ACTIVITY
    private String activityCallback;
    private String activityMessageId;
    private String activityMessageType;
    // ASSET
    private String assetGuid;
    private String assetIdGearType;
    private String externalMarking;
    private String flagState;
    private String cfr;
    private String ircs;
    private String assetName;
    private String assetStatus;
    private String mmsi;
    private String imo;
    private List assetFilters;
    private boolean parked;

    // MOBILE_TERMINAL
    private String channelGuid;
    private String mobileTerminalGuid;
    private String comChannelType;
    private String mobileTerminalType;
    private String mobileTerminalDnid;
    private String mobileTerminalMemberNumber;
    private String mobileTerminalSerialNumber;
    private String mobileTerminalStatus;
    private String oceanRegion;
    private Integer sourceSatelliteId;

    // POSITION
    private Double altitude;
    private Double latitude;
    private Double longitude;
    private Double calculatedCourse;
    private Double calculatedSpeed;
    private String movementType; // MovementTypeType

    private Instant positionTime;
    private Double reportedCourse;
    private Double reportedSpeed;
    private String segmentType;
    private String source;
    private String statusCode;

    private Double previousLatitude;
    private Double previousLongitude;

    private Double previousVMSLatitude;
    private Double previousVMSLongitude;

    // REPORT
    private List vicinityOf;
    private Integer sumPositionReport;

    /*
     * COLLECTED DATA
     */
    private Long timeDiffPositionReport;

    private List areaCodes = new ArrayList<>();
    private List areaTypes = new ArrayList<>();
    private List entAreaCodes = new ArrayList<>();
    private List entAreaTypes = new ArrayList<>();
    private List extAreaCodes = new ArrayList<>();
    private List extAreaTypes = new ArrayList<>();
    private List vmsEntAreaCodes = new ArrayList<>();
    private List vmsEntAreaTypes = new ArrayList<>();
    private List vmsExtAreaCodes = new ArrayList<>();
    private List vmsExtAreaTypes = new ArrayList<>();

    private String closestCountryCode;
    private String closestPortCode;

    /*
     * Additional attributes used when sending to plugin
     * TODO check if these are needed
     */
    private Double closestPortDistance;
    private Double closestCountryDistance;
    private String connectId;
    private String wkt;
    private String assetType;

    public String getMovementGuid() {
        return movementGuid;
    }

    public void setMovementGuid(String movementGuid) {
        this.movementGuid = movementGuid;
    }

    public String getActivityCallback() {
        return activityCallback;
    }

    public void setActivityCallback(String activityCallback) {
        this.activityCallback = activityCallback;
    }

    public String getActivityMessageId() {
        return activityMessageId;
    }

    public void setActivityMessageId(String activityMessageId) {
        this.activityMessageId = activityMessageId;
    }

    public String getActivityMessageType() {
        return activityMessageType;
    }

    public void setActivityMessageType(String activityMessageType) {
        this.activityMessageType = activityMessageType;
    }

    public String getAssetGuid() {
        return assetGuid;
    }

    public void setAssetGuid(String assetGuid) {
        this.assetGuid = assetGuid;
    }

    public String getAssetIdGearType() {
        return assetIdGearType;
    }

    public void setAssetIdGearType(String assetIdGearType) {
        this.assetIdGearType = assetIdGearType;
    }

    public String getExternalMarking() {
        return externalMarking;
    }

    public void setExternalMarking(String externalMarking) {
        this.externalMarking = externalMarking;
    }

    public String getFlagState() {
        return flagState;
    }

    public void setFlagState(String flagState) {
        this.flagState = flagState;
    }

    public String getCfr() {
        return cfr;
    }

    public void setCfr(String cfr) {
        this.cfr = cfr;
    }

    public String getIrcs() {
        return ircs;
    }

    public void setIrcs(String ircs) {
        this.ircs = ircs;
    }

    public String getAssetName() {
        return assetName;
    }

    public void setAssetName(String assetName) {
        this.assetName = assetName;
    }

    public String getAssetStatus() {
        return assetStatus;
    }

    public void setAssetStatus(String assetStatus) {
        this.assetStatus = assetStatus;
    }

    public String getMmsi() {
        return mmsi;
    }

    public void setMmsi(String mmsi) {
        this.mmsi = mmsi;
    }

    public String getImo() {
        return imo;
    }

    public void setImo(String imo) {
        this.imo = imo;
    }

    public List getAssetFilters() {
        return assetFilters;
    }

    public void setAssetFilters(List assetFilters) {
        this.assetFilters = assetFilters;
    }

    public String getChannelGuid() {
        return channelGuid;
    }

    public void setChannelGuid(String channelGuid) {
        this.channelGuid = channelGuid;
    }

    public String getMobileTerminalGuid() {
        return mobileTerminalGuid;
    }

    public void setMobileTerminalGuid(String mobileTerminalGuid) {
        this.mobileTerminalGuid = mobileTerminalGuid;
    }

    public String getComChannelType() {
        return comChannelType;
    }

    public void setComChannelType(String comChannelType) {
        this.comChannelType = comChannelType;
    }

    public String getMobileTerminalType() {
        return mobileTerminalType;
    }

    public void setMobileTerminalType(String mobileTerminalType) {
        this.mobileTerminalType = mobileTerminalType;
    }

    public String getMobileTerminalDnid() {
        return mobileTerminalDnid;
    }

    public void setMobileTerminalDnid(String mobileTerminalDnid) {
        this.mobileTerminalDnid = mobileTerminalDnid;
    }

    public String getMobileTerminalMemberNumber() {
        return mobileTerminalMemberNumber;
    }

    public void setMobileTerminalMemberNumber(String mobileTerminalMemberNumber) {
        this.mobileTerminalMemberNumber = mobileTerminalMemberNumber;
    }

    public String getMobileTerminalSerialNumber() {
        return mobileTerminalSerialNumber;
    }

    public void setMobileTerminalSerialNumber(String mobileTerminalSerialNumber) {
        this.mobileTerminalSerialNumber = mobileTerminalSerialNumber;
    }

    public String getMobileTerminalStatus() {
        return mobileTerminalStatus;
    }

    public void setMobileTerminalStatus(String mobileTerminalStatus) {
        this.mobileTerminalStatus = mobileTerminalStatus;
    }

    public String getOceanRegion() {
        return oceanRegion;
    }

    public void setOceanRegion(String oceanRegion) {
        this.oceanRegion = oceanRegion;
    }

    public Integer getSourceSatelliteId() {
        return sourceSatelliteId;
    }

    public void setSourceSatelliteId(Integer sourceSatelliteId) {
        this.sourceSatelliteId = sourceSatelliteId;
    }

    public Double getAltitude() {
        return altitude;
    }

    public void setAltitude(Double altitude) {
        this.altitude = altitude;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public Double getCalculatedCourse() {
        return calculatedCourse;
    }

    public void setCalculatedCourse(Double calculatedCourse) {
        this.calculatedCourse = calculatedCourse;
    }

    public Double getCalculatedSpeed() {
        return calculatedSpeed;
    }

    public void setCalculatedSpeed(Double calculatedSpeed) {
        this.calculatedSpeed = calculatedSpeed;
    }

    public String getMovementType() {
        return movementType;
    }

    public void setMovementType(String movementType) {
        this.movementType = movementType;
    }

    public Instant getPositionTime() {
        return positionTime;
    }

    public void setPositionTime(Instant positionTime) {
        this.positionTime = positionTime;
    }

    public Double getReportedCourse() {
        return reportedCourse;
    }

    public void setReportedCourse(Double reportedCourse) {
        this.reportedCourse = reportedCourse;
    }

    public Double getReportedSpeed() {
        return reportedSpeed;
    }

    public void setReportedSpeed(Double reportedSpeed) {
        this.reportedSpeed = reportedSpeed;
    }

    public String getSegmentType() {
        return segmentType;
    }

    public void setSegmentType(String segmentType) {
        this.segmentType = segmentType;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(String statusCode) {
        this.statusCode = statusCode;
    }

    public Double getPreviousLatitude() {
        return previousLatitude;
    }

    public void setPreviousLatitude(Double previousLatitude) {
        this.previousLatitude = previousLatitude;
    }

    public Double getPreviousLongitude() {
        return previousLongitude;
    }

    public void setPreviousLongitude(Double previousLongitude) {
        this.previousLongitude = previousLongitude;
    }

    public Double getPreviousVMSLatitude() {
        return previousVMSLatitude;
    }

    public void setPreviousVMSLatitude(Double previousVMSLatitude) {
        this.previousVMSLatitude = previousVMSLatitude;
    }

    public Double getPreviousVMSLongitude() {
        return previousVMSLongitude;
    }

    public void setPreviousVMSLongitude(Double previousVMSLongitude) {
        this.previousVMSLongitude = previousVMSLongitude;
    }

    public List getVicinityOf() {
        return vicinityOf;
    }

    public void setVicinityOf(List vicinityOf) {
        this.vicinityOf = vicinityOf;
    }

    public Long getTimeDiffPositionReport() {
        return timeDiffPositionReport;
    }

    public void setTimeDiffPositionReport(Long timeDiffPositionReport) {
        this.timeDiffPositionReport = timeDiffPositionReport;
    }

    public Integer getSumPositionReport() {
        return sumPositionReport;
    }

    public void setSumPositionReport(Integer sumPositionReport) {
        this.sumPositionReport = sumPositionReport;
    }

    public List getAreaCodes() {
        return areaCodes;
    }

    public void setAreaCodes(List areaCodes) {
        this.areaCodes = areaCodes;
    }

    public List getAreaTypes() {
        return areaTypes;
    }

    public void setAreaTypes(List areaTypes) {
        this.areaTypes = areaTypes;
    }

    public List getEntAreaCodes() {
        return entAreaCodes;
    }

    public void setEntAreaCodes(List entAreaCodes) {
        this.entAreaCodes = entAreaCodes;
    }

    public List getEntAreaTypes() {
        return entAreaTypes;
    }

    public void setEntAreaTypes(List entAreaTypes) {
        this.entAreaTypes = entAreaTypes;
    }

    public List getExtAreaCodes() {
        return extAreaCodes;
    }

    public void setExtAreaCodes(List extAreaCodes) {
        this.extAreaCodes = extAreaCodes;
    }

    public List getExtAreaTypes() {
        return extAreaTypes;
    }

    public void setExtAreaTypes(List extAreaTypes) {
        this.extAreaTypes = extAreaTypes;
    }

    public List getVmsEntAreaCodes() {
        return vmsEntAreaCodes;
    }

    public void setVmsEntAreaCodes(List vmsEntAreaCodes) {
        this.vmsEntAreaCodes = vmsEntAreaCodes;
    }

    public List getVmsEntAreaTypes() {
        return vmsEntAreaTypes;
    }

    public void setVmsEntAreaTypes(List vmsEntAreaTypes) {
        this.vmsEntAreaTypes = vmsEntAreaTypes;
    }

    public List getVmsExtAreaCodes() {
        return vmsExtAreaCodes;
    }

    public void setVmsExtAreaCodes(List vmsExtAreaCodes) {
        this.vmsExtAreaCodes = vmsExtAreaCodes;
    }

    public List getVmsExtAreaTypes() {
        return vmsExtAreaTypes;
    }

    public void setVmsExtAreaTypes(List vmsExtAreaTypes) {
        this.vmsExtAreaTypes = vmsExtAreaTypes;
    }

    public String getClosestCountryCode() {
        return closestCountryCode;
    }

    public void setClosestCountryCode(String closestCountryCode) {
        this.closestCountryCode = closestCountryCode;
    }

    public String getClosestPortCode() {
        return closestPortCode;
    }

    public void setClosestPortCode(String closestPortCode) {
        this.closestPortCode = closestPortCode;
    }

    public Double getClosestPortDistance() {
        return closestPortDistance;
    }

    public void setClosestPortDistance(Double closestPortDistance) {
        this.closestPortDistance = closestPortDistance;
    }

    public Double getClosestCountryDistance() {
        return closestCountryDistance;
    }

    public void setClosestCountryDistance(Double closestCountryDistance) {
        this.closestCountryDistance = closestCountryDistance;
    }

    public String getConnectId() {
        return connectId;
    }

    public void setConnectId(String connectId) {
        this.connectId = connectId;
    }

    public String getWkt() {
        return wkt;
    }

    public void setWkt(String wkt) {
        this.wkt = wkt;
    }

    public String getAssetType() {
        return assetType;
    }

    public void setAssetType(String assetType) {
        this.assetType = assetType;
    }

    public boolean isParked() {
        return parked;
    }

    public void setParked(boolean parked) {
        this.parked = parked;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy