Klasse ScansConfig

java.lang.Object
org.emau.icmvc.ganimed.ttp.cm2.config.ScansConfig
Alle implementierten Schnittstellen:
Serializable

public class ScansConfig extends Object implements Serializable
Siehe auch:
  • Felddetails

    • DEFAULT_SIZE_LIMIT

      public static final int DEFAULT_SIZE_LIMIT
      Siehe auch:
    • DEFAULT_MANDATORY

      public static final boolean DEFAULT_MANDATORY
      Siehe auch:
  • Konstruktordetails

    • ScansConfig

      public ScansConfig()
      Empty constructor for deserialization.
    • ScansConfig

      public ScansConfig(ScansConfig config)
      Copy constructor.
    • ScansConfig

      public ScansConfig(boolean mandatory, int sizeLimit)
      All fields constructor.
  • Methodendetails

    • capture

      public void capture(ScansConfig config)
    • isMandatory

      public boolean isMandatory()
    • setMandatory

      public void setMandatory(boolean mandatory)
    • getSizeLimit

      public int getSizeLimit()
    • setSizeLimit

      public void setSizeLimit(int sizeLimit)
    • updateUnlockedParts

      public boolean updateUnlockedParts(ScansConfig config)
      Updates the mandatory flag as well as the scan size limit from the given config.
      Parameter:
      config - the config to update from
      Gibt zurück:
      true if the config changed on update
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object