|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hack23.cia.model.impl.common.BaseEntity com.hack23.cia.model.impl.sweden.CommitteeReport
@Entity public class CommitteeReport
The Class CommitteeReport.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.hack23.cia.model.api.sweden.ParliamentImportedData |
---|
ParliamentImportedData.ImportStatus |
Constructor Summary | |
---|---|
CommitteeReport()
|
Method Summary | |
---|---|
void |
addBallotData(BallotData ballot)
Adds the ballot data. |
boolean |
dataCanBeUpdated()
Data can be updated. |
boolean |
generatesParliamentMetaData()
Generates parliament meta data. |
protected TypeContext |
getApplicationTypeContext()
Gets the application group specification. |
List<Ballot> |
getBallots()
Gets the ballots. |
List<BallotData> |
getBallotsData()
Gets the ballots data. |
Committee |
getCommittee()
Gets the committee. |
CommitteeData |
getCommitteeData()
Gets the committee data. |
Date |
getDecisionDate()
Gets the decision date. |
String |
getHref()
Gets the href. |
Long |
getId()
Gets the id. |
Date |
getImportedDate()
Gets the imported date. |
ParliamentImportedData.ImportStatus |
getImportStatus()
Gets the import status. |
String |
getName()
Gets the name. |
ParliamentMetaData |
getParliamentMetaData()
Gets the parliament meta data. |
ParliamentYear |
getParliamentYear()
Gets the parliament year. |
ResourceType |
getResourceType()
Gets the resource type. |
String |
getShortCode()
Gets the short code. |
Long |
getVersion()
Gets the version. |
void |
setBallots(List<Ballot> ballots)
Sets the ballots. |
void |
setCommittee(Committee committee)
Sets the committee. |
void |
setCommitteeData(CommitteeData committee)
Sets the committee data. |
void |
setDecisionDate(Date decisionDate)
Sets the decision date. |
void |
setHref(String href)
Sets the href. |
void |
setId(Long id)
Sets the id. |
void |
setImportedDate(Date importedDate)
Sets the imported date. |
void |
setImportStatus(ParliamentImportedData.ImportStatus importStatus)
Sets the import status. |
void |
setName(String name)
Sets the name. |
void |
setParliamentYear(ParliamentYear parliamentYear)
Sets the parliament year. |
void |
setParliamentYearData(ParliamentYearData parliamentYear)
Sets the parliament year data. |
void |
setResourceType(ResourceType resourceType)
Sets the resource type. |
void |
setShortCode(String shortCode)
Sets the short code. |
void |
setVersion(Long version)
Sets the version. |
Methods inherited from class com.hack23.cia.model.impl.common.BaseEntity |
---|
equals, getTypeContext, hashCode, isNew |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.hack23.cia.model.api.common.PersistedModelObject |
---|
getTypeContext, isNew |
Constructor Detail |
---|
public CommitteeReport()
Method Detail |
---|
public void addBallotData(BallotData ballot)
CommitteeReportData
addBallotData
in interface CommitteeReportData
ballot
- the ballotpublic boolean dataCanBeUpdated()
ParliamentImportedData
dataCanBeUpdated
in interface ParliamentImportedData
public boolean generatesParliamentMetaData()
ParliamentImportedData
generatesParliamentMetaData
in interface ParliamentImportedData
public List<Ballot> getBallots()
public List<BallotData> getBallotsData()
CommitteeReportData
getBallotsData
in interface CommitteeReportData
public Committee getCommittee()
public CommitteeData getCommitteeData()
CommitteeReportData
getCommitteeData
in interface CommitteeReportData
public Date getDecisionDate()
CommitteeReportData
getDecisionDate
in interface CommitteeReportData
public String getHref()
CommitteeReportData
getHref
in interface CommitteeReportData
public Long getId()
BaseEntity
getId
in interface PersistedModelObject
getId
in class BaseEntity
public Date getImportedDate()
ParliamentImportedData
getImportedDate
in interface ParliamentImportedData
public ParliamentImportedData.ImportStatus getImportStatus()
ParliamentImportedData
getImportStatus
in interface ParliamentImportedData
public String getName()
CommitteeReportData
getName
in interface CommitteeReportData
public ParliamentMetaData getParliamentMetaData()
ParliamentImportedData
getParliamentMetaData
in interface ParliamentImportedData
public ParliamentYear getParliamentYear()
public ResourceType getResourceType()
Resource
getResourceType
in interface Resource
public String getShortCode()
public Long getVersion()
BaseEntity
getVersion
in interface PersistedModelObject
getVersion
in class BaseEntity
public void setBallots(List<Ballot> ballots)
ballots
- the new ballotspublic void setCommittee(Committee committee)
committee
- the new committeepublic void setCommitteeData(CommitteeData committee)
CommitteeReportData
setCommitteeData
in interface CommitteeReportData
committee
- the new committee datapublic void setDecisionDate(Date decisionDate)
CommitteeReportData
setDecisionDate
in interface CommitteeReportData
decisionDate
- the new decision datepublic void setHref(String href)
CommitteeReportData
setHref
in interface CommitteeReportData
href
- the new hrefpublic void setId(Long id)
PersistedModelObject
setId
in interface PersistedModelObject
id
- the new idpublic void setImportedDate(Date importedDate)
ParliamentImportedData
setImportedDate
in interface ParliamentImportedData
importedDate
- the new imported datepublic void setImportStatus(ParliamentImportedData.ImportStatus importStatus)
ParliamentImportedData
setImportStatus
in interface ParliamentImportedData
importStatus
- the new import statuspublic void setName(String name)
CommitteeReportData
setName
in interface CommitteeReportData
name
- the new namepublic void setParliamentYear(ParliamentYear parliamentYear)
parliamentYear
- the new parliament yearpublic void setParliamentYearData(ParliamentYearData parliamentYear)
CommitteeReportData
setParliamentYearData
in interface CommitteeReportData
parliamentYear
- the new parliament year datapublic void setResourceType(ResourceType resourceType)
resourceType
- the new resource typepublic void setShortCode(String shortCode)
CommitteeReportData
setShortCode
in interface CommitteeReportData
shortCode
- the new short codepublic void setVersion(Long version)
PersistedModelObject
setVersion
in interface PersistedModelObject
version
- the new versionprotected TypeContext getApplicationTypeContext()
BaseEntity
getApplicationTypeContext
in class BaseEntity
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |