net.sf.imca.model.entities
Class BoatEntity

java.lang.Object
  extended by net.sf.imca.model.entities.BoatEntity

public class BoatEntity
extends java.lang.Object

An persistence entity description. There is no logic just getter and setters, for the properties. This Object represents a table in the database and the properties are fields.

Author:
dougculnane

Constructor Summary
BoatEntity()
           
 
Method Summary
 EquipmentSupplierEntity getBuilder()
           
 java.lang.String getDescription()
           
 DesignEntity getDesign()
           
 java.util.Collection<EventEntryEntity> getEventEntries()
           
 java.util.Collection<FoilEntity> getFoils()
           
 int getIcfPlaqueNo()
           
 long getId()
           
 java.lang.String getName()
           
 java.util.Collection<SailNumberEntity> getSailNumbers()
           
 java.util.Collection<SailEntity> getSails()
           
 int getYearBuilt()
           
 void setBuilder(EquipmentSupplierEntity builder)
           
 void setDescription(java.lang.String description)
           
 void setDesign(DesignEntity design)
           
 void setEventEntries(java.util.Collection<EventEntryEntity> eventEntries)
           
 void setFoils(java.util.Collection<FoilEntity> foils)
           
 void setIcfPlaqueNo(int icfPlaqueNo)
           
 void setId(long id)
           
 void setName(java.lang.String name)
           
 void setSailNumbers(java.util.Collection<SailNumberEntity> sailNumbers)
           
 void setSails(java.util.Collection<SailEntity> sails)
           
 void setYearBuilt(int yearBuilt)
           
 java.lang.String toString()
          Override the Object method to give a usable human readable representation of the Object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BoatEntity

public BoatEntity()
Method Detail

getBuilder

public EquipmentSupplierEntity getBuilder()

setBuilder

public void setBuilder(EquipmentSupplierEntity builder)

getDesign

public DesignEntity getDesign()

setDesign

public void setDesign(DesignEntity design)

getId

public long getId()

setId

public void setId(long id)

getYearBuilt

public int getYearBuilt()

setYearBuilt

public void setYearBuilt(int yearBuilt)

getIcfPlaqueNo

public int getIcfPlaqueNo()

setIcfPlaqueNo

public void setIcfPlaqueNo(int icfPlaqueNo)

getEventEntries

public java.util.Collection<EventEntryEntity> getEventEntries()

setEventEntries

public void setEventEntries(java.util.Collection<EventEntryEntity> eventEntries)

getFoils

public java.util.Collection<FoilEntity> getFoils()

setFoils

public void setFoils(java.util.Collection<FoilEntity> foils)

getSails

public java.util.Collection<SailEntity> getSails()

setSails

public void setSails(java.util.Collection<SailEntity> sails)

getSailNumbers

public java.util.Collection<SailNumberEntity> getSailNumbers()

setSailNumbers

public void setSailNumbers(java.util.Collection<SailNumberEntity> sailNumbers)

toString

public java.lang.String toString()
Override the Object method to give a usable human readable representation of the Object.

Overrides:
toString in class java.lang.Object

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)


Copyright © 2007-2008 The International Moth Class Association (IMCA).. All Rights Reserved.