public class SosQuality extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SosQuality.QualityType
quality type
|
Modifier and Type | Field and Description |
---|---|
private SosQuality.QualityType |
qualityType
type of the quality object
|
private String |
resultName
name of the result value
|
private String |
resultUnit
unit of the result value
|
private String |
resultValue
value of the quality result
|
Constructor and Description |
---|
SosQuality(String resultName,
String resultUnit,
String resultValue,
SosQuality.QualityType qualityType)
constructor
|
Modifier and Type | Method and Description |
---|---|
SosQuality.QualityType |
getQualityType()
Get quality type
|
String |
getResultName()
Get name
|
String |
getResultUnit()
Get unit
|
String |
getResultValue()
Get value
|
void |
setQualityType(SosQuality.QualityType qualityType)
Set quality type
|
void |
setResultName(String resultName)
Set name
|
void |
setResultUnit(String resultValueUnit)
Set unit
|
void |
setResultValue(String resultValue)
Set value
|
private String resultName
private String resultUnit
private String resultValue
private SosQuality.QualityType qualityType
public SosQuality(String resultName, String resultUnit, String resultValue, SosQuality.QualityType qualityType)
resultName
- Result nameresultUnit
- Result unitresultValue
- Result valuequalityType
- Quality typepublic String getResultValue()
public void setResultValue(String resultValue)
resultValue
- the resultValue to setpublic String getResultName()
public void setResultName(String resultName)
resultName
- the resultName to setpublic String getResultUnit()
public void setResultUnit(String resultValueUnit)
resultValueUnit
- the resultValueUnit to setpublic SosQuality.QualityType getQualityType()
public void setQualityType(SosQuality.QualityType qualityType)
qualityType
- the qualityType to setCopyright © 2012-2014 52north.org. All Rights Reserved.