Class BasicQuality
- java.lang.Object
-
- com.inductiveautomation.ignition.common.model.values.BasicQuality
-
@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
-
-
Constructor Summary
Constructors Constructor Description BasicQuality()Deprecated.For serializationBasicQuality(java.lang.String id, LocalizedString description, Quality.Level severity)Deprecated.BasicQuality(java.lang.String id, Quality.Level severity)Deprecated.BasicQuality(java.lang.String id, java.lang.String descKey, Quality.Level severity)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description LocalizedStringgetDescription()Deprecated.This should be a short (~ 1-2 sentences) human-readable, localized description of what situation this quality represents.Quality.LevelgetLevel()Deprecated.A basic qualitative assertion of whether this "quality" represents a state that is good, bad, or unknown.java.lang.StringgetName()Deprecated.The "Name" of a quality should be a short (~5-50 char) code that identifies this quality.booleanis(Quality other)Deprecated.Basically like equals, but should only compare name and level.booleanisGood()Deprecated.Quick check to see ifgetLevel() == Level.Goodjava.lang.StringtoString()Deprecated.java.lang.StringtoString(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, LocalizedString description, 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:QualityThe "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.
-
getDescription
public LocalizedString getDescription()
Deprecated.Description copied from interface:QualityThis should be a short (~ 1-2 sentences) human-readable, localized description of what situation this quality represents.- Specified by:
getDescriptionin interfaceQuality
-
getLevel
public Quality.Level getLevel()
Deprecated.Description copied from interface:QualityA basic qualitative assertion of whether this "quality" represents a state that is good, bad, or unknown.
-
isGood
public boolean isGood()
Deprecated.Description copied from interface:QualityQuick check to see ifgetLevel() == Level.Good
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toStringin classjava.lang.Object
-
toString
public java.lang.String toString(java.util.Locale locale)
Deprecated.
-
-