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.QualityQuality.Level
 
- 
 - 
Constructor SummaryConstructors 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 SummaryAll 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.QualityCodegetQualityCode()Deprecated.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.
 
- 
- 
- 
Constructor Detail- 
BasicQualitypublic BasicQuality() Deprecated.For serialization
 - 
BasicQualitypublic BasicQuality(java.lang.String id, Quality.Level severity)Deprecated.
 - 
BasicQualitypublic BasicQuality(java.lang.String id, LocalizedString description, Quality.Level severity)Deprecated.
 - 
BasicQualitypublic BasicQuality(java.lang.String id, java.lang.String descKey, Quality.Level severity)Deprecated.
 
- 
 - 
Method Detail- 
getNamepublic 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.
 - 
getDescriptionpublic 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 interface- Quality
 
 - 
getLevelpublic 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.
 - 
isGoodpublic boolean isGood() Deprecated.Description copied from interface:QualityQuick check to see ifgetLevel() == Level.Good
 - 
toStringpublic java.lang.String toString() Deprecated.- Overrides:
- toStringin class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString(java.util.Locale locale) Deprecated.
 - 
ispublic boolean is(Quality other) Deprecated.Description copied from interface:QualityBasically like equals, but should only compare name and level.
 - 
getQualityCodepublic QualityCode getQualityCode() Deprecated.- Specified by:
- getQualityCodein interface- Quality
 
 
- 
 
-