📄 concreteobject_token_3a23ec87.java
字号:
package com.leeman.common.dao;import com.ibm.ws.ejbpersistence.beanextensions.*;import com.ibm.websphere.cpmi.*;/** * Bean implementation class for Enterprise Bean: Object_Token */public class ConcreteObject_Token_3a23ec87 extends com.leeman.common.dao.Object_TokenBean implements javax.ejb.EntityBean, ConcreteBean { /** * setEntityContext */ public void setEntityContext(javax.ejb.EntityContext ctx) { super.setEntityContext(ctx); instanceExtension.setEntityContext(ctx); } /** * unsetEntityContext */ public void unsetEntityContext() { super.unsetEntityContext(); instanceExtension.unsetEntityContext(); } /** * ejbActivate */ public void ejbActivate() { super.ejbActivate(); instanceExtension.ejbActivate(); } /** * ejbLoad */ public void ejbLoad() { instanceExtension.ejbLoad(); } /** * ejbPassivate */ public void ejbPassivate() { super.ejbPassivate(); instanceExtension.ejbPassivate(); } /** * ejbRemove */ public void ejbRemove() throws javax.ejb.RemoveException { super.ejbRemove(); instanceExtension.ejbRemove(); } /** * ejbStore */ public void ejbStore() { super.ejbStore(); instanceExtension.ejbStore(); } private ConcreteBeanInstanceExtension instanceExtension; /** * _WSCB_getInstanceInfo */ public PMConcreteBeanInstanceInfo _WSCB_getInstanceInfo() { return instanceExtension; } /** * ConcreteObject_Token_3a23ec87 */ public ConcreteObject_Token_3a23ec87() { super(); instanceExtension = ConcreteBeanInstanceExtensionFactory.getInstance(this); } /** * getInjector */ private com.leeman.common.dao.websphere_deploy.Object_TokenBeanInjector_3a23ec87 getInjector() { return (com.leeman.common.dao.websphere_deploy.Object_TokenBeanInjector_3a23ec87)instanceExtension.getInjector(); } /** * hydrate */ public void hydrate(Object inRecord) { com.leeman.common.dao.websphere_deploy.Object_TokenBeanCacheEntry_3a23ec87 record = (com.leeman.common.dao.websphere_deploy.Object_TokenBeanCacheEntry_3a23ec87) inRecord;; company_id = record.getCompany_id(); program_id = record.getProgram_id(); record_key = record.getRecord_key(); session_id = record.getSession_id(); table_lock = record.getTable_lock(); table_name = record.getTable_name(); token_datetime = record.getToken_datetime(); user_id = record.getUser_id(); super.ejbLoad(); } /** * resetCMP */ public void resetCMP() { company_id = null; program_id = null; record_key = null; session_id = null; table_lock = null; table_name = null; token_datetime = null; user_id = null; } /** * resetCMR */ public void resetCMR() { } /** * ejbFindByPrimaryKey */ public com.leeman.common.dao.Object_TokenKey ejbFindByPrimaryKey(com.leeman.common.dao.Object_TokenKey primaryKey) throws javax.ejb.FinderException { return (com.leeman.common.dao.Object_TokenKey)instanceExtension.ejbFindByPrimaryKey(primaryKey); } /** * ejbFindByUserRecordKey */ public com.leeman.common.dao.Object_TokenKey ejbFindByUserRecordKey(java.lang.String company_id, java.lang.String record_key, java.lang.String table_name, java.lang.String session_id) throws javax.ejb.FinderException { javax.resource.cci.IndexedRecord record = instanceExtension.getInputRecord("FindByUserRecordKey"); getInjector().ejbFindByUserRecordKey(company_id, record_key, table_name, session_id, record); return (com.leeman.common.dao.Object_TokenKey) instanceExtension.executeFind("FindByUserRecordKey", record); } /** * ejbFindTableLock */ public com.leeman.common.dao.Object_TokenKey ejbFindTableLock(java.lang.String company_id, java.lang.String table_name, java.lang.String table_lock) throws javax.ejb.FinderException { javax.resource.cci.IndexedRecord record = instanceExtension.getInputRecord("FindTableLock"); getInjector().ejbFindTableLock(company_id, table_name, table_lock, record); return (com.leeman.common.dao.Object_TokenKey) instanceExtension.executeFind("FindTableLock", record); } /** * ejbFindTableToken */ public java.util.Collection ejbFindTableToken(java.lang.String company_id, java.lang.String table_name) throws javax.ejb.FinderException { javax.resource.cci.IndexedRecord record = instanceExtension.getInputRecord("FindTableToken"); getInjector().ejbFindTableToken(company_id, table_name, record); return (java.util.Collection) instanceExtension.executeFind("FindTableToken", record); } /** * ejbFindUserSessionToken */ public java.util.Collection ejbFindUserSessionToken(java.lang.String company_id, java.lang.String user_id, java.lang.String session_id) throws javax.ejb.FinderException { javax.resource.cci.IndexedRecord record = instanceExtension.getInputRecord("FindUserSessionToken"); getInjector().ejbFindUserSessionToken(company_id, user_id, session_id, record); return (java.util.Collection) instanceExtension.executeFind("FindUserSessionToken", record); } /** * ejbFindUserToken */ public java.util.Collection ejbFindUserToken(java.lang.String company_id, java.lang.String user_id) throws javax.ejb.FinderException { javax.resource.cci.IndexedRecord record = instanceExtension.getInputRecord("FindUserToken"); getInjector().ejbFindUserToken(company_id, user_id, record); return (java.util.Collection) instanceExtension.executeFind("FindUserToken", record); } /** * ejbFindByPrimaryKey */ public Object ejbFindByPrimaryKey(java.lang.Object pk) throws javax.ejb.FinderException { return ejbFindByPrimaryKey((com.leeman.common.dao.Object_TokenKey)pk); } /** * ejbFindByPrimaryKeyForCMR_Local */ public com.leeman.common.dao.Object_TokenKey ejbFindByPrimaryKeyForCMR_Local(com.leeman.common.dao.Object_TokenKey pk) throws javax.ejb.FinderException { return (com.leeman.common.dao.Object_TokenKey)instanceExtension.ejbFindByPrimaryKey(pk); } /** * ejbCreate */ public com.leeman.common.dao.Object_TokenKey ejbCreate(java.lang.String company_id, java.lang.String record_key, java.lang.String table_name) throws javax.ejb.CreateException { super.ejbCreate(company_id, record_key, table_name); return (com.leeman.common.dao.Object_TokenKey)instanceExtension.ejbCreate(); } /** * ejbPostCreate */ public void ejbPostCreate(java.lang.String company_id, java.lang.String record_key, java.lang.String table_name) throws javax.ejb.CreateException { super.ejbPostCreate(company_id, record_key, table_name); instanceExtension.ejbPostCreate(); } /** * createPrimaryKey */ public Object createPrimaryKey() { com.leeman.common.dao.Object_TokenKey pk = new com.leeman.common.dao.Object_TokenKey(); pk.company_id = this.company_id; pk.record_key = this.record_key; pk.table_name = this.table_name; return pk; } /** * getNumberOfFields */ public int getNumberOfFields() { return 8; } /** * Implementation field for persistent attribute: company_id */ public java.lang.String company_id; /** * Get accessor for persistent attribute: company_id */ public java.lang.String getCompany_id() { return company_id; } /** * Set accessor for persistent attribute: company_id */ public void setCompany_id(java.lang.String newCompany_id) { instanceExtension.markDirty(0,company_id,newCompany_id); company_id = newCompany_id; } /** * Implementation field for persistent attribute: program_id */ public java.lang.String program_id; /** * Get accessor for persistent attribute: program_id */ public java.lang.String getProgram_id() { return program_id; } /** * Set accessor for persistent attribute: program_id */ public void setProgram_id(java.lang.String newProgram_id) { instanceExtension.markDirty(1,program_id,newProgram_id); program_id = newProgram_id; } /** * Implementation field for persistent attribute: record_key */ public java.lang.String record_key; /** * Get accessor for persistent attribute: record_key */ public java.lang.String getRecord_key() { return record_key; } /** * Set accessor for persistent attribute: record_key */ public void setRecord_key(java.lang.String newRecord_key) { instanceExtension.markDirty(2,record_key,newRecord_key); record_key = newRecord_key; } /** * Implementation field for persistent attribute: session_id */ public java.lang.String session_id; /** * Get accessor for persistent attribute: session_id */ public java.lang.String getSession_id() { return session_id; } /** * Set accessor for persistent attribute: session_id */ public void setSession_id(java.lang.String newSession_id) { instanceExtension.markDirty(3,session_id,newSession_id); session_id = newSession_id; } /** * Implementation field for persistent attribute: table_lock */ public java.lang.String table_lock; /** * Get accessor for persistent attribute: table_lock */ public java.lang.String getTable_lock() { return table_lock; } /** * Set accessor for persistent attribute: table_lock */ public void setTable_lock(java.lang.String newTable_lock) { instanceExtension.markDirty(4,table_lock,newTable_lock); table_lock = newTable_lock; } /** * Implementation field for persistent attribute: table_name */ public java.lang.String table_name; /** * Get accessor for persistent attribute: table_name */ public java.lang.String getTable_name() { return table_name; } /** * Set accessor for persistent attribute: table_name */ public void setTable_name(java.lang.String newTable_name) { instanceExtension.markDirty(5,table_name,newTable_name); table_name = newTable_name; } /** * Implementation field for persistent attribute: token_datetime */ public java.util.Date token_datetime; /** * Get accessor for persistent attribute: token_datetime */ public java.util.Date getToken_datetime() { return token_datetime; } /** * Set accessor for persistent attribute: token_datetime */ public void setToken_datetime(java.util.Date newToken_datetime) { instanceExtension.markDirty(6,token_datetime,newToken_datetime); token_datetime = newToken_datetime; } /** * Implementation field for persistent attribute: user_id */ public java.lang.String user_id; /** * Get accessor for persistent attribute: user_id */ public java.lang.String getUser_id() { return user_id; } /** * Set accessor for persistent attribute: user_id */ public void setUser_id(java.lang.String newUser_id) { instanceExtension.markDirty(7,user_id,newUser_id); user_id = newUser_id; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -