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

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

@Entity
public class RegisterInformation
extends BaseEntity
implements RegisterInformationData

The Class RegisterInformation.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.hack23.cia.model.api.sweden.ParliamentImportedData
ParliamentImportedData.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.
protected  TypeContext getApplicationTypeContext()
          Gets the application group specification.
 String getElectoralArea()
          Gets the electoral area.
 List<String> getHouses()
          Gets the houses.
 Long getId()
          Gets the id.
 Date getImportedDate()
          Gets the imported date.
 ParliamentImportedData.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(ParliamentImportedData.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.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

RegisterInformation

public RegisterInformation()
Method Detail

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

getAgreements

public List<String> getAgreements()
Description copied from interface: RegisterInformationData
Gets the agreements.

Specified by:
getAgreements in interface RegisterInformationData
Returns:
the agreements

getAllowances

public List<String> getAllowances()
Description copied from interface: RegisterInformationData
Gets the allowances.

Specified by:
getAllowances in interface RegisterInformationData
Returns:
the allowances

getElectoralArea

public String getElectoralArea()
Description copied from interface: RegisterInformationData
Gets the electoral area.

Specified by:
getElectoralArea in interface RegisterInformationData
Returns:
the electoral area

getHouses

public List<String> getHouses()
Description copied from interface: RegisterInformationData
Gets the houses.

Specified by:
getHouses in interface RegisterInformationData
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: 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

getIncomeActivity

public List<String> getIncomeActivity()
Description copied from interface: RegisterInformationData
Gets the income activity.

Specified by:
getIncomeActivity in interface RegisterInformationData
Returns:
the income activity

getName

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

Specified by:
getName in interface RegisterInformationData
Returns:
the name

getNothingDeclared

public String getNothingDeclared()
Description copied from interface: RegisterInformationData
Gets the nothing declared.

Specified by:
getNothingDeclared in interface RegisterInformationData
Returns:
the nothing declared

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

getParty

public String getParty()
Description copied from interface: RegisterInformationData
Gets the party.

Specified by:
getParty in interface RegisterInformationData
Returns:
the party

getPublicRoles

public List<String> getPublicRoles()
Description copied from interface: RegisterInformationData
Gets the public roles.

Specified by:
getPublicRoles in interface RegisterInformationData
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()
Description copied from interface: RegisterInformationData
Gets the roles.

Specified by:
getRoles in interface RegisterInformationData
Returns:
the roles

getStocks

public List<String> getStocks()
Description copied from interface: RegisterInformationData
Gets the stocks.

Specified by:
getStocks in interface RegisterInformationData
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)
Description copied from interface: RegisterInformationData
Sets the electoral area.

Specified by:
setElectoralArea in interface RegisterInformationData
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: 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

setIncomeActivity

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

Parameters:
incomeActivity - the new income activity

setName

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

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

setNothingDeclared

public void setNothingDeclared(String nothingDeclared)
Description copied from interface: RegisterInformationData
Sets the nothing declared.

Specified by:
setNothingDeclared in interface RegisterInformationData
Parameters:
nothingDeclared - the new nothing declared

setParty

public void setParty(String party)
Description copied from interface: RegisterInformationData
Sets the party.

Specified by:
setParty in interface RegisterInformationData
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)
Sets the resource type.

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

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.