inescID.revs.util
Class Election

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

public class Election
extends IdDescription
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
(package private)  java.lang.String ballot
           
(package private)  int id_configuration
           
(package private)  int id_voters_group
           
(package private)  byte[] key
           
 
Fields inherited from class inescID.revs.util.IdDescription
description, id
 
Constructor Summary
Election()
           
Election(int Id_Election, java.lang.String Description, int Id_VotersGroup, int Id_Configuration)
           
Election(int Id_Election, java.lang.String Description, int Id_VotersGroup, int Id_Configuration, byte[] key, java.lang.String Ballot)
           
Election(int Id_Election, java.lang.String Description, int Id_VotersGroup, int Id_Configuration, java.security.Key key, java.lang.String Ballot)
           
 
Method Summary
 java.lang.String GetBallot()
           
 int GetIdConfiguration()
           
 int GetIdVotersGroup()
           
 byte[] GetKey()
           
 java.security.Key GetPrivateKey()
           
 java.security.Key GetPublicKey()
           
 void SetBallot(java.lang.String Ballot)
           
 void SetConfiguration(int Id_Configuration)
           
 void SetIdVotersGroup(int Id_VotersGroup)
           
 void SetKey(byte[] key)
           
 void SetKey(java.security.Key key)
           
 
Methods inherited from class inescID.revs.util.IdDescription
GetDescription, GetId, SetDescription, SetId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id_voters_group

int id_voters_group

id_configuration

int id_configuration

key

byte[] key

ballot

java.lang.String ballot
Constructor Detail

Election

public Election()

Election

public Election(int Id_Election,
                java.lang.String Description,
                int Id_VotersGroup,
                int Id_Configuration,
                java.security.Key key,
                java.lang.String Ballot)

Election

public Election(int Id_Election,
                java.lang.String Description,
                int Id_VotersGroup,
                int Id_Configuration,
                byte[] key,
                java.lang.String Ballot)

Election

public Election(int Id_Election,
                java.lang.String Description,
                int Id_VotersGroup,
                int Id_Configuration)
Method Detail

SetConfiguration

public void SetConfiguration(int Id_Configuration)

GetIdConfiguration

public int GetIdConfiguration()

SetIdVotersGroup

public void SetIdVotersGroup(int Id_VotersGroup)

GetIdVotersGroup

public int GetIdVotersGroup()

SetKey

public void SetKey(java.security.Key key)

SetKey

public void SetKey(byte[] key)

GetPublicKey

public java.security.Key GetPublicKey()

GetPrivateKey

public java.security.Key GetPrivateKey()

GetKey

public byte[] GetKey()

SetBallot

public void SetBallot(java.lang.String Ballot)

GetBallot

public java.lang.String GetBallot()