Class GovernmentBodyAnnualOutcomeSummary
java.lang.Object
com.hack23.cia.service.external.esv.api.GovernmentBodyAnnualOutcomeSummary
- All Implemented Interfaces:
Serializable
The Class GovernmentBodyAnnualOutcomeSummary.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGovernmentBodyAnnualOutcomeSummary(String govermentBody, String orgNumber, String ministry, int year) Instantiates a new government body annual outcome summary. -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the data.voidaddDescriptionField(String field, String value) Adds the description field.booleanGets the description fields.Gets the goverment body id.Gets the ministry.Gets the org number.Gets the value map.intgetYear()Gets the year.doubleGets the year total.inthashCode()toString()
-
Constructor Details
-
GovernmentBodyAnnualOutcomeSummary
public GovernmentBodyAnnualOutcomeSummary(String govermentBody, String orgNumber, String ministry, int year) Instantiates a new government body annual outcome summary.- Parameters:
govermentBody- the goverment bodyorgNumber- the org numberministry- the ministryyear- the year
-
-
Method Details
-
getGovermentBody
Gets the goverment body id.- Returns:
- the goverment body id
-
getOrgNumber
Gets the org number.- Returns:
- the org number
-
getYear
public int getYear()Gets the year.- Returns:
- the year
-
getMinistry
Gets the ministry.- Returns:
- the ministry
-
addData
Adds the data.- Parameters:
month- the monthvalue- the value
-
getYearTotal
public double getYearTotal()Gets the year total.- Returns:
- the year total
-
addDescriptionField
Adds the description field.- Parameters:
field- the fieldvalue- the value
-
getValueMap
Gets the value map.- Returns:
- the value map
-
getDescriptionFields
Gets the description fields.- Returns:
- the description fields
-
equals
-
hashCode
public int hashCode() -
toString
-