Enum DeviceGruppe

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<DeviceGruppe>

    public enum DeviceGruppe
    extends java.lang.Enum<DeviceGruppe>
    Hilfsklasse fuer echte AEntry Device und Unterklassen. Devicegruppen sind hart kodiert. Bei neuen Devicegruppen muss die Source angepasst werden (einfach und so praktischer, da als EntwicklungsZeitKonzept gebraucht). Bitte danach DevicegruppenTest erfolgreich laufen lassen.
    Version:
    1.0.0
    Author:
    ws
    • Field Detail

      • tabId

        public final java.lang.String tabId
      • isLegalDeviceGruppe

        public final boolean isLegalDeviceGruppe
    • Method Detail

      • values

        public static DeviceGruppe[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (DeviceGruppe c : DeviceGruppe.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DeviceGruppe valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getByDgNr

        public static final DeviceGruppe getByDgNr​(int dgNr)
      • getDevGrNr

        public final int getDevGrNr()
      • getMaschine

        public Maschine getMaschine()
        Returns:
        die GERATENE (per Konvention Name faengt mit Maschine.name() an) Maschine spaeter vielleicht aus Tabelle
      • getMaschinenGleicherBasisXML

        public java.util.List<Maschine> getMaschinenGleicherBasisXML()
        FRAMEWORK USE ONLY
        Idee: besserer Default fuer enable'te Maschinen im MaschinenMgr
        Returns:
        alle Devises mit gleicher BasisTabId tun ihre geratene Maschine in die liste