Rakesh API

biz.wedoit4u.ejb.entity
Interface Content

All Superinterfaces:
javax.ejb.EJBLocalObject

public interface Content
extends javax.ejb.EJBLocalObject

The Local interface for the entity bean representing a record in the contents table.

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

Copyright 2003, Rakesh Vidyadharan

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

Method Summary
 java.lang.String getBody()
          Return the value in the picture column.
 java.lang.String getBrief()
          Return the value in the brief column.
 Category getCategory()
          Return the value in the category_id column as a reference to the Category entity bean instance representing the value.
 int getContentId()
          Return the value in the content_id column.
 java.util.Date getCreationDate()
          Return the value in the creation_date column.
 java.util.Date getModificationDate()
          Return the value in the modification_date column.
 java.lang.String getPicture()
          Return the value in the picture column.
 java.lang.String getTitle()
          Return the value in the title column.
 void setBody(java.lang.String body)
          Set the value in the picture column.
 void setBrief(java.lang.String brief)
          Set the value in the picture column.
 void setCategory(Category category)
          Set the value in the category_id column based upon the reference to the Category entity bean instance representing the value.
 void setModificationDate(java.util.Date modificationDate)
          Set the value in the modification_date column.
 void setPicture(java.lang.String picture)
          Set the value in the picture column.
 void setTitle(java.lang.String title)
          Set the value in the title column.
 
Methods inherited from interface javax.ejb.EJBLocalObject
getEJBLocalHome, getPrimaryKey, isIdentical, remove
 

Method Detail

getContentId

int getContentId()
Return the value in the content_id column.

Returns:
int - The column value.

getCategory

Category getCategory()
Return the value in the category_id column as a reference to the Category entity bean instance representing the value.

Returns:
Category - The appropriate entity bean instance.

setCategory

void setCategory(Category category)
Set the value in the category_id column based upon the reference to the Category entity bean instance representing the value.

Parameters:
category - - The appropriate entity bean instance.

getTitle

java.lang.String getTitle()
Return the value in the title column.

Returns:
String - The column value.

setTitle

void setTitle(java.lang.String title)
Set the value in the title column.

Parameters:
title - - 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 in the picture 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 in the picture column.

Parameters:
picture - - The value to set.

getBody

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

Returns:
String - The column value.

setBody

void setBody(java.lang.String body)
Set the value in the picture column.

Parameters:
body - - The value to set.

getCreationDate

java.util.Date getCreationDate()
Return the value in the creation_date column.

Returns:
Date - The value in the column.

getModificationDate

java.util.Date getModificationDate()
Return the value in the modification_date column.

Returns:
Date - The value in the column.

setModificationDate

void setModificationDate(java.util.Date modificationDate)
Set the value in the modification_date column.

Parameters:
modificationDate - - The value in the column.

Rakesh API

Copyright © 2002-2005 - Rakesh Vidyadharan