|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcom.hack23.cia.model.impl.common.BaseEntity
com.hack23.cia.model.impl.sweden.Vote
@Entity public class Vote
The Class Vote.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.hack23.cia.model.api.sweden.ParliamentImportedData |
|---|
ParliamentImportedData.ImportStatus |
| Constructor Summary | |
|---|---|
Vote()
|
|
| Method Summary | |
|---|---|
boolean |
dataCanBeUpdated()
Data can be updated. |
boolean |
generatesParliamentMetaData()
Generates parliament meta data. |
protected TypeContext |
getApplicationTypeContext()
Gets the application group specification. |
Ballot |
getBallot()
Gets the ballot. |
BallotData |
getBallotData()
Gets the ballot data. |
Date |
getDatum()
Gets the datum. |
Long |
getId()
Gets the id. |
Date |
getImportedDate()
Gets the imported date. |
ParliamentImportedData.ImportStatus |
getImportStatus()
Gets the import status. |
ParliamentMember |
getParliamentMember()
Gets the parliament member. |
ParliamentMemberData |
getParliamentMemberData()
Gets the parliament member data. |
ParliamentMetaData |
getParliamentMetaData()
Gets the parliament meta data. |
VotePosition |
getPosition()
Gets the position. |
ResourceType |
getResourceType()
Gets the resource type. |
Long |
getVersion()
Gets the version. |
VoteMetaData |
getVoteMetaData()
Gets the vote meta data. |
boolean |
isRebel()
Checks if is rebel. |
boolean |
isWinning()
Checks if is winning. |
void |
setBallot(Ballot ballot)
Sets the ballot. |
void |
setBallotData(BallotData ballot)
Sets the ballot data. |
void |
setDatum(Date datum)
Sets the datum. |
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 |
setParliamentMember(ParliamentMember parliamentMember)
Sets the parliament member. |
void |
setParliamentMemberData(ParliamentMemberData parliamentMember)
Sets the parliament member data. |
void |
setPosition(VotePosition position)
Sets the position. |
void |
setResourceType(ResourceType resourceType)
Sets the resource type. |
void |
setVersion(Long version)
Sets the version. |
void |
setVoteMetaData(VoteMetaData voteMetaData)
Sets the vote meta data. |
void |
setVoteParliamentMetaData(VoteMetaDataData voteMetaData)
Sets the vote parliament meta data. |
| 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 |
|---|
public Vote()
| Method Detail |
|---|
public boolean dataCanBeUpdated()
ParliamentImportedData
dataCanBeUpdated in interface ParliamentImportedDatapublic boolean generatesParliamentMetaData()
ParliamentImportedData
generatesParliamentMetaData in interface ParliamentImportedDatapublic Ballot getBallot()
public BallotData getBallotData()
VoteData
getBallotData in interface VoteDatapublic Date getDatum()
VoteData
getDatum in interface VoteDatapublic Long getId()
BaseEntity
getId in interface PersistedModelObjectgetId in class BaseEntitypublic Date getImportedDate()
ParliamentImportedData
getImportedDate in interface ParliamentImportedDatapublic ParliamentImportedData.ImportStatus getImportStatus()
ParliamentImportedData
getImportStatus in interface ParliamentImportedDatapublic ParliamentMember getParliamentMember()
public ParliamentMemberData getParliamentMemberData()
VoteData
getParliamentMemberData in interface VoteDatapublic ParliamentMetaData getParliamentMetaData()
ParliamentImportedData
getParliamentMetaData in interface ParliamentImportedDatapublic VotePosition getPosition()
VoteData
getPosition in interface VoteDatapublic ResourceType getResourceType()
Resource
getResourceType in interface Resourcepublic Long getVersion()
BaseEntity
getVersion in interface PersistedModelObjectgetVersion in class BaseEntitypublic VoteMetaData getVoteMetaData()
public boolean isRebel()
public boolean isWinning()
VoteData
isWinning in interface VoteDatapublic void setBallot(Ballot ballot)
ballot - the new ballotpublic void setBallotData(BallotData ballot)
VoteData
setBallotData in interface VoteDataballot - the new ballot datapublic void setDatum(Date datum)
VoteData
setDatum in interface VoteDatadatum - the new datumpublic void setId(Long id)
PersistedModelObject
setId in interface PersistedModelObjectid - the new idpublic void setImportedDate(Date importedDate)
ParliamentImportedData
setImportedDate in interface ParliamentImportedDataimportedDate - the new imported datepublic void setImportStatus(ParliamentImportedData.ImportStatus importStatus)
ParliamentImportedData
setImportStatus in interface ParliamentImportedDataimportStatus - the new import statuspublic void setParliamentMember(ParliamentMember parliamentMember)
parliamentMember - the new parliament memberpublic void setParliamentMemberData(ParliamentMemberData parliamentMember)
VoteData
setParliamentMemberData in interface VoteDataparliamentMember - the new parliament member datapublic void setPosition(VotePosition position)
VoteData
setPosition in interface VoteDataposition - the new positionpublic void setResourceType(ResourceType resourceType)
resourceType - the new resource typepublic void setVersion(Long version)
PersistedModelObject
setVersion in interface PersistedModelObjectversion - the new versionpublic void setVoteMetaData(VoteMetaData voteMetaData)
voteMetaData - the new vote meta datapublic void setVoteParliamentMetaData(VoteMetaDataData voteMetaData)
VoteData
setVoteParliamentMetaData in interface VoteDatavoteMetaData - the new vote parliament meta dataprotected TypeContext getApplicationTypeContext()
BaseEntity
getApplicationTypeContext in class BaseEntity
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||