com.hack23.cia.model.api.sweden.content
Interface ParliamentMemberBallotRecordData

Package class diagram package ParliamentMemberBallotRecordData
All Superinterfaces:
Data, MetaData, ModelObject, ParliamentMetaData, PersistedModelObject, Resource, Serializable
All Known Implementing Classes:
ParliamentMemberBallotRecord

public interface ParliamentMemberBallotRecordData
extends ParliamentMetaData

The Interface ParliamentMemberBallotRecordData.


Method Summary
 long getOpponent()
          Gets the opponent.
 long getRebel()
          Gets the rebel.
 void newVote(VoteData vote)
          New vote.
 void setOpponent(long l)
          Sets the opponent.
 void setRebel(long l)
          Sets the rebel.
 
Methods inherited from interface com.hack23.cia.model.api.sweden.common.ParliamentMetaData
getCreatedDate
 
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

getOpponent

long getOpponent()
Gets the opponent.

Returns:
the opponent

getRebel

long getRebel()
Gets the rebel.

Returns:
the rebel

newVote

void newVote(VoteData vote)
New vote.

Parameters:
vote - the vote

setOpponent

void setOpponent(long l)
Sets the opponent.

Parameters:
l - the new opponent

setRebel

void setRebel(long l)
Sets the rebel.

Parameters:
l - the new rebel


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