friend
Class FriendBean

java.lang.Object
  extended byfriend.FriendBean
All Implemented Interfaces:
javax.ejb.EnterpriseBean, javax.ejb.EntityBean, java.io.Serializable

public class FriendBean
extends java.lang.Object
implements javax.ejb.EntityBean

Author:
¹ÙºÎ°õ Friend Entity Bean
See Also:
Serialized Form

Field Summary
 java.lang.Integer f_uid
           
 java.lang.Integer m_uid
           
 java.lang.Integer uid
           
 
Constructor Summary
FriendBean()
           
 
Method Summary
 void ejbActivate()
          Bean ÀνºÅϽº¸¦ Ȱ¼ºÈ­ ½ÃŲ´Ù.
 java.lang.Integer ejbCreate(int uid, int f_uid, int m_uid)
          »õ·Î¿î Entity BeanÀ» Å×ÀÌºí¿¡ ÀúÀåÇÑ´Ù.
 java.util.Vector ejbFindByFriend(java.lang.Integer f_uid)
          f_uid·Î Å×ÀÌºí¿¡¼­ ÇØ´çÇÏ´Â EntityÀÇ Vector ¸¦ ¾ò¾î¿Â´Ù.
 java.lang.Integer ejbFindByPrimaryKey(java.lang.Integer uid)
          Primary Key·Î Å×ÀÌºí¿¡¼­ ÇØ´çÇÏ´Â Entity ¸¦ ¾ò¾î¿Â´Ù.
 void ejbLoad()
          Bean ÀνºÅϽº Á¤º¸¸¦ °¡Á®¿Â´Ù.
 void ejbPassivate()
          Bean ÀνºÅϽº¸¦ ºñȰ¼ºÈ­ ½ÃŲ´Ù.
 void ejbPostCreate(int uid, int f_uid, int m_uid)
           
 void ejbRemove()
          BeanÀÇ Á¤º¸¸¦ ÇØ´ç Å×ÀÌºí¿¡¼­ »èÁ¦
 void ejbStore()
          Bean ÀνºÅϽº Á¤º¸¸¦ ÇØ´ç Å×ÀÌºí¿¡ ÀúÀåÇÑ´Ù.
 int getF_uid()
           
 int getM_uid()
           
 int getUid()
           
 void setEntityContext(javax.ejb.EntityContext ctx)
          DB Connection...
 void setF_uid(int f_uid)
           
 void setM_uid(int m_uid)
           
 void setUid(int uid)
           
 void unsetEntityContext()
          DB disconnection..
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

uid

public java.lang.Integer uid

f_uid

public java.lang.Integer f_uid

m_uid

public java.lang.Integer m_uid
Constructor Detail

FriendBean

public FriendBean()
Method Detail

ejbCreate

public java.lang.Integer ejbCreate(int uid,
                                   int f_uid,
                                   int m_uid)
                            throws javax.ejb.CreateException
»õ·Î¿î Entity BeanÀ» Å×ÀÌºí¿¡ ÀúÀåÇÑ´Ù.

Parameters:
uid -
f_uid -
m_uid -
Returns:
Throws:
javax.ejb.CreateException

ejbPostCreate

public void ejbPostCreate(int uid,
                          int f_uid,
                          int m_uid)
                   throws javax.ejb.CreateException
Throws:
javax.ejb.CreateException

ejbFindByPrimaryKey

public java.lang.Integer ejbFindByPrimaryKey(java.lang.Integer uid)
                                      throws javax.ejb.FinderException
Primary Key·Î Å×ÀÌºí¿¡¼­ ÇØ´çÇÏ´Â Entity ¸¦ ¾ò¾î¿Â´Ù.

Parameters:
uid -
Returns:
Throws:
javax.ejb.FinderException

ejbFindByFriend

public java.util.Vector ejbFindByFriend(java.lang.Integer f_uid)
                                 throws javax.ejb.FinderException
f_uid·Î Å×ÀÌºí¿¡¼­ ÇØ´çÇÏ´Â EntityÀÇ Vector ¸¦ ¾ò¾î¿Â´Ù.

Parameters:
f_uid -
Returns:
Throws:
javax.ejb.FinderException

setUid

public void setUid(int uid)

setF_uid

public void setF_uid(int f_uid)

setM_uid

public void setM_uid(int m_uid)

getUid

public int getUid()

getF_uid

public int getF_uid()

getM_uid

public int getM_uid()

ejbActivate

public void ejbActivate()
                 throws javax.ejb.EJBException,
                        java.rmi.RemoteException
Bean ÀνºÅϽº¸¦ Ȱ¼ºÈ­ ½ÃŲ´Ù.

Specified by:
ejbActivate in interface javax.ejb.EntityBean
Throws:
javax.ejb.EJBException
java.rmi.RemoteException
See Also:
EntityBean.ejbActivate()

ejbLoad

public void ejbLoad()
             throws javax.ejb.EJBException,
                    java.rmi.RemoteException
Bean ÀνºÅϽº Á¤º¸¸¦ °¡Á®¿Â´Ù.

Specified by:
ejbLoad in interface javax.ejb.EntityBean
Throws:
javax.ejb.EJBException
java.rmi.RemoteException
See Also:
EntityBean.ejbLoad()

ejbPassivate

public void ejbPassivate()
                  throws javax.ejb.EJBException,
                         java.rmi.RemoteException
Bean ÀνºÅϽº¸¦ ºñȰ¼ºÈ­ ½ÃŲ´Ù.

Specified by:
ejbPassivate in interface javax.ejb.EntityBean
Throws:
javax.ejb.EJBException
java.rmi.RemoteException
See Also:
EntityBean.ejbPassivate()

ejbRemove

public void ejbRemove()
               throws javax.ejb.RemoveException,
                      javax.ejb.EJBException,
                      java.rmi.RemoteException
BeanÀÇ Á¤º¸¸¦ ÇØ´ç Å×ÀÌºí¿¡¼­ »èÁ¦

Specified by:
ejbRemove in interface javax.ejb.EntityBean
Throws:
javax.ejb.RemoveException
javax.ejb.EJBException
java.rmi.RemoteException
See Also:
EntityBean.ejbRemove()

ejbStore

public void ejbStore()
              throws javax.ejb.EJBException,
                     java.rmi.RemoteException
Bean ÀνºÅϽº Á¤º¸¸¦ ÇØ´ç Å×ÀÌºí¿¡ ÀúÀåÇÑ´Ù.

Specified by:
ejbStore in interface javax.ejb.EntityBean
Throws:
javax.ejb.EJBException
java.rmi.RemoteException
See Also:
EntityBean.ejbStore()

unsetEntityContext

public void unsetEntityContext()
                        throws javax.ejb.EJBException,
                               java.rmi.RemoteException
DB disconnection..

Specified by:
unsetEntityContext in interface javax.ejb.EntityBean
Throws:
javax.ejb.EJBException
java.rmi.RemoteException
See Also:
EntityBean.unsetEntityContext()

setEntityContext

public void setEntityContext(javax.ejb.EntityContext ctx)
                      throws javax.ejb.EJBException,
                             java.rmi.RemoteException
DB Connection...

Specified by:
setEntityContext in interface javax.ejb.EntityBean
Parameters:
ctx -
Throws:
javax.ejb.EJBException
java.rmi.RemoteException
See Also:
EntityBean.setEntityContext(javax.ejb.EntityContext)