Rakesh API

biz.wedoit4u.ejb.entity
Interface Category

All Superinterfaces:
javax.ejb.EJBLocalObject

public interface Category
extends javax.ejb.EJBLocalObject

The local interface for the entity bean representing a record in the categories table.

Accessor methods are defined for all the columns, while mutator methods are defined for all columns except the primary key column.

Copyright 2003, Rakesh Vidyadharan

Version:
$Id: Category.java,v 1.4 2004/05/26 11:42:33 rakesh Exp $
Author:
Rakesh Vidyadharan on 9th September 2003

Method Summary
 java.lang.String getBrief()
          Return the value in the brief column.
 int getCategoryId()
          Return the value in the category_id column.
 java.util.Set getContents()
          Return a Set of Content entity bean instances that are associated with this category.
 Customer getCustomer()
          Return a reference to the Customer entity bean instance that is represented by the value in the customer_id column.
 java.lang.String getDescription()
          Return the value in the description column.
 java.lang.String getLongName()
          Return the value in the long_name column.
 java.lang.String getMenuName()
          Return the value in the menu_name column.
 java.lang.String getPicture()
          Return the value in the picture column.
 void setBrief(java.lang.String brief)
          Set the value of the brief column.
 void setCustomer(Customer customer)
          Set the value in the customer_id column using the value represented by the instance of the Customer entity bean instance.
 void setDescription(java.lang.String description)
          Set the value of the description column.
 void setLongName(java.lang.String longName)
          Set the value of the long_name column.
 void setMenuName(java.lang.String menuName)
          Set the value of the menu_name column.
 void setPicture(java.lang.String picture)
          Set the value of the picture column.
 
Methods inherited from interface javax.ejb.EJBLocalObject
getEJBLocalHome, getPrimaryKey, isIdentical, remove
 

Method Detail

getCategoryId

int getCategoryId()
Return the value in the category_id column.

Returns:
int - The column value.

getCustomer

Customer getCustomer()
Return a reference to the Customer entity bean instance that is represented by the value in the customer_id column.

Returns:
Customer - The appropriate entity bean instance.

setCustomer

void setCustomer(Customer customer)
Set the value in the customer_id column using the value represented by the instance of the Customer entity bean instance.

Parameters:
customer - - The appropriate entity bean instance.

getMenuName

java.lang.String getMenuName()
Return the value in the menu_name column.

Returns:
String - The column value.

setMenuName

void setMenuName(java.lang.String menuName)
Set the value of the menu_name column.

Parameters:
menuName - - The value to set.

getLongName

java.lang.String getLongName()
Return the value in the long_name column.

Returns:
String - The column value.

setLongName

void setLongName(java.lang.String longName)
Set the value of the long_name column.

Parameters:
longName - - The value to set.

getBrief

java.lang.String getBrief()
Return the value in the brief column.

Returns:
String - The column value.

setBrief

void setBrief(java.lang.String brief)
Set the value of the brief column.

Parameters:
brief - - The value to set.

getPicture

java.lang.String getPicture()
Return the value in the picture column.

Returns:
String - The column value.

setPicture

void setPicture(java.lang.String picture)
Set the value of the picture column.

Parameters:
picture - - The value to set.

getDescription

java.lang.String getDescription()
Return the value in the description column.

Returns:
String - The column value.

setDescription

void setDescription(java.lang.String description)
Set the value of the description column.

Parameters:
description - - The value to set.

getContents

java.util.Set getContents()
Return a Set of Content entity bean instances that are associated with this category.

Returns:
Set - The Set of entity bean instances.
Throws:
javax.ejb.FinderException - - If errors are encountered while fetching the associated Content entity bean instances.

Rakesh API

Copyright © 2002-2005 - Rakesh Vidyadharan