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

au.gov.amsa.sgb.decoder.vesselid.AircraftOperatorAndSerialNumber Maven / Gradle / Ivy

The newest version!
package au.gov.amsa.sgb.decoder.vesselid;

public final class AircraftOperatorAndSerialNumber implements VesselId {

    // used for serialization
    private final VesselIdType vesselIdType = VesselIdType.AIRCRAFT_OPERATOR_AND_SERIAL_NUMBER;
    private final String aircraftOperatorDesignator;
    private final int serialNumber;

    public AircraftOperatorAndSerialNumber(String aircraftOperatorDesignator, int serialNumber) {
        this.aircraftOperatorDesignator = aircraftOperatorDesignator;
        this.serialNumber = serialNumber;
    }

    @Override
    public VesselIdType vesselIdType() {
        return vesselIdType;
    }

    public String aircraftOperatorDesignator() {
        return aircraftOperatorDesignator;
    }

    public int serialNumber() {
        return serialNumber;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy