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 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 ifgetLevel() == 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, 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: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.
-
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 interfaceQuality
-
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.
-
isGood
public boolean isGood()
Deprecated.Description copied from interface:Quality
Quick check to see ifgetLevel() == Level.Good
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
toString
public java.lang.String toString(java.util.Locale locale)
Deprecated.
-
-