net.sf.imca.model.entities
Class SailNumberEntity

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

public class SailNumberEntity
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
SailNumberEntity()
           
 
Method Summary
 java.util.Collection<BoatEntity> getBoats()
           
 long getId()
           
 java.lang.String getSailNumber()
           
 void setBoats(java.util.Collection<BoatEntity> boats)
           
 void setId(long id)
           
 void setSailNumber(java.lang.String sailNumber)
           
 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

SailNumberEntity

public SailNumberEntity()
Method Detail

getId

public long getId()

setId

public void setId(long id)

getSailNumber

public java.lang.String getSailNumber()

setSailNumber

public void setSailNumber(java.lang.String sailNumber)

getBoats

public java.util.Collection<BoatEntity> getBoats()

setBoats

public void setBoats(java.util.Collection<BoatEntity> boats)

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


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