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

jais.messages.enums.VesselClass Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
package jais.messages.enums;

/**
 * Distinguishes between class A and class B vessels in a type safe way
 */
public enum VesselClass {
    UNSPECIFIED("Class Unspecified"),
    A("Class A"),
    B("Class B");

    private final String nameStr;

    VesselClass(String nameStr) {
        this.nameStr = nameStr;
    }

    public String toString() {
        return this.nameStr;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy