Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.fencedb.base
Class Bout  view Bout download Bout.java

java.lang.Object
  extended byorg.fencedb.base.BaseObject
      extended byorg.fencedb.base.Bout
All Implemented Interfaces:
java.io.Serializable

public class Bout
extends BaseObject

Description of the Class


Field Summary
private  Competition competition
           
private  int competitionId
           
private  Fencer fencer1
           
private  int fencer1Id
           
private  Fencer fencer2
           
private  int fencer2Id
           
private  int score1
           
private  int score2
           
private  java.lang.String type
           
 
Fields inherited from class org.fencedb.base.BaseObject
 
Constructor Summary
Bout()
          Constructor for the Bout object
Bout(Competition competition, int competitionId, Fencer fencer1, int fencer1Id, Fencer fencer2, int fencer2Id, int score1, int score2, java.lang.String type)
          Constructor for the Bout object
 
Method Summary
 Competition getCompetition()
          Gets the competition attribute of the Bout object
 int getCompetitionId()
          Gets the competitionId attribute of the Bout object
 Fencer getFencer1()
          Gets the fencer1 attribute of the Bout object
 int getFencer1Id()
          Gets the fencer1Id attribute of the Bout object
 Fencer getFencer2()
          Gets the fencer2 attribute of the Bout object
 int getFencer2Id()
          Gets the fencer2Id attribute of the Bout object
 int getScore1()
          Gets the score1 attribute of the Bout object
 int getScore2()
          Gets the score2 attribute of the Bout object
 java.lang.String getType()
          Gets the type attribute of the Bout object
 Fencer getWinner()
          Gets the winner attribute of the Bout object
 int getWinningScore()
          Gets the winningScore attribute of the Bout object
 void setCompetition(Competition competition)
          Sets the competition attribute of the Bout object
 void setCompetitionId(int competitionId)
          Sets the competitionId attribute of the Bout object
 void setFencer1(Fencer fencer1)
          Sets the fencer1 attribute of the Bout object
 void setFencer1Id(int fencer1Id)
          Sets the fencer1Id attribute of the Bout object
 void setFencer2(Fencer fencer2)
          Sets the fencer2 attribute of the Bout object
 void setFencer2Id(int fencer2Id)
          Sets the fencer2Id attribute of the Bout object
 void setScore1(int score1)
          Sets the score1 attribute of the Bout object
 void setScore2(int score2)
          Sets the score2 attribute of the Bout object
 void setType(java.lang.String type)
          Sets the type attribute of the Bout object
 
Methods inherited from class org.fencedb.base.BaseObject
getBaseId, setBaseId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

competition

private Competition competition

competitionId

private int competitionId

fencer1

private Fencer fencer1

fencer1Id

private int fencer1Id

fencer2

private Fencer fencer2

fencer2Id

private int fencer2Id

score1

private int score1

score2

private int score2

type

private java.lang.String type
Constructor Detail

Bout

public Bout()
Constructor for the Bout object


Bout

public Bout(Competition competition,
            int competitionId,
            Fencer fencer1,
            int fencer1Id,
            Fencer fencer2,
            int fencer2Id,
            int score1,
            int score2,
            java.lang.String type)
Constructor for the Bout object

Method Detail

setCompetition

public void setCompetition(Competition competition)
Sets the competition attribute of the Bout object


setCompetitionId

public void setCompetitionId(int competitionId)
Sets the competitionId attribute of the Bout object


setFencer1

public void setFencer1(Fencer fencer1)
Sets the fencer1 attribute of the Bout object


setFencer1Id

public void setFencer1Id(int fencer1Id)
Sets the fencer1Id attribute of the Bout object


setFencer2

public void setFencer2(Fencer fencer2)
Sets the fencer2 attribute of the Bout object


setFencer2Id

public void setFencer2Id(int fencer2Id)
Sets the fencer2Id attribute of the Bout object


setScore1

public void setScore1(int score1)
Sets the score1 attribute of the Bout object


setScore2

public void setScore2(int score2)
Sets the score2 attribute of the Bout object


setType

public void setType(java.lang.String type)
Sets the type attribute of the Bout object


getCompetition

public Competition getCompetition()
Gets the competition attribute of the Bout object


getCompetitionId

public int getCompetitionId()
Gets the competitionId attribute of the Bout object


getFencer1

public Fencer getFencer1()
Gets the fencer1 attribute of the Bout object


getFencer1Id

public int getFencer1Id()
Gets the fencer1Id attribute of the Bout object


getFencer2

public Fencer getFencer2()
Gets the fencer2 attribute of the Bout object


getFencer2Id

public int getFencer2Id()
Gets the fencer2Id attribute of the Bout object


getScore1

public int getScore1()
Gets the score1 attribute of the Bout object


getScore2

public int getScore2()
Gets the score2 attribute of the Bout object


getType

public java.lang.String getType()
Gets the type attribute of the Bout object


getWinner

public Fencer getWinner()
Gets the winner attribute of the Bout object


getWinningScore

public int getWinningScore()
Gets the winningScore attribute of the Bout object