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

Package class diagram package Committee
java.lang.Object
  extended by com.hack23.cia.model.impl.common.BaseEntity
      extended by com.hack23.cia.model.impl.sweden.Committee
All Implemented Interfaces:
Actor, Agent, Data, Group, ModelObject, PersistedModelObject, Resource, CommitteeData, ParliamentGroup, ParliamentImportedData, ParliamentMappedData, Serializable

@Entity
public class Committee
extends BaseEntity
implements CommitteeData

The Class Committee.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.hack23.cia.model.api.sweden.ParliamentImportedData
ParliamentImportedData.ImportStatus
 
Constructor Summary
Committee()
           
 
Method Summary
 void addCommitteeReportData(CommitteeReportData committeeReport)
          Adds the committee report data.
 boolean dataCanBeUpdated()
          Data can be updated.
 boolean generatesParliamentMetaData()
          Generates parliament meta data.
 Role[] getActorRoles()
          Gets the actor roles.
protected  TypeContext getApplicationTypeContext()
          Gets the application group specification.
 Set<CommitteeReport> getCommitteeReports()
          Gets the committee reports.
 Set<CommitteeReportData> getCommitteeReportsData()
          Gets the committee reports data.
 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.
 Set<ParliamentMember> getParliamentMembers()
          Gets the parliament members.
 ParliamentMetaData getParliamentMetaData()
          Gets the parliament meta data.
 ResourceType getResourceType()
          Gets the resource type.
 String getShortCode()
          Gets the short code.
 Long getVersion()
          Gets the version.
 void setActorRoles(Role[] roles)
          Sets the actor roles.
 void setCommitteeReports(Set<CommitteeReport> committeeReports)
          Sets the committee reports.
 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 setParliamentMembers(Set<ParliamentMember> parliamentMembers)
          Sets the parliament members.
 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

Committee

public Committee()
Method Detail

addCommitteeReportData

public void addCommitteeReportData(CommitteeReportData committeeReport)
Description copied from interface: CommitteeData
Adds the committee report data.

Specified by:
addCommitteeReportData in interface CommitteeData
Parameters:
committeeReport - the committee report

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

getActorRoles

public Role[] getActorRoles()
Description copied from interface: Actor
Gets the actor roles.

Specified by:
getActorRoles in interface Actor
Returns:
the actor roles

getCommitteeReports

public Set<CommitteeReport> getCommitteeReports()
Gets the committee reports.

Returns:
the committee reports

getCommitteeReportsData

public Set<CommitteeReportData> getCommitteeReportsData()
Description copied from interface: CommitteeData
Gets the committee reports data.

Specified by:
getCommitteeReportsData in interface CommitteeData
Returns:
the committee reports data

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: 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: Actor
Gets the name.

Specified by:
getName in interface Actor
Returns:
the name

getParliamentMembers

public Set<ParliamentMember> getParliamentMembers()
Gets the parliament members.

Returns:
the parliament members

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

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()
Description copied from interface: CommitteeData
Gets the short code.

Specified by:
getShortCode in interface CommitteeData
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

setActorRoles

public void setActorRoles(Role[] roles)
Description copied from interface: Actor
Sets the actor roles.

Specified by:
setActorRoles in interface Actor
Parameters:
roles - the new actor roles

setCommitteeReports

public void setCommitteeReports(Set<CommitteeReport> committeeReports)
Sets the committee reports.

Parameters:
committeeReports - the new committee reports

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: 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: Actor
Sets the name.

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

setParliamentMembers

public void setParliamentMembers(Set<ParliamentMember> parliamentMembers)
Sets the parliament members.

Parameters:
parliamentMembers - the new parliament members

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: CommitteeData
Sets the short code.

Specified by:
setShortCode in interface CommitteeData
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.