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

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

@Entity
public class RegisterInformation
extends BaseEntity
implements ParliamentData

The Class RegisterInformation.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.hack23.cia.model.sweden.api.ParliamentData
ParliamentData.ImportStatus
 
Constructor Summary
RegisterInformation()
           
 
Method Summary
 boolean dataCanBeUpdated()
          Data can be updated.
 boolean generatesParliamentMetaData()
          Generates parliament meta data.
 List<String> getAgreements()
          Gets the agreements.
 List<String> getAllowances()
          Gets the allowances.
 String getElectoralArea()
          Gets the electoral area.
 List<String> getHouses()
          Gets the houses.
 Long getId()
          Gets the id.
 Date getImportedDate()
          Gets the imported date.
 ParliamentData.ImportStatus getImportStatus()
          Gets the import status.
 List<String> getIncomeActivity()
          Gets the income activity.
 String getName()
          Gets the name.
 String getNothingDeclared()
          Gets the nothing declared.
 ParliamentMetaData getParliamentMetaData()
          Gets the parliament meta data.
 String getParty()
          Gets the party.
 List<String> getPublicRoles()
          Gets the public roles.
 ResourceType getResourceType()
          Gets the resource type.
 List<String> getRoles()
          Gets the roles.
 List<String> getStocks()
          Gets the stocks.
 Long getVersion()
          Gets the version.
 void setAgreements(List<String> agreements)
          Sets the agreements.
 void setAllowances(List<String> allowances)
          Sets the allowances.
 void setElectoralArea(String electoralArea)
          Sets the electoral area.
 void setHouses(List<String> houses)
          Sets the houses.
 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 setIncomeActivity(List<String> incomeActivity)
          Sets the income activity.
 void setName(String name)
          Sets the name.
 void setNothingDeclared(String nothingDeclared)
          Sets the nothing declared.
 void setParty(String party)
          Sets the party.
 void setPublicRoles(List<String> publicRoles)
          Sets the public roles.
 void setResourceType(ResourceType resourceType)
          Sets the resource type.
 void setRoles(List<String> roles)
          Sets the roles.
 void setStocks(List<String> stocks)
          Sets the stocks.
 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

RegisterInformation

public RegisterInformation()
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

getAgreements

public List<String> getAgreements()
Gets the agreements.

Returns:
the agreements

getAllowances

public List<String> getAllowances()
Gets the allowances.

Returns:
the allowances

getElectoralArea

public String getElectoralArea()
Gets the electoral area.

Returns:
the electoral area

getHouses

public List<String> getHouses()
Gets the houses.

Returns:
the houses

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

getIncomeActivity

public List<String> getIncomeActivity()
Gets the income activity.

Returns:
the income activity

getName

public String getName()
Gets the name.

Returns:
the name

getNothingDeclared

public String getNothingDeclared()
Gets the nothing declared.

Returns:
the nothing declared

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

getParty

public String getParty()
Gets the party.

Returns:
the party

getPublicRoles

public List<String> getPublicRoles()
Gets the public roles.

Returns:
the public roles

getResourceType

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

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

getRoles

public List<String> getRoles()
Gets the roles.

Returns:
the roles

getStocks

public List<String> getStocks()
Gets the stocks.

Returns:
the stocks

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

setAgreements

public void setAgreements(List<String> agreements)
Sets the agreements.

Parameters:
agreements - the new agreements

setAllowances

public void setAllowances(List<String> allowances)
Sets the allowances.

Parameters:
allowances - the new allowances

setElectoralArea

public void setElectoralArea(String electoralArea)
Sets the electoral area.

Parameters:
electoralArea - the new electoral area

setHouses

public void setHouses(List<String> houses)
Sets the houses.

Parameters:
houses - the new houses

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

setIncomeActivity

public void setIncomeActivity(List<String> incomeActivity)
Sets the income activity.

Parameters:
incomeActivity - the new income activity

setName

public void setName(String name)
Sets the name.

Parameters:
name - the new name

setNothingDeclared

public void setNothingDeclared(String nothingDeclared)
Sets the nothing declared.

Parameters:
nothingDeclared - the new nothing declared

setParty

public void setParty(String party)
Sets the party.

Parameters:
party - the new party

setPublicRoles

public void setPublicRoles(List<String> publicRoles)
Sets the public roles.

Parameters:
publicRoles - the new public roles

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

setRoles

public void setRoles(List<String> roles)
Sets the roles.

Parameters:
roles - the new roles

setStocks

public void setStocks(List<String> stocks)
Sets the stocks.

Parameters:
stocks - the new stocks

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.