inescID.revs.util
Class Ballot

java.lang.Object
  extended byinescID.revs.util.Ballot
All Implemented Interfaces:
java.io.Serializable

public class Ballot
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
protected  AdministratorElectionAddress[] administrators
           
protected  java.lang.String ballot
           
protected  int election_id
           
protected  byte[] election_key
           
protected  int required_signatures
           
protected  java.util.Vector submit_servers
           
 
Constructor Summary
Ballot(int election, java.lang.String ballot, java.security.Key key, int req_signatures, AdministratorElectionAddress[] administrators, java.util.Vector submit_servers)
           
 
Method Summary
 AdministratorElectionAddress[] getAdministrators()
           
 java.lang.String getBallot()
           
 int getElection()
           
 java.security.Key getElectionKey()
           
 int getRequiredSignatures()
           
 java.util.Vector getSubmitServers()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

election_id

protected int election_id

ballot

protected java.lang.String ballot

election_key

protected byte[] election_key

required_signatures

protected int required_signatures

administrators

protected AdministratorElectionAddress[] administrators

submit_servers

protected java.util.Vector submit_servers
Constructor Detail

Ballot

public Ballot(int election,
              java.lang.String ballot,
              java.security.Key key,
              int req_signatures,
              AdministratorElectionAddress[] administrators,
              java.util.Vector submit_servers)
Method Detail

getElection

public int getElection()

getBallot

public java.lang.String getBallot()

getElectionKey

public java.security.Key getElectionKey()

getRequiredSignatures

public int getRequiredSignatures()

getAdministrators

public AdministratorElectionAddress[] getAdministrators()

getSubmitServers

public java.util.Vector getSubmitServers()