package uebung05.logistics.material;

import uebung05.logistics.quantities.IntUnit;

/**
 * The ShellBatches class represents a unit of measurement for 120mm shell batches.
 * It is a singleton class, meaning only one instance of the class can exist at a time.
 *
 * @author Nikolaus Köberlein
 * @version 1.0
 */
public class ShellBatches implements IntUnit {

    public static ShellBatches INSTANCE;

    private ShellBatches() {}

    /**
     * Get the singleton instance of the ShellBatches class
     *
     * @return The singleton instance of the ShellBatches class
     */
    public static ShellBatches getINSTANCE() {
        if (INSTANCE == null) {
            INSTANCE = new ShellBatches();
        }
        return INSTANCE;
    }

    /**
     * Get a string representation of the ShellBatches object
     *
     * @return A string representation of the ShellBatches object
     */
    @Override
    public String toString() {
        return "batches of 120mm shells";
    }

    /**
     * Set the integer value of the ShellBatches object
     *
     * @param value The integer value to set
     */
    public void setValue(int value) {
        // Implementation goes here
    }

    /**
     * Get the integer value of the ShellBatches object
     *
     * @return The integer value of the ShellBatches object
     */
    public int getValue() {
        // Implementation goes here
        return 0;
    }
}