Interface Quality
-
- All Superinterfaces:
Localized,java.io.Serializable
- All Known Implementing Classes:
BasicQuality,DataQuality
@Deprecated public interface Quality extends Localized, java.io.Serializable
Deprecated.Needed for gateway network interop with v7, but otherwise not used.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classQuality.LevelDeprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Default 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.default 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.default QualityCodegetQualityCode()Deprecated.default booleanis(Quality other)Deprecated.Basically like equals, but should only compare name and level.default booleanisGood()Deprecated.Quick check to see ifgetLevel() == Level.Good
-
-
-
Method Detail
-
getName
java.lang.String getName()
Deprecated.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
LocalizedString getDescription()
Deprecated.This should be a short (~ 1-2 sentences) human-readable, localized description of what situation this quality represents.
-
getLevel
default Quality.Level getLevel()
Deprecated.A basic qualitative assertion of whether this "quality" represents a state that is good, bad, or unknown.
-
isGood
default boolean isGood()
Deprecated.Quick check to see ifgetLevel() == Level.Good
-
is
default boolean is(Quality other)
Deprecated.Basically like equals, but should only compare name and level.
-
getQualityCode
default QualityCode getQualityCode()
Deprecated.
-
-