Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.schooltool.ejb.entity.server.access
Class UserRole_Bean  view UserRole_Bean download UserRole_Bean.java

java.lang.Object
  extended byorg.schooltool.ejb.entity.server.access.UserRole_Bean
All Implemented Interfaces:
javax.ejb.EnterpriseBean, javax.ejb.EntityBean, java.io.Serializable

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


Field Summary
private  javax.ejb.EntityContext ctx
           
private static org.schooltool.xode.ejbhelper.UniqueIDGeneratorBean idGenerator
           
private  javax.naming.InitialContext jndiContext
           
private  boolean modifiedFlag
           
private  org.schooltool.complextypes.access.UserRole ovalue
           
 org.schooltool.ejb.entity.client.access.Role_ role
           
 java.lang.Long roleForeignKey
           
private  org.schooltool.ejb.entity.client.access.Role_Home roleHI
           
private  org.schooltool.ejb.entity.client.access.Role_PrimaryKey rolePK
           
private  org.schooltool.ejb.entity.client.access.Role_ roleRI
           
 org.schooltool.ejb.entity.client.access.SchoolProfile_ schoolProfile
           
 java.lang.Long schoolProfileForeignKey
           
private  org.schooltool.ejb.entity.client.access.SchoolProfile_Home schoolProfileHI
           
private  org.schooltool.ejb.entity.client.access.SchoolProfile_PrimaryKey schoolProfilePK
           
private  org.schooltool.ejb.entity.client.access.SchoolProfile_ schoolProfileRI
           
 org.schooltool.ejb.entity.client.access.User_ user
           
 java.lang.Long userForeignKey
           
private  org.schooltool.ejb.entity.client.access.User_Home userHI
           
private  org.schooltool.ejb.entity.client.access.User_PrimaryKey userPK
           
private  org.schooltool.ejb.entity.client.access.User_ userRI
           
 java.lang.Long UserRole_PrimaryKey
           
 
Constructor Summary
UserRole_Bean()
           
 
Method Summary
private  void beforeSaveCallback()
           
 void ejbActivate()
           
 org.schooltool.ejb.entity.client.access.UserRole_PrimaryKey ejbCreate()
           
 org.schooltool.ejb.entity.client.access.UserRole_PrimaryKey ejbCreate(java.lang.Long userForeignKey, java.lang.Long roleForeignKey, java.lang.Long schoolProfileForeignKey)
           
 org.schooltool.ejb.entity.client.access.UserRole_PrimaryKey ejbCreate(org.schooltool.complextypes.access.UserRole value)
           
 void ejbLoad()
           
 void ejbPassivate()
           
 void ejbPostCreate()
           
 void ejbPostCreate(java.lang.Long userForeignKey, java.lang.Long roleForeignKey, java.lang.Long schoolProfileForeignKey)
           
 void ejbPostCreate(org.schooltool.complextypes.access.UserRole value)
           
 void ejbRemove()
           
 void ejbStore()
           
 org.schooltool.complextypes.access.UserRole getAsValueObject(int Levels, org.schooltool.complextypes.access.UserRole SubclassValue)
           
private static javax.naming.InitialContext getInitialContext()
           
 org.schooltool.ejb.entity.client.access.Role_ getrole()
           
 java.lang.Long getroleForeignKey()
           
 org.schooltool.ejb.entity.client.access.SchoolProfile_ getschoolProfile()
           
 java.lang.Long getschoolProfileForeignKey()
           
 org.schooltool.ejb.entity.client.access.User_ getuser()
           
 java.lang.Long getuserForeignKey()
           
 java.lang.Long getUserRole_PrimaryKey()
           
 boolean hasSuperClass()
           
private  void InitSystemResources(java.lang.String strBeanName, java.lang.Long schoolID)
           
 boolean isModified()
           
 void setAsValueObject(org.schooltool.complextypes.access.UserRole ovalue)
           
 void setEntityContext(javax.ejb.EntityContext context)
           
 void setModified(boolean value)
           
 void setroleForeignKey(java.lang.Long setValue)
           
 void setschoolProfileForeignKey(java.lang.Long setValue)
           
 void setuserForeignKey(java.lang.Long setValue)
           
 void setUserRole_PrimaryKey(java.lang.Long setValue)
           
 void unsetEntityContext()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ctx

private javax.ejb.EntityContext ctx

UserRole_PrimaryKey

public java.lang.Long UserRole_PrimaryKey

userForeignKey

public java.lang.Long userForeignKey

userRI

private transient org.schooltool.ejb.entity.client.access.User_ userRI

userHI

private transient org.schooltool.ejb.entity.client.access.User_Home userHI

userPK

private transient org.schooltool.ejb.entity.client.access.User_PrimaryKey userPK

user

public transient org.schooltool.ejb.entity.client.access.User_ user

roleForeignKey

public java.lang.Long roleForeignKey

roleRI

private transient org.schooltool.ejb.entity.client.access.Role_ roleRI

roleHI

private transient org.schooltool.ejb.entity.client.access.Role_Home roleHI

rolePK

private transient org.schooltool.ejb.entity.client.access.Role_PrimaryKey rolePK

role

public transient org.schooltool.ejb.entity.client.access.Role_ role

schoolProfileForeignKey

public java.lang.Long schoolProfileForeignKey

schoolProfileRI

private transient org.schooltool.ejb.entity.client.access.SchoolProfile_ schoolProfileRI

schoolProfileHI

private transient org.schooltool.ejb.entity.client.access.SchoolProfile_Home schoolProfileHI

schoolProfilePK

private transient org.schooltool.ejb.entity.client.access.SchoolProfile_PrimaryKey schoolProfilePK

schoolProfile

