Rakesh API

biz.wedoit4u.ejb.entity
Class SitePropertyBean

java.lang.Object
  extended by biz.wedoit4u.ejb.entity.EntityBeanAdapter
      extended by biz.wedoit4u.ejb.entity.SitePropertyBean
All Implemented Interfaces:
java.io.Serializable, javax.ejb.EnterpriseBean, javax.ejb.EntityBean

public abstract class SitePropertyBean
extends EntityBeanAdapter

The implementation of the entity bean representing a record in the site_propertiess table.

Copyright 2003, Rakesh Vidyadharan

Version:
$Id: SitePropertyBean.java,v 1.2 2004/05/26 11:42:35 rakesh Exp $
Author:
Rakesh Vidyadharan on 25th October 2003
See Also:
Serialized Form

Constructor Summary
SitePropertyBean()
           
 
Method Summary
 java.lang.Integer ejbCreate(int customerId, int topRail, int leftRail, int rightRail, int bottomRail, java.lang.String header, java.lang.String footer)
          Create a new site_properties record.
 void ejbPostCreate(int customerId, int topRail, int leftRail, int rightRail, int bottomRail, java.lang.String header, java.lang.String footer)
          Mandatory post create method for ejbCreate( int, int, int, int, int, String, String ).
abstract  int getBottomRail()
          Return the value in the bottom_rail column.
abstract  int getCustomerId()
          Return the value in the site_properties_id column.
abstract  java.lang.String getFooter()
          Return the value in the footer column.
abstract  java.lang.String getHeader()
          Return the value in the header column.
abstract  int getLeftRail()
          Return the value in the left_rail column.
abstract  int getRightRail()
          Return the value in the right_rail column.
abstract  int getTopRail()
          Return the value in the top_rail column.
abstract  void setBottomRail(int bottomRail)
          Set the value in the bottom_rail column.
abstract  void setCustomerId(int customerId)
          Set the value in the site_properties_id column.
abstract  void setFooter(java.lang.String footer)
          Set the value in the footer column.
abstract  void setHeader(java.lang.String header)
          Set the value in the header column.
abstract  void setLeftRail(int leftRail)
          Set the value in the left_rail column.
abstract  void setRightRail(int rightRail)
          Set the value in the right_rail column.
abstract  void setTopRail(int topRail)
          Set the value in the top_rail column.
 
Methods inherited from class biz.wedoit4u.ejb.entity.EntityBeanAdapter
ejbActivate, ejbLoad, ejbPassivate, ejbRemove, ejbStore, setEntityContext, unsetEntityContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SitePropertyBean

public SitePropertyBean()
Method Detail

ejbCreate

public java.lang.Integer ejbCreate(int customerId,
                                   int topRail,
                                   int leftRail,
                                   int rightRail,
                                   int bottomRail,
                                   java.lang.String header,
                                   java.lang.String footer)
                            throws javax.ejb.CreateException
Create a new site_properties record.

Parameters:
customerId - - The customer_id value.
topRail - - The top_rail value.
leftRail - - The left_rail value.
rightRail - - The right_rail value.
bottomRail - - The bottom_rail value.
header - - The header value.
footer - - The footer value.
Returns:
SiteProperty - An entity bean representing the new record.
Throws:
javax.ejb.CreateException - - If errors are encountered while creating the new record.

ejbPostCreate

public void ejbPostCreate(int customerId,
                          int topRail,
                          int leftRail,
                          int rightRail,
                          int bottomRail,
                          java.lang.String header,
                          java.lang.String footer)
                   throws javax.ejb.CreateException
Mandatory post create method for ejbCreate( int, int, int, int, int, String, String ). No special post processing is required.

Parameters:
customerId - - The customer_id value.
topRail - - The top_rail value.
leftRail - - The left_rail value.
rightRail - - The right_rail value.
bottomRail - - The bottom_rail value.
header - - The header value.
footer - - The footer value.
Throws:
javax.ejb.CreateException - - If errors are encountered while creating the new record.

getCustomerId

public abstract int getCustomerId()
Return the value in the site_properties_id column.

Returns:
int - The value in the column.

setCustomerId

public abstract void setCustomerId(int customerId)
Set the value in the site_properties_id column.

Parameters:
customerId - - The value to set.

getTopRail

public abstract int getTopRail()
Return the value in the top_rail column.

Returns:
int - The value in the column.

setTopRail

public abstract void setTopRail(int topRail)
Set the value in the top_rail column.

Parameters:
topRail - - The value to set.

getLeftRail

public abstract int getLeftRail()
Return the value in the left_rail column.

Returns:
int - The value in the column.

setLeftRail

public abstract void setLeftRail(int leftRail)
Set the value in the left_rail column.

Parameters:
leftRail - - The value to set.

getRightRail

public abstract int getRightRail()
Return the value in the right_rail column.

Returns:
int - The value in the column.

setRightRail

public abstract void setRightRail(int rightRail)
Set the value in the right_rail column.

Parameters:
rightRail - - The value to set.

getBottomRail

public abstract int getBottomRail()
Return the value in the bottom_rail column.

Returns:
int - The value in the column.

setBottomRail

public abstract void setBottomRail(int bottomRail)
Set the value in the bottom_rail column.

Parameters:
bottomRail - - The value to set.

getHeader

public abstract java.lang.String getHeader()
Return the value in the header column.

Returns:
String - The value in the column.

setHeader

public abstract void setHeader(java.lang.String header)
Set the value in the header column.

Parameters:
header - - The value to set.

getFooter

public abstract java.lang.String getFooter()
Return the value in the footer column.

Returns:
String - The value in the column.

setFooter

public abstract void setFooter(java.lang.String footer)
Set the value in the footer column.

Parameters:
footer - - The value to set.

Rakesh API

Copyright © 2002-2005 - Rakesh Vidyadharan