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

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

@Entity
public class CommitteeReport
extends BaseEntity
implements ParliamentData

The Class CommitteeReport.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.hack23.cia.model.sweden.api.ParliamentData
ParliamentData.ImportStatus
 
Constructor Summary
CommitteeReport()
           
 
Method Summary
 boolean dataCanBeUpdated()
          Data can be updated.
 boolean generatesParliamentMetaData()
          Generates parliament meta data.
 List<Ballot> getBallots()
          Gets the ballots.
 Committee getCommittee()
          Gets the committee.
 Date getDecisionDate()
          Gets the decision date.
 String getHref()
          Gets the href.
 Long getId()
          Gets the id.
 Date getImportedDate()
          Gets the imported date.
 ParliamentData.ImportStatus getImportStatus()
          Gets the import status.
 String getName()
          Gets the name.
 ParliamentMetaData getParliamentMetaData()
          Gets the parliament meta data.
 ResourceType getResourceType()
          Gets the resource type.
 Long getVersion()
          Gets the version.
 void setBallots(List<Ballot> ballots)
          Sets the ballots.
 void setCommittee(Committee committee)
          Sets the committee.
 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(ParliamentData.ImportStatus importStatus)
          Sets the import status.
 void setName(String name)
          Sets the name.
 void setResourceType(ResourceType resourceType)
          Sets the resource type.
 void setVersion(Long version)
          Sets the version.
 
Methods inherited from class com.hack23.cia.model.common.impl.BaseEntity
equals, 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.common.api.PersistedModelObject
isNew
 

Constructor Detail

CommitteeReport

public CommitteeReport()
Method Detail

dataCanBeUpdated

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

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

generatesParliamentMetaData

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

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

getBallots

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

Returns:
the ballots

getCommittee

public Committee getCommittee()
Gets the committee.

Returns:
the committee

getDecisionDate

public Date getDecisionDate()
Gets the decision date.

Returns:
the decision date

getHref

public String getHref()
Gets the href.

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: ParliamentData
Gets the imported date.

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

getImportStatus

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

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

getName

public String getName()
Gets the name.

Returns:
the name

getParliamentMetaData

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

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

getResourceType

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

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

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

setDecisionDate

public void setDecisionDate(Date decisionDate)
Sets the decision date.

Parameters:
decisionDate - the new decision date

setHref

public void setHref(String href)
Sets the href.

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: ParliamentData
Sets the imported date.

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

setImportStatus

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

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

setName

public void setName(String name)
Sets the name.

Parameters:
name - the new name

setResourceType

public void setResourceType(ResourceType resourceType)
Description copied from interface: Resource
Sets the resource type.

Specified by:
setResourceType in interface Resource
Parameters:
resourceType - the new resource type

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


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