public transient org.schooltool.ejb.entity.client.access.SchoolProfile_ schoolProfile

modifiedFlag

private boolean modifiedFlag

jndiContext

private transient javax.naming.InitialContext jndiContext

idGenerator

private static org.schooltool.xode.ejbhelper.UniqueIDGeneratorBean idGenerator

ovalue

private transient org.schooltool.complextypes.access.UserRole ovalue
Constructor Detail

UserRole_Bean

public UserRole_Bean()
Method Detail

hasSuperClass

public boolean hasSuperClass()
                      throws java.rmi.RemoteException

getUserRole_PrimaryKey

public java.lang.Long getUserRole_PrimaryKey()

setUserRole_PrimaryKey

public void setUserRole_PrimaryKey(java.lang.Long setValue)

getuserForeignKey

public java.lang.Long getuserForeignKey()
                                 throws java.rmi.RemoteException

setuserForeignKey

public void setuserForeignKey(java.lang.Long setValue)
                       throws java.rmi.RemoteException

getuser

public org.schooltool.ejb.entity.client.access.User_ getuser()
                                                      throws java.rmi.RemoteException

getroleForeignKey

public java.lang.Long getroleForeignKey()
                                 throws java.rmi.RemoteException

setroleForeignKey

public void setroleForeignKey(java.lang.Long setValue)
                       throws java.rmi.RemoteException

getrole

public org.schooltool.ejb.entity.client.access.Role_ getrole()
                                                      throws java.rmi.RemoteException

getschoolProfileForeignKey

public java.lang.Long getschoolProfileForeignKey()
                                          throws java.rmi.RemoteException

setschoolProfileForeignKey

public void setschoolProfileForeignKey(java.lang.Long setValue)
                                throws java.rmi.RemoteException

getschoolProfile

public org.schooltool.ejb.entity.client.access.SchoolProfile_ getschoolProfile()
                                                                        throws java.rmi.RemoteException

isModified

public boolean isModified()

setModified

public void setModified(boolean value)

ejbActivate

public void ejbActivate()
                 throws java.rmi.RemoteException,
                        javax.ejb.EJBException
Specified by:
ejbActivate in interface javax.ejb.EntityBean

getInitialContext

private static javax.naming.InitialContext getInitialContext()
                                                      throws javax.naming.NamingException

InitSystemResources

private void InitSystemResources(java.lang.String strBeanName,
                                 java.lang.Long schoolID)
                          throws javax.ejb.CreateException

setEntityContext

public void setEntityContext(javax.ejb.EntityContext context)
                      throws java.rmi.RemoteException,
                             javax.ejb.EJBException
Specified by:
setEntityContext in interface javax.ejb.EntityBean

unsetEntityContext

public void unsetEntityContext()
                        throws java.rmi.RemoteException,
                               javax.ejb.EJBException
Specified by:
unsetEntityContext in interface javax.ejb.EntityBean

ejbPassivate

public void ejbPassivate()
                  throws java.rmi.RemoteException,
                         javax.ejb.EJBException
Specified by:
ejbPassivate in interface javax.ejb.EntityBean

ejbRemove

public void ejbRemove()
               throws java.rmi.RemoteException,
                      javax.ejb.EJBException,
                      javax.ejb.RemoveException
Specified by:
ejbRemove in interface javax.ejb.EntityBean

ejbStore

public void ejbStore()
              throws java.rmi.RemoteException,
                     javax.ejb.EJBException
Specified by:
ejbStore in interface javax.ejb.EntityBean

ejbLoad

public void ejbLoad()
             throws java.rmi.RemoteException,
                    javax.ejb.EJBException
Specified by:
ejbLoad in interface javax.ejb.EntityBean

ejbPostCreate

public void ejbPostCreate()
                   throws javax.ejb.CreateException,
                          javax.ejb.EJBException,
                          java.rmi.RemoteException

ejbPostCreate

public void ejbPostCreate(org.schooltool.complextypes.access.UserRole value)
                   throws javax.ejb.CreateException,
                          javax.ejb.EJBException,
                          java.rmi.RemoteException

ejbCreate

public org.schooltool.ejb.entity.client.access.UserRole_PrimaryKey ejbCreate(org.schooltool.complextypes.access.UserRole value)
                                                                      throws javax.ejb.CreateException,
                                                                             javax.ejb.EJBException,
                                                                             java.rmi.RemoteException

ejbPostCreate

public void ejbPostCreate(java.lang.Long userForeignKey,
                          java.lang.Long roleForeignKey,
                          java.lang.Long schoolProfileForeignKey)
                   throws javax.ejb.CreateException,
                          javax.ejb.EJBException,
                          java.rmi.RemoteException

ejbCreate

public org.schooltool.ejb.entity.client.access.UserRole_PrimaryKey ejbCreate(java.lang.Long userForeignKey,
                                                                             java.lang.Long roleForeignKey,
                                                                             java.lang.Long schoolProfileForeignKey)
                                                                      throws javax.ejb.CreateException,
                                                                             javax.ejb.EJBException,
                                                                             java.rmi.RemoteException

ejbCreate

public org.schooltool.ejb.entity.client.access.UserRole_PrimaryKey ejbCreate()
                                                                      throws javax.ejb.CreateException,
                                                                             javax.ejb.EJBException,
                                                                             java.rmi.RemoteException

setAsValueObject

public void setAsValueObject(org.schooltool.complextypes.access.UserRole ovalue)
                      throws java.rmi.RemoteException

getAsValueObject

public org.schooltool.complextypes.access.UserRole getAsValueObject(int Levels,
                                                                    org.schooltool.complextypes.access.UserRole SubclassValue)
                                                             throws java.rmi.RemoteException

beforeSaveCallback

private void beforeSaveCallback()