|
Rakesh API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Category
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
| 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 |
|---|
int getCategoryId()
category_id column.
Customer getCustomer()
Customer entity bean instance
that is represented by the value in the customer_id
column.
void setCustomer(Customer customer)
customer_id column using the
value represented by the instance of the Customer entity
bean instance.
customer - - The appropriate entity bean instance.java.lang.String getMenuName()
menu_name column.
void setMenuName(java.lang.String menuName)
menu_name column.
menuName - - The value to set.java.lang.String getLongName()
long_name column.
void setLongName(java.lang.String longName)
long_name column.
longName - - The value to set.java.lang.String getBrief()
brief column.
void setBrief(java.lang.String brief)
brief column.
brief - - The value to set.java.lang.String getPicture()
picture column.
void setPicture(java.lang.String picture)
picture column.
picture - - The value to set.java.lang.String getDescription()
description column.
void setDescription(java.lang.String description)
description column.
description - - The value to set.java.util.Set getContents()
Set of Content entity bean
instances that are associated with this category.
Set of entity bean instances.
javax.ejb.FinderException - - If errors are encountered while fetching
the associated Content entity bean instances.
|
Rakesh API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||