Class BasicQuality

  • All Implemented Interfaces:
    Localized, Quality, java.io.Serializable

    @Deprecated
    public class BasicQuality
    extends java.lang.Object
    implements Quality
    Deprecated.
    Only used for serialization compatibility with old versions.
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.inductiveautomation.ignition.common.model.values.Quality

        Quality.Level
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      LocalizedString getDescription()
      Deprecated.
      This should be a short (~ 1-2 sentences) human-readable, localized description of what situation this quality represents.
      Quality.Level getLevel()
      Deprecated.
      A basic qualitative assertion of whether this "quality" represents a state that is good, bad, or unknown.
      java.lang.String getName()
      Deprecated.
      The "Name" of a quality should be a short (~5-50 char) code that identifies this quality.
      boolean is​(Quality other)
      Deprecated.
      Basically like equals, but should only compare name and level.
      boolean isGood()
      Deprecated.
      Quick check to see if getLevel() == Level.Good
      java.lang.String toString()
      Deprecated.
       
      java.lang.String toString​(java.util.Locale locale)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface com.inductiveautomation.ignition.common.model.values.Quality

        getQualityCode
    • Constructor Detail

      • BasicQuality

        public BasicQuality()
        Deprecated.
        For serialization
      • BasicQuality

        public BasicQuality​(java.lang.String id,
                            Quality.Level severity)
        Deprecated.
      • BasicQuality

        public BasicQuality​(java.lang.String id,
                            java.lang.String descKey,
                            Quality.Level severity)
        Deprecated.
    • Method Detail

      • getName

        public java.lang.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 java.lang.String toString()
        Deprecated.
        Overrides:
        toString in class java.lang.Object
      • toString

        public java.lang.String toString​(java.util.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