Class GovernmentOperationPeriodOutcome
java.lang.Object
com.hack23.cia.service.external.esv.api.GovernmentOperationPeriodOutcome
- All Implemented Interfaces:
Serializable,Comparable<GovernmentOperationPeriodOutcome>
public final class GovernmentOperationPeriodOutcome
extends Object
implements Comparable<GovernmentOperationPeriodOutcome>, Serializable
The Class GovernmentOperationPeriodOutcome.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe Enum Variables. -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new government operation period outcome. -
Method Summary
Modifier and TypeMethodDescriptionintbooleanGets the observation status.doubleGets the percentage change from previous to latest.doubleGets the percentage change from same period last year to latest.Gets the period.doublegetValue()Gets the value.Gets the variable name.inthashCode()voidsetObservationStatus(String observationStatus) Sets the observation status.voidsetPercentageChangeFromPreviousToLatest(double percentageChangeFromPreviousToLatest) Sets the percentage change from previous to latest.voidsetPercentageChangeFromSamePeriodLastYearToLatest(double percentageChangeFromSamePeriodLastYearToLatest) Sets the percentage change from same period last year to latest.voidSets the period.voidsetValue(double d) Sets the value.voidsetVariableName(String variableName) Sets the variable name.toString()
-
Constructor Details
-
GovernmentOperationPeriodOutcome
public GovernmentOperationPeriodOutcome()Instantiates a new government operation period outcome.
-
-
Method Details
-
getVariableName
Gets the variable name.- Returns:
- the variable name
-
setVariableName
Sets the variable name.- Parameters:
variableName- the new variable name
-
getPeriod
Gets the period.- Returns:
- the period
-
setPeriod
Sets the period.- Parameters:
period- the new period
-
getValue
public double getValue()Gets the value.- Returns:
- the value
-
setValue
public void setValue(double d) Sets the value.- Parameters:
d- the new value
-
getPercentageChangeFromPreviousToLatest
public double getPercentageChangeFromPreviousToLatest()Gets the percentage change from previous to latest.- Returns:
- the percentage change from previous to latest
-
setPercentageChangeFromPreviousToLatest
public void setPercentageChangeFromPreviousToLatest(double percentageChangeFromPreviousToLatest) Sets the percentage change from previous to latest.- Parameters:
percentageChangeFromPreviousToLatest- the new percentage change from previous to latest
-
getPercentageChangeFromSamePeriodLastYearToLatest
public double getPercentageChangeFromSamePeriodLastYearToLatest()Gets the percentage change from same period last year to latest.- Returns:
- the percentage change from same period last year to latest
-
setPercentageChangeFromSamePeriodLastYearToLatest
public void setPercentageChangeFromSamePeriodLastYearToLatest(double percentageChangeFromSamePeriodLastYearToLatest) Sets the percentage change from same period last year to latest.- Parameters:
percentageChangeFromSamePeriodLastYearToLatest- the new percentage change from same period last year to latest
-
getObservationStatus
Gets the observation status.- Returns:
- the observation status
-
setObservationStatus
Sets the observation status.- Parameters:
observationStatus- the new observation status
-
hashCode
public int hashCode() -
toString
-
equals
-
compareTo
- Specified by:
compareToin interfaceComparable<GovernmentOperationPeriodOutcome>
-