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

Quick Search    Search Deep

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

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

public class Fencer
extends BaseObject

Description of the Class


Field Summary
private  java.sql.Date birthDate
           
private  Club club
           
private  int clubId
           
private  Country country
           
private  int countryId
           
private  java.lang.String firstName
           
private  java.lang.String hand
           
static java.lang.String HandLeft
          This will not be displayed in the UI, rather they will be inserted into the database
static java.lang.String HandRight
          This will not be displayed in the UI, rather they will be inserted into the database
static java.lang.String HandUnknown
          This will not be displayed in the UI, rather they will be inserted into the database
private  int height
          We use metric system units here
private  java.lang.String lastName
           
private  java.lang.String weapon
           
static java.lang.String WeaponEpee
          This will not be displayed in the UI, rather they will be inserted into the database
static java.lang.String WeaponFoil
          This will not be displayed in the UI, rather they will be inserted into the database
static java.lang.String WeaponSabre
          This will not be displayed in the UI, rather they will be inserted into the database
static java.lang.String WeaponUnknown
          This will not be displayed in the UI, rather they will be inserted into the database
private  int weight
          We use metric system units here
 
Fields inherited from class org.fencedb.base.BaseObject
 
Constructor Summary
Fencer()
          Constructor for the Fencer object
Fencer(java.lang.String firstName, java.lang.String lastName, java.sql.Date birthDate, java.lang.String hand, int height, int weight, Club club, int clubId, Country country, int countryId, java.lang.String weapon)
          Constructor for the Fencer object
 
Method Summary
 java.sql.Date getBirthDate()
          Gets the birthDate attribute of the Fencer object
 Club getClub()
          Gets the club attribute of the Fencer object
 int getClubId()
          Gets the clubId attribute of the Fencer object
 java.util.List getCompetitionResults()
          Gets all competition results for this fencer.
 Country getCountry()
          Gets the country attribute of the Fencer object
 int getCountryId()
          Gets the countryId attribute of the Fencer object
 java.lang.String getFirstName()
          Gets the firstName attribute of the Fencer object
 java.lang.String getHand()
          Gets the hand attribute of the Fencer object
 int getHeight()
          Gets the height attribute of the Fencer object
 java.lang.String getLastName()
          Gets the lastName attribute of the Fencer object
 java.lang.String getWeapon()
          Gets the weapon attribute of the Fencer object
 int getWeight()
          Gets the weight attribute of the Fencer object
 void setBirthDate(java.sql.Date birthDate)
          Sets the birthDate attribute of the Fencer object
 void setClub(Club club)
          Sets the club attribute of the Fencer object
 void setClubId(int clubId)
          Sets the clubId attribute of the Fencer object
 void setCountry(Country country)
          Sets the country attribute of the Fencer object
 void setCountryId(int countryId)
          Sets the countryId attribute of the Fencer object
 void setFirstName(java.lang.String firstName)
          Sets the firstName attribute of the Fencer object
 void setHand(java.lang.String hand)
          Sets the hand attribute of the Fencer object
 void setHeight(int height)
          Sets the height attribute of the Fencer object
 void setLastName(java.lang.String lastName)
          Sets the lastName attribute of the Fencer object
 void setWeapon(java.lang.String weapon)
          Sets the weapon attribute of the Fencer object
 void setWeight(int weight)
          Sets the weight attribute of the Fencer object
 java.lang.String toString()
          Description of the Method
 
Methods inherited from class org.fencedb.base.BaseObject
getBaseId, setBaseId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

HandLeft

public static final java.lang.String HandLeft
This will not be displayed in the UI, rather they will be inserted into the database

See Also:
Constant Field Values

HandRight

public static final java.lang.String HandRight
This will not be displayed in the UI, rather they will be inserted into the database

See Also:
Constant Field Values

HandUnknown

public static final java.lang.String HandUnknown
This will not be displayed in the UI, rather they will be inserted into the database

See Also:
Constant Field Values

WeaponEpee

public static final java.lang.String WeaponEpee
This will not be displayed in the UI, rather they will be inserted into the database

See Also:
Constant Field Values

WeaponFoil

public static final java.lang.String WeaponFoil
This will not be displayed in the UI, rather they will be inserted into the database

See Also:
Constant Field Values

WeaponSabre

public static final java.lang.String WeaponSabre
This will not be displayed in the UI, rather they will be inserted into the database

See Also:
Constant Field Values

WeaponUnknown

public static final java.lang.String WeaponUnknown
This will not be displayed in the UI, rather they will be inserted into the database

See Also:
Constant Field Values

firstName

private java.lang.String firstName

lastName

private java.lang.String lastName

birthDate

private java.sql.Date birthDate

hand

private java.lang.String hand

height

private int height
We use metric system units here


weight

private int weight
We use metric system units here


club

private Club club

clubId

private int clubId

country

private Country country

countryId

private int countryId

weapon

private java.lang.String weapon
Constructor Detail

Fencer

public Fencer()
Constructor for the Fencer object


Fencer

public Fencer(java.lang.String firstName,
              java.lang.String lastName,
              java.sql.Date birthDate,
              java.lang.String hand,
              int height,
              int weight,
              Club club,
              int clubId,
              Country country,
              int countryId,
              java.lang.String weapon)
Constructor for the Fencer object

Method Detail

setFirstName

public void setFirstName(java.lang.String firstName)
Sets the firstName attribute of the Fencer object


setLastName

public void setLastName(java.lang.String lastName)
Sets the lastName attribute of the Fencer object


setBirthDate

public void setBirthDate(java.sql.Date birthDate)
Sets the birthDate attribute of the Fencer object


setHand

public void setHand(java.lang.String hand)
Sets the hand attribute of the Fencer object


setHeight

public void setHeight(int height)
Sets the height attribute of the Fencer object


setWeight

public void setWeight(int weight)
Sets the weight attribute of the Fencer object


setClub

public void setClub(Club club)
Sets the club attribute of the Fencer object


setClubId

public void setClubId(int clubId)
Sets the clubId attribute of the Fencer object


setCountry

public void setCountry(Country country)
Sets the country attribute of the Fencer object


setCountryId

public void setCountryId(int countryId)
Sets the countryId attribute of the Fencer object


setWeapon

public void setWeapon(java.lang.String weapon)
Sets the weapon attribute of the Fencer object


getFirstName

public java.lang.String getFirstName()
Gets the firstName attribute of the Fencer object


getLastName

public java.lang.String getLastName()
Gets the lastName attribute of the Fencer object


getBirthDate

public java.sql.Date getBirthDate()
Gets the birthDate attribute of the Fencer object


getHand

public java.lang.String getHand()
Gets the hand attribute of the Fencer object


getHeight

public int getHeight()
Gets the height attribute of the Fencer object


getWeight

public int getWeight()
Gets the weight attribute of the Fencer object


getClub

public Club getClub()
Gets the club attribute of the Fencer object


getClubId

public int getClubId()
Gets the clubId attribute of the Fencer object


getCountry

public Country getCountry()
Gets the country attribute of the Fencer object


getCountryId

public int getCountryId()
Gets the countryId attribute of the Fencer object


getWeapon

public java.lang.String getWeapon()
Gets the weapon attribute of the Fencer object


toString

public java.lang.String toString()
Description of the Method


getCompetitionResults

public java.util.List getCompetitionResults()
                                     throws org.odmg.QueryException
Gets all competition results for this fencer.