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

Quick Search    Search Deep

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

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

public class Competition
extends BaseObject

Description of the Class


Field Summary
private  Country country
           
private  int countryId
           
private  java.sql.Date date
           
private  java.lang.String name
           
private  java.lang.String shortName
           
private  java.lang.String type
           
 
Fields inherited from class org.fencedb.base.BaseObject
 
Constructor Summary
Competition()
          Constructor for the Competition object
Competition(java.lang.String name, java.lang.String shortName, java.sql.Date date, Country country, int countryId, java.lang.String type)
          Constructor for the Competition object
 
Method Summary
 Country getCountry()
          Gets the country attribute of the Competition object
 int getCountryId()
          Gets the countryId attribute of the Competition object
 java.sql.Date getDate()
          Gets the date attribute of the Competition object
 java.lang.String getName()
          Gets the name attribute of the Competition object
 java.lang.String getShortName()
          Gets the shortName attribute of the Competition object
 java.lang.String getType()
          Gets the type attribute of the Competition object
 void setCountry(Country country)
          Sets the country attribute of the Competition object
 void setCountryId(int countryId)
          Sets the countryId attribute of the Competition object
 void setDate(java.sql.Date date)
          Sets the date attribute of the Competition object
 void setName(java.lang.String name)
          Sets the name attribute of the Competition object
 void setShortName(java.lang.String shortName)
          Sets the shortName attribute of the Competition object
 void setType(java.lang.String type)
          Sets the type attribute of the Competition 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

name

private java.lang.String name

shortName

private java.lang.String shortName

date

private java.sql.Date date

country

private Country country

countryId

private int countryId

type

private java.lang.String type
Constructor Detail

Competition

public Competition()
Constructor for the Competition object


Competition

public Competition(java.lang.String name,
                   java.lang.String shortName,
                   java.sql.Date date,
                   Country country,
                   int countryId,
                   java.lang.String type)
Constructor for the Competition object

Method Detail

setName

public void setName(java.lang.String name)
Sets the name attribute of the Competition object


setShortName

public void setShortName(java.lang.String shortName)
Sets the shortName attribute of the Competition object


setDate

public void setDate(java.sql.Date date)
Sets the date attribute of the Competition object


setCountry

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


setCountryId

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


setType

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


getName

public java.lang.String getName()
Gets the name attribute of the Competition object


getShortName

public java.lang.String getShortName()
Gets the shortName attribute of the Competition object


getDate

public java.sql.Date getDate()
Gets the date attribute of the Competition object


getCountry

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


getCountryId

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


getType

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