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

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

public interface VoteData
extends ParliamentMappedData

The Interface VoteData.


Nested Class Summary
Modifier and Type Interface and Description
 
Nested classes/interfaces inherited from interface com.hack23.cia.model.api.sweden.common.ImportedData
ImportedData.ImportStatus
 
Method Summary
Modifier and Type Method and Description
 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.common.ParliamentMappedData
dataCanBeUpdated, generatesParliamentMetaData, getParliamentMetaData
 
Methods inherited from interface com.hack23.cia.model.api.sweden.common.ImportedData
getImportedDate, getImportStatus, 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-2010 www.hack23.com. All Rights Reserved.