Rakesh API

biz.wedoit4u.ejb.entity
Interface Customer

All Superinterfaces:
javax.ejb.EJBLocalObject

public interface Customer
extends javax.ejb.EJBLocalObject

The Local interface for the entity bean representing a record in the customers 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: Customer.java,v 1.4 2004/05/26 11:42:34 rakesh Exp $
Author:
Rakesh Vidyadharan on 9th September 2003

Method Summary
 java.util.Date getActivationDate()
          Return the value in the activation_date column.
 char getActive()
          Return the value in the active column.
 java.util.Set getCategories()
          Return a Set of entity bean instances that represent associated records in the categories table.
 java.util.Date getCreationDate()
          Return the value in the creation_date column.
 int getCustomerId()
          Return the value in the customer_id column.
 CustomerType getCustomerType()
          Return the value in the customer_type_id column as a reference to the CustomerType entity bean representing that value.
 java.lang.String getDomain()
          Return the value in the domain column.
 java.lang.String getEmail()
          Return the value in the email column.
 java.util.Date getExpirationDate()
          Return the value in the expiration_date column.
 java.lang.String getPassword()
          Return the value in the password column.
 java.lang.String getUsername()
          Return the value in the username column.
 void setActivationDate(java.util.Date activationDate)
          Set the value in the activation_date column.
 void setActive(char active)
          Set the value in the active column.
 void setCreationDate(java.util.Date creationDate)
          Set the value in the creation_date column.
 void setCustomerType(CustomerType type)
          Set the value in the customer_type_id column as a represented by the reference to the CustomerType entity bean representing that value.
 void setDomain(java.lang.String domain)
          Set the value in the domain column.
 void setEmail(java.lang.String email)
          Set the value in the email column.
 void setExpirationDate(java.util.Date expirationDate)
          Set the value in the expiration_date column.
 void setPassword(java.lang.String password)
          Set the value in the password column.
 void setUsername(java.lang.String username)
          Set the value in the username column.
 
Methods inherited from interface javax.ejb.EJBLocalObject
getEJBLocalHome, getPrimaryKey, isIdentical, remove
 

Method Detail

getCustomerId

int getCustomerId()
Return the value in the customer_id column.

Returns:
int - The value in the column.

getUsername

java.lang.String getUsername()
Return the value in the username column.

Returns:
String - The value in the column.

setUsername

void setUsername(java.lang.String username)
Set the value in the username column.

Parameters:
username - - The value to set.

getPassword

java.lang.String getPassword()
Return the value in the password column.

Returns:
String - The value in the column.

setPassword

void setPassword(java.lang.String password)
Set the value in the password column.

Parameters:
password - - The value to set.

getEmail

java.lang.String getEmail()
Return the value in the email column.

Returns:
String - The value in the column.

setEmail

void setEmail(java.lang.String email)
Set the value in the email column.

Parameters:
email - - The value to set.

getDomain

java.lang.String getDomain()
Return the value in the domain column.

Returns:
String - The value in the column.

setDomain

void setDomain(java.lang.String domain)
Set the value in the domain column.

Parameters:
domain - - The value to set.

getActive

char getActive()
Return the value in the active column.

Returns:
char - The value in the column.

setActive

void setActive(char active)
Set the value in the active column.

Parameters:
active - - The value to set.

getCreationDate

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

Returns:
Date - The value in the column.

setCreationDate

void setCreationDate(java.util.Date creationDate)
Set the value in the creation_date column.

Parameters:
creationDate - - The value to set.

getActivationDate

java.util.Date getActivationDate()
Return the value in the activation_date column.

Returns:
Date - The value in the column.

setActivationDate

void setActivationDate(java.util.Date activationDate)
Set the value in the activation_date column.

Parameters:
activationDate - - The value to set.

getExpirationDate

java.util.Date getExpirationDate()
Return the value in the expiration_date column.

Returns:
Date - The value in the column.

setExpirationDate

void setExpirationDate(java.util.Date expirationDate)
Set the value in the expiration_date column.

Parameters:
expirationDate - - The value to set.

getCustomerType

CustomerType getCustomerType()
Return the value in the customer_type_id column as a reference to the CustomerType entity bean representing that value.

Returns:
CustomerType - The value in the column.

setCustomerType

void setCustomerType(CustomerType type)
Set the value in the customer_type_id column as a represented by the reference to the CustomerType entity bean representing that value.

Parameters:
type - - The value to set.

getCategories

java.util.Set getCategories()
Return a Set of entity bean instances that represent associated records in the categories table.

Returns:
Set - The Set of Category instances that are associated with this customer.

Rakesh API

Copyright © 2002-2005 - Rakesh Vidyadharan