com.hack23.cia.model.impl.sweden
Class CommitteeReport

Package class diagram package CommitteeReport
java.lang.Object
  extended by com.hack23.cia.model.impl.common.BaseEntity
      extended by com.hack23.cia.model.impl.sweden.CommitteeReport
All Implemented Interfaces:
Data, ModelObject, PersistedModelObject, Resource, CommitteeReportData, ParliamentImportedData, ParliamentMappedData, Serializable

@Entity
public class CommitteeReport
extends BaseEntity
implements CommitteeReportData

The Class CommitteeReport.

See Also:
Serialized Form

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

CommitteeReport

public CommitteeReport()
Method Detail

addBallotData

public void addBallotData(BallotData ballot)
Description copied from interface: CommitteeReportData
Adds the ballot data.

Specified by:
addBallotData in interface CommitteeReportData
Parameters:
ballot - the ballot

dataCanBeUpdated

public boolean dataCanBeUpdated()
Description copied from interface: ParliamentImportedData
Data can be updated.

Specified by:
dataCanBeUpdated in interface ParliamentImportedData
Returns:
true, if successful

generatesParliamentMetaData

public boolean generatesParliamentMetaData()
Description copied from interface: ParliamentImportedData
Generates parliament meta data.

Specified by:
generatesParliamentMetaData in interface ParliamentImportedData
Returns:
true, if successful

getBallots

public List<Ballot> getBallots()
Gets the ballots.

Returns:
the ballots

getBallotsData

public List<BallotData> getBallotsData()
Description copied from interface: CommitteeReportData
Gets the ballots data.

Specified by:
getBallotsData in interface CommitteeReportData
Returns:
the ballots data

getCommittee

public Committee getCommittee()
Gets the committee.

Returns:
the committee

getCommitteeData

public CommitteeData getCommitteeData()
Description copied from interface: CommitteeReportData
Gets the committee data.

Specified by:
getCommitteeData in interface CommitteeReportData
Returns:
the committee data

getDecisionDate

public Date getDecisionDate()
Description copied from interface: CommitteeReportData
Gets the decision date.

Specified by:
getDecisionDate in interface CommitteeReportData
Returns:
the decision date

getHref

public String getHref()
Description copied from interface: CommitteeReportData
Gets the href.

Specified by:
getHref in interface CommitteeReportData
Returns:
the href

getId

public Long getId()
Description copied from class: BaseEntity
Gets the id.

Specified by:
getId in interface PersistedModelObject
Specified by:
getId in class BaseEntity
Returns:
the id

getImportedDate

public Date getImportedDate()
Description copied from interface: ParliamentImportedData
Gets the imported date.

Specified by:
getImportedDate in interface ParliamentImportedData
Returns:
the imported date

getImportStatus

public ParliamentImportedData.ImportStatus getImportStatus()
Description copied from interface: ParliamentImportedData
Gets the import status.

Specified by:
getImportStatus in interface ParliamentImportedData
Returns:
the import status

getName

public String getName()
Description copied from interface: CommitteeReportData
Gets the name.

Specified by:
getName in interface CommitteeReportData
Returns:
the name

getParliamentMetaData

public ParliamentMetaData getParliamentMetaData()
Description copied from interface: ParliamentImportedData
Gets the parliament meta data.

Specified by:
getParliamentMetaData in interface ParliamentImportedData
Returns:
the parliament meta data

getParliamentYear

public ParliamentYear getParliamentYear()
Gets the parliament year.

Returns:
the parliament year

getResourceType

public ResourceType getResourceType()
Description copied from interface: Resource
Gets the resource type.

Specified by:
getResourceType in interface Resource
Returns:
the resource type

getShortCode

public String getShortCode()
Gets the short code.

Returns:
the short code

getVersion

public Long getVersion()
Description copied from class: BaseEntity
Gets the version.

Specified by:
getVersion in interface PersistedModelObject
Specified by:
getVersion in class BaseEntity
Returns:
the version

setBallots

public void setBallots(List<Ballot> ballots)
Sets the ballots.

Parameters:
ballots - the new ballots

setCommittee

public void setCommittee(Committee committee)
Sets the committee.

Parameters:
committee - the new committee

setCommitteeData

public void setCommitteeData(CommitteeData committee)
Description copied from interface: CommitteeReportData
Sets the committee data.

Specified by:
setCommitteeData in interface CommitteeReportData
Parameters:
committee - the new committee data

setDecisionDate

public void setDecisionDate(Date decisionDate)
Description copied from interface: CommitteeReportData
Sets the decision date.

Specified by:
setDecisionDate in interface CommitteeReportData
Parameters:
decisionDate - the new decision date

setHref

public void setHref(String href)
Description copied from interface: CommitteeReportData
Sets the href.

Specified by:
setHref in interface CommitteeReportData
Parameters:
href - the new href

setId

public void setId(Long id)
Description copied from interface: PersistedModelObject
Sets the id.

Specified by:
setId in interface PersistedModelObject
Parameters:
id - the new id

setImportedDate

public void setImportedDate(Date importedDate)
Description copied from interface: ParliamentImportedData
Sets the imported date.

Specified by:
setImportedDate in interface ParliamentImportedData
Parameters:
importedDate - the new imported date

setImportStatus

public void setImportStatus(ParliamentImportedData.ImportStatus importStatus)
Description copied from interface: ParliamentImportedData
Sets the import status.

Specified by:
setImportStatus in interface ParliamentImportedData
Parameters:
importStatus - the new import status

setName

public void setName(String name)
Description copied from interface: CommitteeReportData
Sets the name.

Specified by:
setName in interface CommitteeReportData
Parameters:
name - the new name

setParliamentYear

public void setParliamentYear(ParliamentYear parliamentYear)
Sets the parliament year.

Parameters:
parliamentYear - the new parliament year

setParliamentYearData

public void setParliamentYearData(ParliamentYearData parliamentYear)
Description copied from interface: CommitteeReportData
Sets the parliament year data.

Specified by:
setParliamentYearData in interface CommitteeReportData
Parameters:
parliamentYear - the new parliament year data

setResourceType

public void setResourceType(ResourceType resourceType)
Sets the resource type.

Parameters:
resourceType - the new resource type

setShortCode

public void setShortCode(String shortCode)
Description copied from interface: CommitteeReportData
Sets the short code.

Specified by:
setShortCode in interface CommitteeReportData
Parameters:
shortCode - the new short code

setVersion

public void setVersion(Long version)
Description copied from interface: PersistedModelObject
Sets the version.

Specified by:
setVersion in interface PersistedModelObject
Parameters:
version - the new version

getApplicationTypeContext

protected TypeContext getApplicationTypeContext()
Description copied from class: BaseEntity
Gets the application group specification.

Specified by:
getApplicationTypeContext in class BaseEntity
Returns:
the application group specification


Copyright © 2008-2009 www.hack23.com. All Rights Reserved.