com.hack23.cia.model.api.sweden
Interface VoteData

Package class diagram package VoteData
All Superinterfaces:
Data, ModelObject, ParliamentImportedData, ParliamentMappedData, PersistedModelObject, Resource, Serializable
All Known Implementing Classes:
Vote

public interface VoteData
extends ParliamentImportedData

The Interface VoteData.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.hack23.cia.model.api.sweden.ParliamentImportedData
ParliamentImportedData.ImportStatus
 
Method Summary
 BallotData getBallotData()
          Gets the ballot data.
 Date getDatum()
          Gets the datum.
 ParliamentMemberData getParliamentMemberData()
          Gets the parliament member data.
 VotePosition getPosition()
          Gets the position.
 boolean isWinning()
          Checks if is winning.
 void setBallotData(BallotData ballot)
          Sets the ballot data.
 void setDatum(Date decisionDate)
          Sets the datum.
 void setParliamentMemberData(ParliamentMemberData parliamentMember)
          Sets the parliament member data.
 void setPosition(VotePosition position)
          Sets the position.
 void setVoteParliamentMetaData(VoteMetaDataData voteMetaData)
          Sets the vote parliament meta data.
 
Methods inherited from interface com.hack23.cia.model.api.sweden.ParliamentImportedData
dataCanBeUpdated, generatesParliamentMetaData, getImportedDate, getImportStatus, getParliamentMetaData, setImportedDate, setImportStatus
 
Methods inherited from interface com.hack23.cia.model.api.common.Resource
getResourceType
 
Methods inherited from interface com.hack23.cia.model.api.common.PersistedModelObject
getId, getTypeContext, getVersion, isNew, setId, setVersion
 

Method Detail

getBallotData

BallotData getBallotData()
Gets the ballot data.

Returns:
the ballot data

getDatum

Date getDatum()
Gets the datum.

Returns:
the datum

getParliamentMemberData

ParliamentMemberData getParliamentMemberData()
Gets the parliament member data.

Returns:
the parliament member data

getPosition

VotePosition getPosition()
Gets the position.

Returns:
the position

isWinning

boolean isWinning()
Checks if is winning.

Returns:
true, if is winning

setBallotData

void setBallotData(BallotData ballot)
Sets the ballot data.

Parameters:
ballot - the new ballot data

setDatum

void setDatum(Date decisionDate)
Sets the datum.

Parameters:
decisionDate - the new datum

setParliamentMemberData

void setParliamentMemberData(ParliamentMemberData parliamentMember)
Sets the parliament member data.

Parameters:
parliamentMember - the new parliament member data

setPosition

void setPosition(VotePosition position)
Sets the position.

Parameters:
position - the new position

setVoteParliamentMetaData

void setVoteParliamentMetaData(VoteMetaDataData voteMetaData)
Sets the vote parliament meta data.

Parameters:
voteMetaData - the new vote parliament meta data


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