net.sf.imca.model
Class BoatBO

java.lang.Object
  extended by net.sf.imca.model.BoatBO

public class BoatBO
extends java.lang.Object

Business Object representing the properties, persistence and functionality of the IMCA domain object.

Author:
dougculnane

Constructor Summary
BoatBO(javax.persistence.EntityManager em, org.w3c.dom.NodeList nodeList)
           
 
Method Summary
 BoatEntity getEntity()
          Get the persistence entity.
 void replaceBuilder(javax.persistence.EntityManager em, java.lang.String builderName)
           
 void replaceSailNumber(javax.persistence.EntityManager em, java.lang.String sailNumber)
           
 void setEntity(BoatEntity entity)
          Set the persistence entity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BoatBO

public BoatBO(javax.persistence.EntityManager em,
              org.w3c.dom.NodeList nodeList)
Method Detail

getEntity

public BoatEntity getEntity()
Get the persistence entity.

Returns:
The persistence entity for this Business Object.

setEntity

public void setEntity(BoatEntity entity)
Set the persistence entity.

Parameters:
entity - The new persistence entity for this Business Object.

replaceSailNumber

public void replaceSailNumber(javax.persistence.EntityManager em,
                              java.lang.String sailNumber)

replaceBuilder

public void replaceBuilder(javax.persistence.EntityManager em,
                           java.lang.String builderName)


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