java.lang.Object
com.inductiveautomation.ignition.common.model.values.BasicQuality
All Implemented Interfaces:
Localized, Quality, Serializable

@Deprecated public class BasicQuality extends Object implements Quality
Deprecated.
Only used for serialization compatibility with old versions.
See Also:
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Deprecated.
      Description copied from interface: Quality
      The "Name" of a quality should be a short (~5-50 char) code that identifies this quality. Should NOT be localized. Treat this like an ID.
      Specified by:
      getName in interface Quality
    • getDescription

      public LocalizedString getDescription()
      Deprecated.
      Description copied from interface: Quality
      This should be a short (~ 1-2 sentences) human-readable, localized description of what situation this quality represents.
      Specified by:
      getDescription in interface Quality
    • getLevel

      public Quality.Level getLevel()
      Deprecated.
      Description copied from interface: Quality
      A basic qualitative assertion of whether this "quality" represents a state that is good, bad, or unknown.
      Specified by:
      getLevel in interface Quality
    • isGood

      public boolean isGood()
      Deprecated.
      Description copied from interface: Quality
      Quick check to see if getLevel() == Level.Good
      Specified by:
      isGood in interface Quality
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object
    • toString

      public String toString(Locale locale)
      Deprecated.
      Specified by:
      toString in interface Localized
    • is

      public boolean is(Quality other)
      Deprecated.
      Description copied from interface: Quality
      Basically like equals, but should only compare name and level.
      Specified by:
      is in interface Quality
    • getQualityCode

      public QualityCode getQualityCode()
      Deprecated.
      Specified by:
      getQualityCode in interface Quality