wanyong 1 year ago
parent
commit
ead359536a
30 changed files with 2256 additions and 0 deletions
  1. 24 0
      src/com/kingdee/eas/hr/project/AbstractTypeInfo.java
  2. 30 0
      src/com/kingdee/eas/hr/project/IType.java
  3. 128 0
      src/com/kingdee/eas/hr/project/Type.java
  4. 48 0
      src/com/kingdee/eas/hr/project/TypeCollection.java
  5. 30 0
      src/com/kingdee/eas/hr/project/TypeFactory.java
  6. 15 0
      src/com/kingdee/eas/hr/project/TypeInfo.java
  7. 229 0
      src/com/kingdee/eas/hr/project/app/AbstractTypeControllerBean.java
  8. 17 0
      src/com/kingdee/eas/hr/project/app/AbstractTypeEditUIHandler.java
  9. 17 0
      src/com/kingdee/eas/hr/project/app/AbstractTypeListUIHandler.java
  10. 35 0
      src/com/kingdee/eas/hr/project/app/TypeController.java
  11. 37 0
      src/com/kingdee/eas/hr/project/app/TypeControllerBean.java
  12. 20 0
      src/com/kingdee/eas/hr/project/app/TypeEditUIHandler.java
  13. 20 0
      src/com/kingdee/eas/hr/project/app/TypeListUIHandler.java
  14. 517 0
      src/com/kingdee/eas/hr/project/client/AbstractTypeEditUI.java
  15. 5 0
      src/com/kingdee/eas/hr/project/client/AbstractTypeEditUI.properties
  16. 5 0
      src/com/kingdee/eas/hr/project/client/AbstractTypeEditUI_l1.properties
  17. 5 0
      src/com/kingdee/eas/hr/project/client/AbstractTypeEditUI_l2.properties
  18. 5 0
      src/com/kingdee/eas/hr/project/client/AbstractTypeEditUI_l3.properties
  19. 69 0
      src/com/kingdee/eas/hr/project/client/AbstractTypeListUI.java
  20. 12 0
      src/com/kingdee/eas/hr/project/client/AbstractTypeListUI.properties
  21. 11 0
      src/com/kingdee/eas/hr/project/client/AbstractTypeListUI_l1.properties
  22. 12 0
      src/com/kingdee/eas/hr/project/client/AbstractTypeListUI_l2.properties
  23. 12 0
      src/com/kingdee/eas/hr/project/client/AbstractTypeListUI_l3.properties
  24. 437 0
      src/com/kingdee/eas/hr/project/client/TypeEditUI.java
  25. 445 0
      src/com/kingdee/eas/hr/project/client/TypeListUI.java
  26. 63 0
      src/com/kingdee/eas/hr/project/dataSource.java
  27. 2 0
      src/com/kingdee/eas/hr/project/dataSource.properties
  28. 2 0
      src/com/kingdee/eas/hr/project/dataSource_l1.properties
  29. 2 0
      src/com/kingdee/eas/hr/project/dataSource_l2.properties
  30. 2 0
      src/com/kingdee/eas/hr/project/dataSource_l3.properties

+ 24 - 0
src/com/kingdee/eas/hr/project/AbstractTypeInfo.java

@@ -0,0 +1,24 @@
+package com.kingdee.eas.hr.project;
+
+import java.io.Serializable;
+import com.kingdee.bos.dao.AbstractObjectValue;
+import java.util.Locale;
+import com.kingdee.util.TypeConversionUtils;
+import com.kingdee.bos.util.BOSObjectType;
+
+
+public class AbstractTypeInfo extends com.kingdee.eas.framework.DataBaseInfo implements Serializable 
+{
+    public AbstractTypeInfo()
+    {
+        this("id");
+    }
+    protected AbstractTypeInfo(String pkField)
+    {
+        super(pkField);
+    }
+    public BOSObjectType getBOSType()
+    {
+        return new BOSObjectType("400CA33B");
+    }
+}

+ 30 - 0
src/com/kingdee/eas/hr/project/IType.java

@@ -0,0 +1,30 @@
+package com.kingdee.eas.hr.project;
+
+import com.kingdee.bos.BOSException;
+//import com.kingdee.bos.metadata.*;
+import com.kingdee.bos.framework.*;
+import com.kingdee.bos.util.*;
+import com.kingdee.bos.Context;
+
+import com.kingdee.bos.dao.IObjectPK;
+import com.kingdee.bos.BOSException;
+import com.kingdee.bos.util.*;
+import com.kingdee.bos.metadata.entity.SelectorItemCollection;
+import com.kingdee.eas.common.EASBizException;
+import com.kingdee.eas.framework.IDataBase;
+import com.kingdee.eas.framework.CoreBaseCollection;
+import com.kingdee.eas.framework.CoreBaseInfo;
+import com.kingdee.bos.metadata.entity.EntityViewInfo;
+import java.lang.String;
+import com.kingdee.bos.Context;
+import com.kingdee.bos.framework.*;
+
+public interface IType extends IDataBase
+{
+    public TypeInfo getTypeInfo(IObjectPK pk) throws BOSException, EASBizException;
+    public TypeInfo getTypeInfo(IObjectPK pk, SelectorItemCollection selector) throws BOSException, EASBizException;
+    public TypeInfo getTypeInfo(String oql) throws BOSException, EASBizException;
+    public TypeCollection getTypeCollection() throws BOSException;
+    public TypeCollection getTypeCollection(EntityViewInfo view) throws BOSException;
+    public TypeCollection getTypeCollection(String oql) throws BOSException;
+}

+ 128 - 0
src/com/kingdee/eas/hr/project/Type.java

@@ -0,0 +1,128 @@
+package com.kingdee.eas.hr.project;
+
+import com.kingdee.bos.framework.ejb.EJBRemoteException;
+import com.kingdee.bos.util.BOSObjectType;
+import java.rmi.RemoteException;
+import com.kingdee.bos.framework.AbstractBizCtrl;
+import com.kingdee.bos.orm.template.ORMObject;
+
+import com.kingdee.bos.util.*;
+import com.kingdee.eas.hr.project.app.*;
+import com.kingdee.eas.framework.CoreBaseInfo;
+import com.kingdee.bos.Context;
+import com.kingdee.bos.dao.IObjectPK;
+import com.kingdee.bos.BOSException;
+import com.kingdee.bos.metadata.entity.SelectorItemCollection;
+import com.kingdee.eas.framework.DataBase;
+import com.kingdee.eas.common.EASBizException;
+import com.kingdee.eas.framework.IDataBase;
+import com.kingdee.eas.framework.CoreBaseCollection;
+import com.kingdee.bos.metadata.entity.EntityViewInfo;
+import java.lang.String;
+import com.kingdee.bos.framework.*;
+
+public class Type extends DataBase implements IType
+{
+    public Type()
+    {
+        super();
+        registerInterface(IType.class, this);
+    }
+    public Type(Context ctx)
+    {
+        super(ctx);
+        registerInterface(IType.class, this);
+    }
+    public BOSObjectType getType()
+    {
+        return new BOSObjectType("400CA33B");
+    }
+    private TypeController getController() throws BOSException
+    {
+        return (TypeController)getBizController();
+    }
+    /**
+     *ȡֵ-System defined method
+     *@param pk ȡֵ
+     *@return
+     */
+    public TypeInfo getTypeInfo(IObjectPK pk) throws BOSException, EASBizException
+    {
+        try {
+            return getController().getTypeInfo(getContext(), pk);
+        }
+        catch(RemoteException err) {
+            throw new EJBRemoteException(err);
+        }
+    }
+    /**
+     *ȡֵ-System defined method
+     *@param pk ȡֵ
+     *@param selector ȡֵ
+     *@return
+     */
+    public TypeInfo getTypeInfo(IObjectPK pk, SelectorItemCollection selector) throws BOSException, EASBizException
+    {
+        try {
+            return getController().getTypeInfo(getContext(), pk, selector);
+        }
+        catch(RemoteException err) {
+            throw new EJBRemoteException(err);
+        }
+    }
+    /**
+     *ȡֵ-System defined method
+     *@param oql ȡֵ
+     *@return
+     */
+    public TypeInfo getTypeInfo(String oql) throws BOSException, EASBizException
+    {
+        try {
+            return getController().getTypeInfo(getContext(), oql);
+        }
+        catch(RemoteException err) {
+            throw new EJBRemoteException(err);
+        }
+    }
+    /**
+     *È¡¼¯ºÏ-System defined method
+     *@return
+     */
+    public TypeCollection getTypeCollection() throws BOSException
+    {
+        try {
+            return getController().getTypeCollection(getContext());
+        }
+        catch(RemoteException err) {
+            throw new EJBRemoteException(err);
+        }
+    }
+    /**
+     *È¡¼¯ºÏ-System defined method
+     *@param view È¡¼¯ºÏ
+     *@return
+     */
+    public TypeCollection getTypeCollection(EntityViewInfo view) throws BOSException
+    {
+        try {
+            return getController().getTypeCollection(getContext(), view);
+        }
+        catch(RemoteException err) {
+            throw new EJBRemoteException(err);
+        }
+    }
+    /**
+     *È¡¼¯ºÏ-System defined method
+     *@param oql È¡¼¯ºÏ
+     *@return
+     */
+    public TypeCollection getTypeCollection(String oql) throws BOSException
+    {
+        try {
+            return getController().getTypeCollection(getContext(), oql);
+        }
+        catch(RemoteException err) {
+            throw new EJBRemoteException(err);
+        }
+    }
+}

+ 48 - 0
src/com/kingdee/eas/hr/project/TypeCollection.java

@@ -0,0 +1,48 @@
+package com.kingdee.eas.hr.project;
+
+import com.kingdee.bos.dao.AbstractObjectCollection;
+import com.kingdee.bos.dao.IObjectPK;
+
+public class TypeCollection extends AbstractObjectCollection 
+{
+    public TypeCollection()
+    {
+        super(TypeInfo.class);
+    }
+    public boolean add(TypeInfo item)
+    {
+        return addObject(item);
+    }
+    public boolean addCollection(TypeCollection item)
+    {
+        return addObjectCollection(item);
+    }
+    public boolean remove(TypeInfo item)
+    {
+        return removeObject(item);
+    }
+    public TypeInfo get(int index)
+    {
+        return(TypeInfo)getObject(index);
+    }
+    public TypeInfo get(Object key)
+    {
+        return(TypeInfo)getObject(key);
+    }
+    public void set(int index, TypeInfo item)
+    {
+        setObject(index, item);
+    }
+    public boolean contains(TypeInfo item)
+    {
+        return containsObject(item);
+    }
+    public boolean contains(Object key)
+    {
+        return containsKey(key);
+    }
+    public int indexOf(TypeInfo item)
+    {
+        return super.indexOf(item);
+    }
+}

+ 30 - 0
src/com/kingdee/eas/hr/project/TypeFactory.java

@@ -0,0 +1,30 @@
+package com.kingdee.eas.hr.project;
+
+import com.kingdee.bos.BOSException;
+import com.kingdee.bos.BOSObjectFactory;
+import com.kingdee.bos.util.BOSObjectType;
+import com.kingdee.bos.Context;
+
+public class TypeFactory
+{
+    private TypeFactory()
+    {
+    }
+    public static com.kingdee.eas.hr.project.IType getRemoteInstance() throws BOSException
+    {
+        return (com.kingdee.eas.hr.project.IType)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("400CA33B") ,com.kingdee.eas.hr.project.IType.class);
+    }
+    
+    public static com.kingdee.eas.hr.project.IType getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
+    {
+        return (com.kingdee.eas.hr.project.IType)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("400CA33B") ,com.kingdee.eas.hr.project.IType.class, objectCtx);
+    }
+    public static com.kingdee.eas.hr.project.IType getLocalInstance(Context ctx) throws BOSException
+    {
+        return (com.kingdee.eas.hr.project.IType)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("400CA33B"));
+    }
+    public static com.kingdee.eas.hr.project.IType getLocalInstance(String sessionID) throws BOSException
+    {
+        return (com.kingdee.eas.hr.project.IType)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("400CA33B"));
+    }
+}

+ 15 - 0
src/com/kingdee/eas/hr/project/TypeInfo.java

@@ -0,0 +1,15 @@
+package com.kingdee.eas.hr.project;
+
+import java.io.Serializable;
+
+public class TypeInfo extends AbstractTypeInfo implements Serializable 
+{
+    public TypeInfo()
+    {
+        super();
+    }
+    protected TypeInfo(String pkField)
+    {
+        super(pkField);
+    }
+}

+ 229 - 0
src/com/kingdee/eas/hr/project/app/AbstractTypeControllerBean.java

@@ -0,0 +1,229 @@
+package com.kingdee.eas.hr.project.app;
+
+import javax.ejb.*;
+import java.rmi.RemoteException;
+import com.kingdee.bos.*;
+import com.kingdee.bos.util.BOSObjectType;
+import com.kingdee.bos.metadata.IMetaDataPK;
+import com.kingdee.bos.metadata.rule.RuleExecutor;
+import com.kingdee.bos.metadata.MetaDataPK;
+//import com.kingdee.bos.metadata.entity.EntityViewInfo;
+import com.kingdee.bos.framework.ejb.AbstractEntityControllerBean;
+import com.kingdee.bos.framework.ejb.AbstractBizControllerBean;
+//import com.kingdee.bos.dao.IObjectPK;
+import com.kingdee.bos.dao.IObjectValue;
+import com.kingdee.bos.dao.IObjectCollection;
+import com.kingdee.bos.service.ServiceContext;
+import com.kingdee.bos.service.IServiceContext;
+import com.kingdee.eas.framework.Result;
+import com.kingdee.eas.framework.LineResult;
+import com.kingdee.eas.framework.exception.EASMultiException;
+import com.kingdee.bos.dao.ormapping.ObjectUuidPK;
+
+import com.kingdee.bos.dao.IObjectPK;
+import com.kingdee.eas.hr.project.TypeCollection;
+import com.kingdee.bos.metadata.entity.SelectorItemCollection;
+import com.kingdee.eas.common.EASBizException;
+import com.kingdee.eas.framework.CoreBaseCollection;
+import com.kingdee.eas.framework.CoreBaseInfo;
+import com.kingdee.bos.metadata.entity.EntityViewInfo;
+import com.kingdee.eas.hr.project.TypeInfo;
+import java.lang.String;
+import com.kingdee.eas.framework.app.DataBaseControllerBean;
+import com.kingdee.eas.framework.DataBaseCollection;
+import com.kingdee.eas.framework.ObjectBaseCollection;
+
+
+
+public abstract class AbstractTypeControllerBean extends DataBaseControllerBean implements TypeController
+{
+    protected AbstractTypeControllerBean()
+    {
+    }
+
+    protected BOSObjectType getBOSType()
+    {
+        return new BOSObjectType("400CA33B");
+    }
+
+    public TypeInfo getTypeInfo(Context ctx, IObjectPK pk) throws BOSException, EASBizException
+    {
+        try {
+            ServiceContext svcCtx = createServiceContext(new MetaDataPK("14dddc27-ad45-4885-b255-505fdb11d961"), new Object[]{ctx, pk});
+            invokeServiceBefore(svcCtx);
+            if(!svcCtx.invokeBreak()) {
+            TypeInfo retValue = (TypeInfo)_getValue(ctx, pk);
+            svcCtx.setMethodReturnValue(retValue);
+            }
+            invokeServiceAfter(svcCtx);
+        
+          return (TypeInfo)svcCtx.getMethodReturnValue();
+        } catch (BOSException ex) {
+            throw ex;
+        } catch (EASBizException ex0) {
+            throw ex0;
+        } finally {
+            super.cleanUpServiceState();
+        }
+    }
+    protected IObjectValue _getValue(Context ctx, IObjectPK pk) throws BOSException, EASBizException
+    {
+        return super._getValue(ctx, pk);
+    }
+
+    public TypeInfo getTypeInfo(Context ctx, IObjectPK pk, SelectorItemCollection selector) throws BOSException, EASBizException
+    {
+        try {
+            ServiceContext svcCtx = createServiceContext(new MetaDataPK("a8265142-6a2b-4bd3-a5bc-4283e834eb51"), new Object[]{ctx, pk, selector});
+            invokeServiceBefore(svcCtx);
+            if(!svcCtx.invokeBreak()) {
+            TypeInfo retValue = (TypeInfo)_getValue(ctx, pk, selector);
+            svcCtx.setMethodReturnValue(retValue);
+            }
+            invokeServiceAfter(svcCtx);
+        
+          return (TypeInfo)svcCtx.getMethodReturnValue();
+        } catch (BOSException ex) {
+            throw ex;
+        } catch (EASBizException ex0) {
+            throw ex0;
+        } finally {
+            super.cleanUpServiceState();
+        }
+    }
+    protected IObjectValue _getValue(Context ctx, IObjectPK pk, SelectorItemCollection selector) throws BOSException, EASBizException
+    {
+        return super._getValue(ctx, pk, selector);
+    }
+
+    public TypeInfo getTypeInfo(Context ctx, String oql) throws BOSException, EASBizException
+    {
+        try {
+            ServiceContext svcCtx = createServiceContext(new MetaDataPK("67bdc312-db4f-4810-b260-b69af7f4e197"), new Object[]{ctx, oql});
+            invokeServiceBefore(svcCtx);
+            if(!svcCtx.invokeBreak()) {
+            TypeInfo retValue = (TypeInfo)_getValue(ctx, oql);
+            svcCtx.setMethodReturnValue(retValue);
+            }
+            invokeServiceAfter(svcCtx);
+        
+          return (TypeInfo)svcCtx.getMethodReturnValue();
+        } catch (BOSException ex) {
+            throw ex;
+        } catch (EASBizException ex0) {
+            throw ex0;
+        } finally {
+            super.cleanUpServiceState();
+        }
+    }
+    protected IObjectValue _getValue(Context ctx, String oql) throws BOSException, EASBizException
+    {
+        return super._getValue(ctx, oql);
+    }
+
+    public TypeCollection getTypeCollection(Context ctx) throws BOSException
+    {
+        try {
+            ServiceContext svcCtx = createServiceContext(new MetaDataPK("7f11ccf8-0e5d-4867-ad24-11c250f18c61"), new Object[]{ctx});
+            invokeServiceBefore(svcCtx);
+            if(!svcCtx.invokeBreak()) {
+            TypeCollection retValue = (TypeCollection)_getCollection(ctx, svcCtx);
+            svcCtx.setMethodReturnValue(retValue);
+            }
+            invokeServiceAfter(svcCtx);
+        
+          return (TypeCollection)svcCtx.getMethodReturnValue();
+        } catch (BOSException ex) {
+            throw ex;
+        } finally {
+            super.cleanUpServiceState();
+        }
+    }
+    protected IObjectCollection _getCollection(Context ctx, IServiceContext svcCtx) throws BOSException
+    {
+        return super._getCollection(ctx, svcCtx);
+    }
+
+    public TypeCollection getTypeCollection(Context ctx, EntityViewInfo view) throws BOSException
+    {
+        try {
+            ServiceContext svcCtx = createServiceContext(new MetaDataPK("7358f540-ce6f-4e35-a048-cb952e8118e7"), new Object[]{ctx, view});
+            invokeServiceBefore(svcCtx);
+            if(!svcCtx.invokeBreak()) {
+            TypeCollection retValue = (TypeCollection)_getCollection(ctx, svcCtx, view);
+            svcCtx.setMethodReturnValue(retValue);
+            }
+            invokeServiceAfter(svcCtx);
+        
+          return (TypeCollection)svcCtx.getMethodReturnValue();
+        } catch (BOSException ex) {
+            throw ex;
+        } finally {
+            super.cleanUpServiceState();
+        }
+    }
+    protected IObjectCollection _getCollection(Context ctx, IServiceContext svcCtx, EntityViewInfo view) throws BOSException
+    {
+        return super._getCollection(ctx, svcCtx, view);
+    }
+
+    public TypeCollection getTypeCollection(Context ctx, String oql) throws BOSException
+    {
+        try {
+            ServiceContext svcCtx = createServiceContext(new MetaDataPK("69ea0fbb-6050-4b32-8ec5-caab0f5c726f"), new Object[]{ctx, oql});
+            invokeServiceBefore(svcCtx);
+            if(!svcCtx.invokeBreak()) {
+            TypeCollection retValue = (TypeCollection)_getCollection(ctx, svcCtx, oql);
+            svcCtx.setMethodReturnValue(retValue);
+            }
+            invokeServiceAfter(svcCtx);
+        
+          return (TypeCollection)svcCtx.getMethodReturnValue();
+        } catch (BOSException ex) {
+            throw ex;
+        } finally {
+            super.cleanUpServiceState();
+        }
+    }
+    protected IObjectCollection _getCollection(Context ctx, IServiceContext svcCtx, String oql) throws BOSException
+    {
+        return super._getCollection(ctx, svcCtx, oql);
+    }
+
+    public DataBaseCollection getDataBaseCollection (Context ctx) throws BOSException
+    {
+    	return (DataBaseCollection)(getTypeCollection(ctx).cast(DataBaseCollection.class));
+    }
+    public DataBaseCollection getDataBaseCollection (Context ctx, EntityViewInfo view) throws BOSException
+    {
+    	return (DataBaseCollection)(getTypeCollection(ctx, view).cast(DataBaseCollection.class));
+    }
+    public DataBaseCollection getDataBaseCollection (Context ctx, String oql) throws BOSException
+    {
+    	return (DataBaseCollection)(getTypeCollection(ctx, oql).cast(DataBaseCollection.class));
+    }
+    public ObjectBaseCollection getObjectBaseCollection (Context ctx) throws BOSException
+    {
+    	return (ObjectBaseCollection)(getTypeCollection(ctx).cast(ObjectBaseCollection.class));
+    }
+    public ObjectBaseCollection getObjectBaseCollection (Context ctx, EntityViewInfo view) throws BOSException
+    {
+    	return (ObjectBaseCollection)(getTypeCollection(ctx, view).cast(ObjectBaseCollection.class));
+    }
+    public ObjectBaseCollection getObjectBaseCollection (Context ctx, String oql) throws BOSException
+    {
+    	return (ObjectBaseCollection)(getTypeCollection(ctx, oql).cast(ObjectBaseCollection.class));
+    }
+    public CoreBaseCollection getCoreBaseCollection (Context ctx) throws BOSException
+    {
+    	return (CoreBaseCollection)(getTypeCollection(ctx).cast(CoreBaseCollection.class));
+    }
+    public CoreBaseCollection getCoreBaseCollection (Context ctx, EntityViewInfo view) throws BOSException
+    {
+    	return (CoreBaseCollection)(getTypeCollection(ctx, view).cast(CoreBaseCollection.class));
+    }
+    public CoreBaseCollection getCoreBaseCollection (Context ctx, String oql) throws BOSException
+    {
+    	return (CoreBaseCollection)(getTypeCollection(ctx, oql).cast(CoreBaseCollection.class));
+    }
+}

+ 17 - 0
src/com/kingdee/eas/hr/project/app/AbstractTypeEditUIHandler.java

@@ -0,0 +1,17 @@
+/**
+ * output package name
+ */
+package com.kingdee.eas.hr.project.app;
+
+import com.kingdee.bos.Context;
+import com.kingdee.eas.framework.batchHandler.RequestContext;
+import com.kingdee.eas.framework.batchHandler.ResponseContext;
+
+
+/**
+ * output class name
+ */
+public abstract class AbstractTypeEditUIHandler extends com.kingdee.eas.framework.app.EditUIHandler
+
+{
+}

+ 17 - 0
src/com/kingdee/eas/hr/project/app/AbstractTypeListUIHandler.java

@@ -0,0 +1,17 @@
+/**
+ * output package name
+ */
+package com.kingdee.eas.hr.project.app;
+
+import com.kingdee.bos.Context;
+import com.kingdee.eas.framework.batchHandler.RequestContext;
+import com.kingdee.eas.framework.batchHandler.ResponseContext;
+
+
+/**
+ * output class name
+ */
+public abstract class AbstractTypeListUIHandler extends com.kingdee.eas.framework.app.ListUIHandler
+
+{
+}

+ 35 - 0
src/com/kingdee/eas/hr/project/app/TypeController.java

@@ -0,0 +1,35 @@
+package com.kingdee.eas.hr.project.app;
+
+import com.kingdee.bos.BOSException;
+//import com.kingdee.bos.metadata.*;
+import com.kingdee.bos.framework.*;
+import com.kingdee.bos.util.*;
+import com.kingdee.bos.Context;
+
+import com.kingdee.eas.hr.project.TypeCollection;
+import com.kingdee.bos.util.*;
+import com.kingdee.eas.framework.CoreBaseInfo;
+import com.kingdee.eas.hr.project.TypeInfo;
+import com.kingdee.bos.Context;
+import com.kingdee.bos.dao.IObjectPK;
+import com.kingdee.bos.BOSException;
+import com.kingdee.bos.metadata.entity.SelectorItemCollection;
+import com.kingdee.eas.common.EASBizException;
+import com.kingdee.eas.framework.app.DataBaseController;
+import com.kingdee.eas.framework.CoreBaseCollection;
+import com.kingdee.bos.metadata.entity.EntityViewInfo;
+import java.lang.String;
+import com.kingdee.bos.framework.*;
+
+import java.rmi.RemoteException;
+import com.kingdee.bos.framework.ejb.BizController;
+
+public interface TypeController extends DataBaseController
+{
+    public TypeInfo getTypeInfo(Context ctx, IObjectPK pk) throws BOSException, EASBizException, RemoteException;
+    public TypeInfo getTypeInfo(Context ctx, IObjectPK pk, SelectorItemCollection selector) throws BOSException, EASBizException, RemoteException;
+    public TypeInfo getTypeInfo(Context ctx, String oql) throws BOSException, EASBizException, RemoteException;
+    public TypeCollection getTypeCollection(Context ctx) throws BOSException, RemoteException;
+    public TypeCollection getTypeCollection(Context ctx, EntityViewInfo view) throws BOSException, RemoteException;
+    public TypeCollection getTypeCollection(Context ctx, String oql) throws BOSException, RemoteException;
+}

+ 37 - 0
src/com/kingdee/eas/hr/project/app/TypeControllerBean.java

@@ -0,0 +1,37 @@
+package com.kingdee.eas.hr.project.app;
+
+import org.apache.log4j.Logger;
+import javax.ejb.*;
+import java.rmi.RemoteException;
+import com.kingdee.bos.*;
+import com.kingdee.bos.util.BOSObjectType;
+import com.kingdee.bos.metadata.IMetaDataPK;
+import com.kingdee.bos.metadata.rule.RuleExecutor;
+import com.kingdee.bos.metadata.MetaDataPK;
+//import com.kingdee.bos.metadata.entity.EntityViewInfo;
+import com.kingdee.bos.framework.ejb.AbstractEntityControllerBean;
+import com.kingdee.bos.framework.ejb.AbstractBizControllerBean;
+//import com.kingdee.bos.dao.IObjectPK;
+import com.kingdee.bos.dao.IObjectValue;
+import com.kingdee.bos.dao.IObjectCollection;
+import com.kingdee.bos.service.ServiceContext;
+import com.kingdee.bos.service.IServiceContext;
+
+import com.kingdee.bos.dao.IObjectPK;
+import com.kingdee.eas.hr.project.TypeCollection;
+import com.kingdee.bos.metadata.entity.SelectorItemCollection;
+import com.kingdee.eas.common.EASBizException;
+import com.kingdee.eas.framework.CoreBaseCollection;
+import com.kingdee.eas.framework.CoreBaseInfo;
+import com.kingdee.bos.metadata.entity.EntityViewInfo;
+import com.kingdee.eas.hr.project.TypeInfo;
+import java.lang.String;
+import com.kingdee.eas.framework.app.DataBaseControllerBean;
+import com.kingdee.eas.framework.DataBaseCollection;
+import com.kingdee.eas.framework.ObjectBaseCollection;
+
+public class TypeControllerBean extends AbstractTypeControllerBean
+{
+    private static Logger logger =
+        Logger.getLogger("com.kingdee.eas.hr.project.app.TypeControllerBean");
+}

+ 20 - 0
src/com/kingdee/eas/hr/project/app/TypeEditUIHandler.java

@@ -0,0 +1,20 @@
+/**
+ * output package name
+ */
+package com.kingdee.eas.hr.project.app;
+
+import com.kingdee.bos.BOSException;
+import com.kingdee.bos.Context;
+import com.kingdee.eas.framework.batchHandler.RequestContext;
+import com.kingdee.eas.framework.batchHandler.ResponseContext;
+
+
+/**
+ * output class name
+ */
+public class TypeEditUIHandler extends AbstractTypeEditUIHandler
+{
+	protected void _handleInit(RequestContext request,ResponseContext response, Context context) throws Exception {
+		super._handleInit(request,response,context);
+	}
+}

+ 20 - 0
src/com/kingdee/eas/hr/project/app/TypeListUIHandler.java

@@ -0,0 +1,20 @@
+/**
+ * output package name
+ */
+package com.kingdee.eas.hr.project.app;
+
+import com.kingdee.bos.BOSException;
+import com.kingdee.bos.Context;
+import com.kingdee.eas.framework.batchHandler.RequestContext;
+import com.kingdee.eas.framework.batchHandler.ResponseContext;
+
+
+/**
+ * output class name
+ */
+public class TypeListUIHandler extends AbstractTypeListUIHandler
+{
+	protected void _handleInit(RequestContext request,ResponseContext response, Context context) throws Exception {
+		super._handleInit(request,response,context);
+	}
+}

+ 517 - 0
src/com/kingdee/eas/hr/project/client/AbstractTypeEditUI.java

@@ -0,0 +1,517 @@
+/**
+ * output package name
+ */
+package com.kingdee.eas.hr.project.client;
+
+import org.apache.log4j.*;
+
+import java.awt.*;
+import java.awt.event.*;
+import java.util.*;
+import javax.swing.border.*;
+import javax.swing.BorderFactory;
+import javax.swing.event.*;
+import javax.swing.KeyStroke;
+
+import com.kingdee.bos.ctrl.swing.*;
+import com.kingdee.bos.ctrl.kdf.table.*;
+import com.kingdee.bos.ctrl.kdf.data.event.*;
+import com.kingdee.bos.dao.*;
+import com.kingdee.bos.dao.query.*;
+import com.kingdee.bos.metadata.*;
+import com.kingdee.bos.metadata.entity.*;
+import com.kingdee.bos.ui.face.*;
+import com.kingdee.bos.ui.util.ResourceBundleHelper;
+import com.kingdee.bos.util.BOSUuid;
+import com.kingdee.bos.service.ServiceContext;
+import com.kingdee.jdbc.rowset.IRowSet;
+import com.kingdee.util.enums.EnumUtils;
+import com.kingdee.bos.ui.face.UIRuleUtil;
+import com.kingdee.bos.ctrl.swing.event.*;
+import com.kingdee.bos.ctrl.kdf.table.event.*;
+import com.kingdee.bos.ctrl.extendcontrols.*;
+import com.kingdee.bos.ctrl.kdf.util.render.*;
+import com.kingdee.bos.ui.face.IItemAction;
+import com.kingdee.eas.framework.batchHandler.RequestContext;
+import com.kingdee.bos.ui.util.IUIActionPostman;
+import com.kingdee.bos.appframework.client.servicebinding.ActionProxyFactory;
+import com.kingdee.bos.appframework.uistatemanage.ActionStateConst;
+import com.kingdee.bos.appframework.validator.ValidateHelper;
+import com.kingdee.bos.appframework.uip.UINavigator;
+
+
+/**
+ * output class name
+ */
+public abstract class AbstractTypeEditUI extends com.kingdee.eas.framework.client.EditUI
+{
+    private static final Logger logger = CoreUIObject.getLogger(AbstractTypeEditUI.class);
+    protected com.kingdee.bos.ctrl.swing.KDLabelContainer kDLabelContainer1;
+    protected com.kingdee.bos.ctrl.swing.KDLabelContainer kDLabelContainer2;
+    protected com.kingdee.bos.ctrl.swing.KDLabelContainer kDLabelContainer3;
+    protected com.kingdee.bos.ctrl.swing.KDLabelContainer kDLabelContainer4;
+    protected com.kingdee.bos.ctrl.swing.KDTextField txtNumber;
+    protected com.kingdee.bos.ctrl.extendcontrols.KDBizMultiLangBox txtName;
+    protected com.kingdee.bos.ctrl.swing.KDTextField txtSimpleName;
+    protected com.kingdee.bos.ctrl.extendcontrols.KDBizMultiLangBox txtDescription;
+    protected com.kingdee.eas.hr.project.TypeInfo editData = null;
+    /**
+     * output class constructor
+     */
+    public AbstractTypeEditUI() throws Exception
+    {
+        super();
+        this.defaultObjectName = "editData";
+        jbInit();
+        
+        initUIP();
+    }
+
+    /**
+     * output jbInit method
+     */
+    private void jbInit() throws Exception
+    {
+        this.resHelper = new ResourceBundleHelper(AbstractTypeEditUI.class.getName());
+        this.setUITitle(resHelper.getString("this.title"));
+        this.kDLabelContainer1 = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
+        this.kDLabelContainer2 = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
+        this.kDLabelContainer3 = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
+        this.kDLabelContainer4 = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
+        this.txtNumber = new com.kingdee.bos.ctrl.swing.KDTextField();
+        this.txtName = new com.kingdee.bos.ctrl.extendcontrols.KDBizMultiLangBox();
+        this.txtSimpleName = new com.kingdee.bos.ctrl.swing.KDTextField();
+        this.txtDescription = new com.kingdee.bos.ctrl.extendcontrols.KDBizMultiLangBox();
+        this.kDLabelContainer1.setName("kDLabelContainer1");
+        this.kDLabelContainer2.setName("kDLabelContainer2");
+        this.kDLabelContainer3.setName("kDLabelContainer3");
+        this.kDLabelContainer4.setName("kDLabelContainer4");
+        this.txtNumber.setName("txtNumber");
+        this.txtName.setName("txtName");
+        this.txtSimpleName.setName("txtSimpleName");
+        this.txtDescription.setName("txtDescription");
+        // CoreUI		
+        this.btnPrint.setVisible(false);		
+        this.btnPrintPreview.setVisible(false);		
+        this.menuItemPrint.setVisible(false);		
+        this.menuItemPrintPreview.setVisible(false);
+        // kDLabelContainer1		
+        this.kDLabelContainer1.setBoundLabelText(resHelper.getString("kDLabelContainer1.boundLabelText"));		
+        this.kDLabelContainer1.setBoundLabelLength(100);		
+        this.kDLabelContainer1.setBoundLabelUnderline(true);
+        // kDLabelContainer2		
+        this.kDLabelContainer2.setBoundLabelText(resHelper.getString("kDLabelContainer2.boundLabelText"));		
+        this.kDLabelContainer2.setBoundLabelLength(100);		
+        this.kDLabelContainer2.setBoundLabelUnderline(true);
+        // kDLabelContainer3		
+        this.kDLabelContainer3.setBoundLabelText(resHelper.getString("kDLabelContainer3.boundLabelText"));		
+        this.kDLabelContainer3.setBoundLabelLength(100);		
+        this.kDLabelContainer3.setBoundLabelUnderline(true);
+        // kDLabelContainer4		
+        this.kDLabelContainer4.setBoundLabelText(resHelper.getString("kDLabelContainer4.boundLabelText"));		
+        this.kDLabelContainer4.setBoundLabelLength(100);		
+        this.kDLabelContainer4.setBoundLabelUnderline(true);		
+        this.kDLabelContainer4.setBoundLabelAlignment(7);		
+        this.kDLabelContainer4.setVisible(true);
+        // txtNumber		
+        this.txtNumber.setMaxLength(80);
+        // txtName
+        // txtSimpleName		
+        this.txtSimpleName.setMaxLength(80);
+        // txtDescription
+		//Register control's property binding
+		registerBindings();
+		registerUIState();
+
+
+    }
+
+	public com.kingdee.bos.ctrl.swing.KDToolBar[] getUIMultiToolBar(){
+		java.util.List list = new java.util.ArrayList();
+		com.kingdee.bos.ctrl.swing.KDToolBar[] bars = super.getUIMultiToolBar();
+		if (bars != null) {
+			list.addAll(java.util.Arrays.asList(bars));
+		}
+		return (com.kingdee.bos.ctrl.swing.KDToolBar[])list.toArray(new com.kingdee.bos.ctrl.swing.KDToolBar[list.size()]);
+	}
+
+
+
+
+    /**
+     * output initUIContentLayout method
+     */
+    public void initUIContentLayout()
+    {
+        this.setBounds(new Rectangle(0, 0, 1013, 629));
+        this.setLayout(null);
+        kDLabelContainer1.setBounds(new Rectangle(102, 44, 270, 19));
+        this.add(kDLabelContainer1, null);
+        kDLabelContainer2.setBounds(new Rectangle(102, 81, 270, 19));
+        this.add(kDLabelContainer2, null);
+        kDLabelContainer3.setBounds(new Rectangle(102, 118, 270, 19));
+        this.add(kDLabelContainer3, null);
+        kDLabelContainer4.setBounds(new Rectangle(102, 155, 270, 19));
+        this.add(kDLabelContainer4, null);
+        //kDLabelContainer1
+        kDLabelContainer1.setBoundEditor(txtNumber);
+        //kDLabelContainer2
+        kDLabelContainer2.setBoundEditor(txtName);
+        //kDLabelContainer3
+        kDLabelContainer3.setBoundEditor(txtSimpleName);
+        //kDLabelContainer4
+        kDLabelContainer4.setBoundEditor(txtDescription);
+
+    }
+
+
+    /**
+     * output initUIMenuBarLayout method
+     */
+    public void initUIMenuBarLayout()
+    {
+        this.menuBar.add(menuFile);
+        this.menuBar.add(menuEdit);
+        this.menuBar.add(MenuService);
+        this.menuBar.add(menuView);
+        this.menuBar.add(menuBiz);
+        this.menuBar.add(menuTool);
+        this.menuBar.add(menuHelp);
+        //menuFile
+        menuFile.add(menuItemAddNew);
+        menuFile.add(kDSeparator1);
+        menuFile.add(menuItemCloudFeed);
+        menuFile.add(menuItemSave);
+        menuFile.add(menuItemCloudScreen);
+        menuFile.add(menuItemSubmit);
+        menuFile.add(menuItemCloudShare);
+        menuFile.add(menuSubmitOption);
+        menuFile.add(kdSeparatorFWFile1);
+        menuFile.add(rMenuItemSubmit);
+        menuFile.add(rMenuItemSubmitAndAddNew);
+        menuFile.add(rMenuItemSubmitAndPrint);
+        menuFile.add(separatorFile1);
+        menuFile.add(MenuItemAttachment);
+        menuFile.add(kDSeparator2);
+        menuFile.add(menuItemPageSetup);
+        menuFile.add(menuItemPrint);
+        menuFile.add(menuItemPrintPreview);
+        menuFile.add(kDSeparator3);
+        menuFile.add(menuItemExitCurrent);
+        //menuSubmitOption
+        menuSubmitOption.add(chkMenuItemSubmitAndAddNew);
+        menuSubmitOption.add(chkMenuItemSubmitAndPrint);
+        //menuEdit
+        menuEdit.add(menuItemCopy);
+        menuEdit.add(menuItemEdit);
+        menuEdit.add(menuItemRemove);
+        menuEdit.add(kDSeparator4);
+        menuEdit.add(menuItemReset);
+        //MenuService
+        MenuService.add(MenuItemKnowStore);
+        MenuService.add(MenuItemAnwser);
+        MenuService.add(SepratorService);
+        MenuService.add(MenuItemRemoteAssist);
+        //menuView
+        menuView.add(menuItemFirst);
+        menuView.add(menuItemPre);
+        menuView.add(menuItemNext);
+        menuView.add(menuItemLast);
+        //menuBiz
+        menuBiz.add(menuItemCancelCancel);
+        menuBiz.add(menuItemCancel);
+        //menuTool
+        menuTool.add(menuItemMsgFormat);
+        menuTool.add(menuItemSendMessage);
+        menuTool.add(menuItemCalculator);
+        menuTool.add(menuItemToolBarCustom);
+        //menuHelp
+        menuHelp.add(menuItemHelp);
+        menuHelp.add(kDSeparator12);
+        menuHelp.add(menuItemRegPro);
+        menuHelp.add(menuItemPersonalSite);
+        menuHelp.add(helpseparatorDiv);
+        menuHelp.add(menuitemProductval);
+        menuHelp.add(kDSeparatorProduct);
+        menuHelp.add(menuItemAbout);
+
+    }
+
+    /**
+     * output initUIToolBarLayout method
+     */
+    public void initUIToolBarLayout()
+    {
+        this.toolBar.add(btnAddNew);
+        this.toolBar.add(btnCloud);
+        this.toolBar.add(btnEdit);
+        this.toolBar.add(btnXunTong);
+        this.toolBar.add(btnReset);
+        this.toolBar.add(kDSeparatorCloud);
+        this.toolBar.add(btnSave);
+        this.toolBar.add(btnSubmit);
+        this.toolBar.add(btnCopy);
+        this.toolBar.add(btnRemove);
+        this.toolBar.add(btnAttachment);
+        this.toolBar.add(separatorFW1);
+        this.toolBar.add(btnPageSetup);
+        this.toolBar.add(btnPrint);
+        this.toolBar.add(btnPrintPreview);
+        this.toolBar.add(separatorFW2);
+        this.toolBar.add(btnFirst);
+        this.toolBar.add(btnPre);
+        this.toolBar.add(btnNext);
+        this.toolBar.add(btnLast);
+        this.toolBar.add(separatorFW3);
+        this.toolBar.add(btnCancelCancel);
+        this.toolBar.add(btnCancel);
+
+
+    }
+
+	//Regiester control's property binding.
+	private void registerBindings(){
+		dataBinder.registerBinding("number", String.class, this.txtNumber, "text");
+		dataBinder.registerBinding("name", String.class, this.txtName, "_multiLangItem");
+		dataBinder.registerBinding("simpleName", String.class, this.txtSimpleName, "text");
+		dataBinder.registerBinding("description", String.class, this.txtDescription, "_multiLangItem");		
+	}
+	//Regiester UI State
+	private void registerUIState(){
+	        getActionManager().registerUIState(STATUS_ADDNEW, this.txtName, ActionStateConst.ENABLED);
+	        getActionManager().registerUIState(STATUS_ADDNEW, this.txtDescription, ActionStateConst.ENABLED);
+	        getActionManager().registerUIState(STATUS_ADDNEW, this.txtNumber, ActionStateConst.ENABLED);
+	        getActionManager().registerUIState(STATUS_ADDNEW, this.txtSimpleName, ActionStateConst.ENABLED);
+	        getActionManager().registerUIState(STATUS_EDIT, this.txtName, ActionStateConst.ENABLED);
+	        getActionManager().registerUIState(STATUS_EDIT, this.txtDescription, ActionStateConst.ENABLED);
+	        getActionManager().registerUIState(STATUS_EDIT, this.txtNumber, ActionStateConst.ENABLED);
+	        getActionManager().registerUIState(STATUS_EDIT, this.txtSimpleName, ActionStateConst.ENABLED);					 	        		
+	        getActionManager().registerUIState(STATUS_VIEW, this.txtName, ActionStateConst.DISABLED);					 	        		
+	        getActionManager().registerUIState(STATUS_VIEW, this.txtDescription, ActionStateConst.DISABLED);					 	        		
+	        getActionManager().registerUIState(STATUS_VIEW, this.txtNumber, ActionStateConst.DISABLED);					 	        		
+	        getActionManager().registerUIState(STATUS_VIEW, this.txtSimpleName, ActionStateConst.DISABLED);		
+	}
+	public String getUIHandlerClassName() {
+	    return "com.kingdee.eas.hr.project.app.TypeEditUIHandler";
+	}
+	public IUIActionPostman prepareInit() {
+		IUIActionPostman clientHanlder = super.prepareInit();
+		if (clientHanlder != null) {
+			RequestContext request = new RequestContext();
+    		request.setClassName(getUIHandlerClassName());
+			clientHanlder.setRequestContext(request);
+		}
+		return clientHanlder;
+    }
+	
+	public boolean isPrepareInit() {
+    	return false;
+    }
+    protected void initUIP() {
+        super.initUIP();
+    }
+
+
+
+	
+	
+
+    /**
+     * output setDataObject method
+     */
+    public void setDataObject(IObjectValue dataObject)
+    {
+        IObjectValue ov = dataObject;        	    	
+        super.setDataObject(ov);
+        this.editData = (com.kingdee.eas.hr.project.TypeInfo)ov;
+    }
+    protected void removeByPK(IObjectPK pk) throws Exception {
+    	IObjectValue editData = this.editData;
+    	super.removeByPK(pk);
+    	recycleNumberByOrg(editData,"NONE",editData.getString("number"));
+    }
+    
+    protected void recycleNumberByOrg(IObjectValue editData,String orgType,String number) {
+        if (!StringUtils.isEmpty(number))
+        {
+            try {
+            	String companyID = null;            
+            	com.kingdee.eas.base.codingrule.ICodingRuleManager iCodingRuleManager = com.kingdee.eas.base.codingrule.CodingRuleManagerFactory.getRemoteInstance();
+				if(!com.kingdee.util.StringUtils.isEmpty(orgType) && !"NONE".equalsIgnoreCase(orgType) && com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentOrgUnit(com.kingdee.eas.basedata.org.OrgType.getEnum(orgType))!=null) {
+					companyID =com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentOrgUnit(com.kingdee.eas.basedata.org.OrgType.getEnum(orgType)).getString("id");
+				}
+				else if (com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentOrgUnit() != null) {
+					companyID = ((com.kingdee.eas.basedata.org.OrgUnitInfo)com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentOrgUnit()).getString("id");
+            	}				
+				if (!StringUtils.isEmpty(companyID) && iCodingRuleManager.isExist(editData, companyID) && iCodingRuleManager.isUseIntermitNumber(editData, companyID)) {
+					iCodingRuleManager.recycleNumber(editData,companyID,number);					
+				}
+            }
+            catch (Exception e)
+            {
+                handUIException(e);
+            }
+        }
+    }
+    protected void setAutoNumberByOrg(String orgType) {
+    	if (editData == null) return;
+		if (editData.getNumber() == null) {
+            try {
+            	String companyID = null;
+				if(!com.kingdee.util.StringUtils.isEmpty(orgType) && !"NONE".equalsIgnoreCase(orgType) && com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentOrgUnit(com.kingdee.eas.basedata.org.OrgType.getEnum(orgType))!=null) {
+					companyID = com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentOrgUnit(com.kingdee.eas.basedata.org.OrgType.getEnum(orgType)).getString("id");
+				}
+				else if (com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentOrgUnit() != null) {
+					companyID = ((com.kingdee.eas.basedata.org.OrgUnitInfo)com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentOrgUnit()).getString("id");
+            	}
+				com.kingdee.eas.base.codingrule.ICodingRuleManager iCodingRuleManager = com.kingdee.eas.base.codingrule.CodingRuleManagerFactory.getRemoteInstance();
+		        if (iCodingRuleManager.isExist(editData, companyID)) {
+		            if (iCodingRuleManager.isAddView(editData, companyID)) {
+		            	editData.setNumber(iCodingRuleManager.getNumber(editData,companyID));
+		            }
+	                txtNumber.setEnabled(false);
+		        }
+            }
+            catch (Exception e) {
+                handUIException(e);
+                this.oldData = editData;
+                com.kingdee.eas.util.SysUtil.abort();
+            } 
+        } 
+        else {
+            if (editData.getNumber().trim().length() > 0) {
+                txtNumber.setText(editData.getNumber());
+            }
+        }
+    }
+
+    /**
+     * output loadFields method
+     */
+    public void loadFields()
+    {
+        		setAutoNumberByOrg("NONE");
+        dataBinder.loadFields();
+    }
+		protected void setOrgF7(KDBizPromptBox f7,com.kingdee.eas.basedata.org.OrgType orgType) throws Exception
+		{
+			com.kingdee.eas.basedata.org.client.f7.NewOrgUnitFilterInfoProducer oufip = new com.kingdee.eas.basedata.org.client.f7.NewOrgUnitFilterInfoProducer(orgType);
+			oufip.getModel().setIsCUFilter(true);
+			f7.setFilterInfoProducer(oufip);
+		}
+
+    /**
+     * output storeFields method
+     */
+    public void storeFields()
+    {
+		dataBinder.storeFields();
+    }
+
+	/**
+	 * ????????§µ??
+	 */
+	protected void registerValidator() {
+    	getValidateHelper().setCustomValidator( getValidator() );
+		getValidateHelper().registerBindProperty("number", ValidateHelper.ON_SAVE);    
+		getValidateHelper().registerBindProperty("name", ValidateHelper.ON_SAVE);    
+		getValidateHelper().registerBindProperty("simpleName", ValidateHelper.ON_SAVE);    
+		getValidateHelper().registerBindProperty("description", ValidateHelper.ON_SAVE);    		
+	}
+
+
+
+    /**
+     * output setOprtState method
+     */
+    public void setOprtState(String oprtType)
+    {
+        super.setOprtState(oprtType);
+        if (STATUS_ADDNEW.equals(this.oprtState)) {
+		            this.txtName.setEnabled(true);
+		            this.txtDescription.setEnabled(true);
+		            this.txtNumber.setEnabled(true);
+		            this.txtSimpleName.setEnabled(true);
+        } else if (STATUS_EDIT.equals(this.oprtState)) {
+		            this.txtName.setEnabled(true);
+		            this.txtDescription.setEnabled(true);
+		            this.txtNumber.setEnabled(true);
+		            this.txtSimpleName.setEnabled(true);
+        } else if (STATUS_VIEW.equals(this.oprtState)) {
+		            this.txtName.setEnabled(false);
+		            this.txtDescription.setEnabled(false);
+		            this.txtNumber.setEnabled(false);
+		            this.txtSimpleName.setEnabled(false);
+        }
+    }
+
+    /**
+     * output getSelectors method
+     */
+    public SelectorItemCollection getSelectors()
+    {
+        SelectorItemCollection sic = new SelectorItemCollection();
+		String selectorAll = System.getProperty("selector.all");
+		if(StringUtils.isEmpty(selectorAll)){
+			selectorAll = "true";
+		}
+        sic.add(new SelectorItemInfo("number"));
+        sic.add(new SelectorItemInfo("name"));
+        sic.add(new SelectorItemInfo("simpleName"));
+        sic.add(new SelectorItemInfo("description"));
+        return sic;
+    }        
+
+    /**
+     * output getMetaDataPK method
+     */
+    public IMetaDataPK getMetaDataPK()
+    {
+        return new MetaDataPK("com.kingdee.eas.hr.project.client", "TypeEditUI");
+    }
+
+    /**
+     * output getEditUIName method
+     */
+    protected String getEditUIName()
+    {
+        return com.kingdee.eas.hr.project.client.TypeEditUI.class.getName();
+    }
+
+    /**
+     * output getBizInterface method
+     */
+    protected com.kingdee.eas.framework.ICoreBase getBizInterface() throws Exception
+    {
+        return com.kingdee.eas.hr.project.TypeFactory.getRemoteInstance();
+    }
+
+    /**
+     * output createNewData method
+     */
+    protected IObjectValue createNewData()
+    {
+        com.kingdee.eas.hr.project.TypeInfo objectValue = new com.kingdee.eas.hr.project.TypeInfo();
+        objectValue.setCreator((com.kingdee.eas.base.permission.UserInfo)(com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentUser()));		
+        return objectValue;
+    }
+
+
+
+    /**
+     * output getDetailTable method
+     */
+    protected KDTable getDetailTable() {        
+        return null;
+	}
+    /**
+     * output applyDefaultValue method
+     */
+    protected void applyDefaultValue(IObjectValue vo) {        
+    }        
+	protected void setFieldsNull(com.kingdee.bos.dao.AbstractObjectValue arg0) {
+		super.setFieldsNull(arg0);
+		arg0.put("number",null);
+	}
+
+}

+ 5 - 0
src/com/kingdee/eas/hr/project/client/AbstractTypeEditUI.properties

@@ -0,0 +1,5 @@
+this.title=\u7C7B\u522B
+kDLabelContainer1.boundLabelText=\u7F16\u7801\:
+kDLabelContainer2.boundLabelText=\u540D\u79F0\:
+kDLabelContainer3.boundLabelText=\u7B80\u79F0\:
+kDLabelContainer4.boundLabelText=\u63CF\u8FF0\:

+ 5 - 0
src/com/kingdee/eas/hr/project/client/AbstractTypeEditUI_l1.properties

@@ -0,0 +1,5 @@
+this.title=
+kDLabelContainer1.boundLabelText=
+kDLabelContainer2.boundLabelText=
+kDLabelContainer3.boundLabelText=
+kDLabelContainer4.boundLabelText=

+ 5 - 0
src/com/kingdee/eas/hr/project/client/AbstractTypeEditUI_l2.properties

@@ -0,0 +1,5 @@
+this.title=\u7C7B\u522B
+kDLabelContainer1.boundLabelText=\u7F16\u7801\:
+kDLabelContainer2.boundLabelText=\u540D\u79F0\:
+kDLabelContainer3.boundLabelText=\u7B80\u79F0\:
+kDLabelContainer4.boundLabelText=\u63CF\u8FF0\:

+ 5 - 0
src/com/kingdee/eas/hr/project/client/AbstractTypeEditUI_l3.properties

@@ -0,0 +1,5 @@
+this.title=\u55AE\u7D1A\u57FA\u790E\u8CC7\u6599\u7BC4\u672C
+kDLabelContainer1.boundLabelText=\u7DE8\u78BC\:
+kDLabelContainer2.boundLabelText=\u540D\u7A31\:
+kDLabelContainer3.boundLabelText=\u7C21\u7A31\:
+kDLabelContainer4.boundLabelText=\u63CF\u8FF0\:

File diff suppressed because it is too large
+ 69 - 0
src/com/kingdee/eas/hr/project/client/AbstractTypeListUI.java


File diff suppressed because it is too large
+ 12 - 0
src/com/kingdee/eas/hr/project/client/AbstractTypeListUI.properties


File diff suppressed because it is too large
+ 11 - 0
src/com/kingdee/eas/hr/project/client/AbstractTypeListUI_l1.properties


File diff suppressed because it is too large
+ 12 - 0
src/com/kingdee/eas/hr/project/client/AbstractTypeListUI_l2.properties


File diff suppressed because it is too large
+ 12 - 0
src/com/kingdee/eas/hr/project/client/AbstractTypeListUI_l3.properties


+ 437 - 0
src/com/kingdee/eas/hr/project/client/TypeEditUI.java

@@ -0,0 +1,437 @@
+/**
+ * output package name
+ */
+package com.kingdee.eas.hr.project.client;
+
+import java.awt.event.*;
+import org.apache.log4j.Logger;
+import com.kingdee.bos.ui.face.CoreUIObject;
+import com.kingdee.bos.dao.IObjectValue;
+import com.kingdee.eas.framework.*;
+
+/**
+ * output class name
+ */
+public class TypeEditUI extends AbstractTypeEditUI
+{
+    private static final Logger logger = CoreUIObject.getLogger(TypeEditUI.class);
+    
+    /**
+     * output class constructor
+     */
+    public TypeEditUI() throws Exception
+    {
+        super();
+    }
+    /**
+     * output loadFields method
+     */
+    public void loadFields()
+    {
+        super.loadFields();
+    }
+
+    /**
+     * output storeFields method
+     */
+    public void storeFields()
+    {
+        super.storeFields();
+    }
+
+    /**
+     * output actionPageSetup_actionPerformed
+     */
+    public void actionPageSetup_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionPageSetup_actionPerformed(e);
+    }
+
+    /**
+     * output actionExitCurrent_actionPerformed
+     */
+    public void actionExitCurrent_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionExitCurrent_actionPerformed(e);
+    }
+
+    /**
+     * output actionHelp_actionPerformed
+     */
+    public void actionHelp_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionHelp_actionPerformed(e);
+    }
+
+    /**
+     * output actionAbout_actionPerformed
+     */
+    public void actionAbout_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionAbout_actionPerformed(e);
+    }
+
+    /**
+     * output actionOnLoad_actionPerformed
+     */
+    public void actionOnLoad_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionOnLoad_actionPerformed(e);
+    }
+
+    /**
+     * output actionSendMessage_actionPerformed
+     */
+    public void actionSendMessage_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionSendMessage_actionPerformed(e);
+    }
+
+    /**
+     * output actionCalculator_actionPerformed
+     */
+    public void actionCalculator_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionCalculator_actionPerformed(e);
+    }
+
+    /**
+     * output actionExport_actionPerformed
+     */
+    public void actionExport_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionExport_actionPerformed(e);
+    }
+
+    /**
+     * output actionExportSelected_actionPerformed
+     */
+    public void actionExportSelected_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionExportSelected_actionPerformed(e);
+    }
+
+    /**
+     * output actionRegProduct_actionPerformed
+     */
+    public void actionRegProduct_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionRegProduct_actionPerformed(e);
+    }
+
+    /**
+     * output actionPersonalSite_actionPerformed
+     */
+    public void actionPersonalSite_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionPersonalSite_actionPerformed(e);
+    }
+
+    /**
+     * output actionProcductVal_actionPerformed
+     */
+    public void actionProcductVal_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionProcductVal_actionPerformed(e);
+    }
+
+    /**
+     * output actionExportSave_actionPerformed
+     */
+    public void actionExportSave_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionExportSave_actionPerformed(e);
+    }
+
+    /**
+     * output actionExportSelectedSave_actionPerformed
+     */
+    public void actionExportSelectedSave_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionExportSelectedSave_actionPerformed(e);
+    }
+
+    /**
+     * output actionKnowStore_actionPerformed
+     */
+    public void actionKnowStore_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionKnowStore_actionPerformed(e);
+    }
+
+    /**
+     * output actionAnswer_actionPerformed
+     */
+    public void actionAnswer_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionAnswer_actionPerformed(e);
+    }
+
+    /**
+     * output actionRemoteAssist_actionPerformed
+     */
+    public void actionRemoteAssist_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionRemoteAssist_actionPerformed(e);
+    }
+
+    /**
+     * output actionPopupCopy_actionPerformed
+     */
+    public void actionPopupCopy_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionPopupCopy_actionPerformed(e);
+    }
+
+    /**
+     * output actionHTMLForMail_actionPerformed
+     */
+    public void actionHTMLForMail_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionHTMLForMail_actionPerformed(e);
+    }
+
+    /**
+     * output actionExcelForMail_actionPerformed
+     */
+    public void actionExcelForMail_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionExcelForMail_actionPerformed(e);
+    }
+
+    /**
+     * output actionHTMLForRpt_actionPerformed
+     */
+    public void actionHTMLForRpt_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionHTMLForRpt_actionPerformed(e);
+    }
+
+    /**
+     * output actionExcelForRpt_actionPerformed
+     */
+    public void actionExcelForRpt_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionExcelForRpt_actionPerformed(e);
+    }
+
+    /**
+     * output actionLinkForRpt_actionPerformed
+     */
+    public void actionLinkForRpt_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionLinkForRpt_actionPerformed(e);
+    }
+
+    /**
+     * output actionPopupPaste_actionPerformed
+     */
+    public void actionPopupPaste_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionPopupPaste_actionPerformed(e);
+    }
+
+    /**
+     * output actionToolBarCustom_actionPerformed
+     */
+    public void actionToolBarCustom_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionToolBarCustom_actionPerformed(e);
+    }
+
+    /**
+     * output actionCloudFeed_actionPerformed
+     */
+    public void actionCloudFeed_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionCloudFeed_actionPerformed(e);
+    }
+
+    /**
+     * output actionCloudShare_actionPerformed
+     */
+    public void actionCloudShare_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionCloudShare_actionPerformed(e);
+    }
+
+    /**
+     * output actionCloudScreen_actionPerformed
+     */
+    public void actionCloudScreen_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionCloudScreen_actionPerformed(e);
+    }
+
+    /**
+     * output actionXunTongFeed_actionPerformed
+     */
+    public void actionXunTongFeed_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionXunTongFeed_actionPerformed(e);
+    }
+
+    /**
+     * output actionSave_actionPerformed
+     */
+    public void actionSave_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionSave_actionPerformed(e);
+    }
+
+    /**
+     * output actionSubmit_actionPerformed
+     */
+    public void actionSubmit_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionSubmit_actionPerformed(e);
+    }
+
+    /**
+     * output actionCancel_actionPerformed
+     */
+    public void actionCancel_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionCancel_actionPerformed(e);
+    }
+
+    /**
+     * output actionCancelCancel_actionPerformed
+     */
+    public void actionCancelCancel_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionCancelCancel_actionPerformed(e);
+    }
+
+    /**
+     * output actionFirst_actionPerformed
+     */
+    public void actionFirst_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionFirst_actionPerformed(e);
+    }
+
+    /**
+     * output actionPre_actionPerformed
+     */
+    public void actionPre_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionPre_actionPerformed(e);
+    }
+
+    /**
+     * output actionNext_actionPerformed
+     */
+    public void actionNext_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionNext_actionPerformed(e);
+    }
+
+    /**
+     * output actionLast_actionPerformed
+     */
+    public void actionLast_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionLast_actionPerformed(e);
+    }
+
+    /**
+     * output actionPrint_actionPerformed
+     */
+    public void actionPrint_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionPrint_actionPerformed(e);
+    }
+
+    /**
+     * output actionPrintPreview_actionPerformed
+     */
+    public void actionPrintPreview_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionPrintPreview_actionPerformed(e);
+    }
+
+    /**
+     * output actionCopy_actionPerformed
+     */
+    public void actionCopy_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionCopy_actionPerformed(e);
+    }
+
+    /**
+     * output actionAddNew_actionPerformed
+     */
+    public void actionAddNew_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionAddNew_actionPerformed(e);
+    }
+
+    /**
+     * output actionEdit_actionPerformed
+     */
+    public void actionEdit_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionEdit_actionPerformed(e);
+    }
+
+    /**
+     * output actionRemove_actionPerformed
+     */
+    public void actionRemove_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionRemove_actionPerformed(e);
+    }
+
+    /**
+     * output actionAttachment_actionPerformed
+     */
+    public void actionAttachment_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionAttachment_actionPerformed(e);
+    }
+
+    /**
+     * output actionSubmitOption_actionPerformed
+     */
+    public void actionSubmitOption_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionSubmitOption_actionPerformed(e);
+    }
+
+    /**
+     * output actionReset_actionPerformed
+     */
+    public void actionReset_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionReset_actionPerformed(e);
+    }
+
+    /**
+     * output actionMsgFormat_actionPerformed
+     */
+    public void actionMsgFormat_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionMsgFormat_actionPerformed(e);
+    }
+
+    /**
+     * output getBizInterface method
+     */
+    protected com.kingdee.eas.framework.ICoreBase getBizInterface() throws Exception
+    {
+        return com.kingdee.eas.hr.project.TypeFactory.getRemoteInstance();
+    }
+
+    /**
+     * output createNewData method
+     */
+    protected com.kingdee.bos.dao.IObjectValue createNewData()
+    {
+        com.kingdee.eas.hr.project.TypeInfo objectValue = new com.kingdee.eas.hr.project.TypeInfo();
+        objectValue.setCreator((com.kingdee.eas.base.permission.UserInfo)(com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentUser()));
+		
+        return objectValue;
+    }
+
+}

+ 445 - 0
src/com/kingdee/eas/hr/project/client/TypeListUI.java

@@ -0,0 +1,445 @@
+/**
+ * output package name
+ */
+package com.kingdee.eas.hr.project.client;
+
+import java.awt.event.*;
+import org.apache.log4j.Logger;
+import com.kingdee.bos.ui.face.CoreUIObject;
+import com.kingdee.bos.dao.IObjectValue;
+import com.kingdee.eas.framework.*;
+
+/**
+ * output class name
+ */
+public class TypeListUI extends AbstractTypeListUI
+{
+    private static final Logger logger = CoreUIObject.getLogger(TypeListUI.class);
+    
+    /**
+     * output class constructor
+     */
+    public TypeListUI() throws Exception
+    {
+        super();
+    }
+
+    /**
+     * output storeFields method
+     */
+    public void storeFields()
+    {
+        super.storeFields();
+    }
+
+    /**
+     * output tblMain_tableClicked method
+     */
+    protected void tblMain_tableClicked(com.kingdee.bos.ctrl.kdf.table.event.KDTMouseEvent e) throws Exception
+    {
+        super.tblMain_tableClicked(e);
+    }
+
+    /**
+     * output menuItemImportData_actionPerformed method
+     */
+    protected void menuItemImportData_actionPerformed(java.awt.event.ActionEvent e) throws Exception
+    {
+        super.menuItemImportData_actionPerformed(e);
+    }
+
+    /**
+     * output actionPageSetup_actionPerformed
+     */
+    public void actionPageSetup_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionPageSetup_actionPerformed(e);
+    }
+
+    /**
+     * output actionExitCurrent_actionPerformed
+     */
+    public void actionExitCurrent_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionExitCurrent_actionPerformed(e);
+    }
+
+    /**
+     * output actionHelp_actionPerformed
+     */
+    public void actionHelp_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionHelp_actionPerformed(e);
+    }
+
+    /**
+     * output actionAbout_actionPerformed
+     */
+    public void actionAbout_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionAbout_actionPerformed(e);
+    }
+
+    /**
+     * output actionOnLoad_actionPerformed
+     */
+    public void actionOnLoad_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionOnLoad_actionPerformed(e);
+    }
+
+    /**
+     * output actionSendMessage_actionPerformed
+     */
+    public void actionSendMessage_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionSendMessage_actionPerformed(e);
+    }
+
+    /**
+     * output actionCalculator_actionPerformed
+     */
+    public void actionCalculator_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionCalculator_actionPerformed(e);
+    }
+
+    /**
+     * output actionExport_actionPerformed
+     */
+    public void actionExport_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionExport_actionPerformed(e);
+    }
+
+    /**
+     * output actionExportSelected_actionPerformed
+     */
+    public void actionExportSelected_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionExportSelected_actionPerformed(e);
+    }
+
+    /**
+     * output actionRegProduct_actionPerformed
+     */
+    public void actionRegProduct_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionRegProduct_actionPerformed(e);
+    }
+
+    /**
+     * output actionPersonalSite_actionPerformed
+     */
+    public void actionPersonalSite_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionPersonalSite_actionPerformed(e);
+    }
+
+    /**
+     * output actionProcductVal_actionPerformed
+     */
+    public void actionProcductVal_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionProcductVal_actionPerformed(e);
+    }
+
+    /**
+     * output actionExportSave_actionPerformed
+     */
+    public void actionExportSave_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionExportSave_actionPerformed(e);
+    }
+
+    /**
+     * output actionExportSelectedSave_actionPerformed
+     */
+    public void actionExportSelectedSave_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionExportSelectedSave_actionPerformed(e);
+    }
+
+    /**
+     * output actionKnowStore_actionPerformed
+     */
+    public void actionKnowStore_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionKnowStore_actionPerformed(e);
+    }
+
+    /**
+     * output actionAnswer_actionPerformed
+     */
+    public void actionAnswer_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionAnswer_actionPerformed(e);
+    }
+
+    /**
+     * output actionRemoteAssist_actionPerformed
+     */
+    public void actionRemoteAssist_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionRemoteAssist_actionPerformed(e);
+    }
+
+    /**
+     * output actionPopupCopy_actionPerformed
+     */
+    public void actionPopupCopy_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionPopupCopy_actionPerformed(e);
+    }
+
+    /**
+     * output actionHTMLForMail_actionPerformed
+     */
+    public void actionHTMLForMail_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionHTMLForMail_actionPerformed(e);
+    }
+
+    /**
+     * output actionExcelForMail_actionPerformed
+     */
+    public void actionExcelForMail_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionExcelForMail_actionPerformed(e);
+    }
+
+    /**
+     * output actionHTMLForRpt_actionPerformed
+     */
+    public void actionHTMLForRpt_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionHTMLForRpt_actionPerformed(e);
+    }
+
+    /**
+     * output actionExcelForRpt_actionPerformed
+     */
+    public void actionExcelForRpt_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionExcelForRpt_actionPerformed(e);
+    }
+
+    /**
+     * output actionLinkForRpt_actionPerformed
+     */
+    public void actionLinkForRpt_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionLinkForRpt_actionPerformed(e);
+    }
+
+    /**
+     * output actionPopupPaste_actionPerformed
+     */
+    public void actionPopupPaste_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionPopupPaste_actionPerformed(e);
+    }
+
+    /**
+     * output actionToolBarCustom_actionPerformed
+     */
+    public void actionToolBarCustom_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionToolBarCustom_actionPerformed(e);
+    }
+
+    /**
+     * output actionCloudFeed_actionPerformed
+     */
+    public void actionCloudFeed_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionCloudFeed_actionPerformed(e);
+    }
+
+    /**
+     * output actionCloudShare_actionPerformed
+     */
+    public void actionCloudShare_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionCloudShare_actionPerformed(e);
+    }
+
+    /**
+     * output actionCloudScreen_actionPerformed
+     */
+    public void actionCloudScreen_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionCloudScreen_actionPerformed(e);
+    }
+
+    /**
+     * output actionXunTongFeed_actionPerformed
+     */
+    public void actionXunTongFeed_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionXunTongFeed_actionPerformed(e);
+    }
+
+    /**
+     * output actionAddNew_actionPerformed
+     */
+    public void actionAddNew_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionAddNew_actionPerformed(e);
+    }
+
+    /**
+     * output actionView_actionPerformed
+     */
+    public void actionView_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionView_actionPerformed(e);
+    }
+
+    /**
+     * output actionEdit_actionPerformed
+     */
+    public void actionEdit_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionEdit_actionPerformed(e);
+    }
+
+    /**
+     * output actionRemove_actionPerformed
+     */
+    public void actionRemove_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionRemove_actionPerformed(e);
+    }
+
+    /**
+     * output actionRefresh_actionPerformed
+     */
+    public void actionRefresh_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionRefresh_actionPerformed(e);
+    }
+
+    /**
+     * output actionPrint_actionPerformed
+     */
+    public void actionPrint_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionPrint_actionPerformed(e);
+    }
+
+    /**
+     * output actionPrintPreview_actionPerformed
+     */
+    public void actionPrintPreview_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionPrintPreview_actionPerformed(e);
+    }
+
+    /**
+     * output actionLocate_actionPerformed
+     */
+    public void actionLocate_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionLocate_actionPerformed(e);
+    }
+
+    /**
+     * output actionQuery_actionPerformed
+     */
+    public void actionQuery_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionQuery_actionPerformed(e);
+    }
+
+    /**
+     * output actionImportData_actionPerformed
+     */
+    public void actionImportData_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionImportData_actionPerformed(e);
+    }
+
+    /**
+     * output actionAttachment_actionPerformed
+     */
+    public void actionAttachment_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionAttachment_actionPerformed(e);
+    }
+
+    /**
+     * output actionExportData_actionPerformed
+     */
+    public void actionExportData_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionExportData_actionPerformed(e);
+    }
+
+    /**
+     * output actionToExcel_actionPerformed
+     */
+    public void actionToExcel_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionToExcel_actionPerformed(e);
+    }
+
+    /**
+     * output actionStartWorkFlow_actionPerformed
+     */
+    public void actionStartWorkFlow_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionStartWorkFlow_actionPerformed(e);
+    }
+
+    /**
+     * output actionPublishReport_actionPerformed
+     */
+    public void actionPublishReport_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionPublishReport_actionPerformed(e);
+    }
+
+    /**
+     * output actionCancel_actionPerformed
+     */
+    public void actionCancel_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionCancel_actionPerformed(e);
+    }
+
+    /**
+     * output actionCancelCancel_actionPerformed
+     */
+    public void actionCancelCancel_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionCancelCancel_actionPerformed(e);
+    }
+
+    /**
+     * output actionQueryScheme_actionPerformed
+     */
+    public void actionQueryScheme_actionPerformed(ActionEvent e) throws Exception
+    {
+        super.actionQueryScheme_actionPerformed(e);
+    }
+
+    /**
+     * output getBizInterface method
+     */
+    protected com.kingdee.eas.framework.ICoreBase getBizInterface() throws Exception
+    {
+        return com.kingdee.eas.hr.project.TypeFactory.getRemoteInstance();
+    }
+
+    /**
+     * output createNewData method
+     */
+    protected com.kingdee.bos.dao.IObjectValue createNewData()
+    {
+        com.kingdee.eas.hr.project.TypeInfo objectValue = new com.kingdee.eas.hr.project.TypeInfo();
+		
+        return objectValue;
+    }
+
+}

+ 63 - 0
src/com/kingdee/eas/hr/project/dataSource.java

@@ -0,0 +1,63 @@
+/**
+ * output package name
+ */
+package com.kingdee.eas.hr.project;
+
+import java.util.Map;
+import java.util.List;
+import java.util.Iterator;
+import com.kingdee.util.enums.StringEnum;
+
+/**
+ * output class name
+ */
+public class dataSource extends StringEnum
+{
+    public static final String EMPLOYEEREPORT_VALUE = "员工填报";//alias=员工填报
+    public static final String WORKHOURSCAL_VALUE = "工时计算";//alias=工时计算
+
+    public static final dataSource employeeReport = new dataSource("employeeReport", EMPLOYEEREPORT_VALUE);
+    public static final dataSource workHoursCal = new dataSource("workHoursCal", WORKHOURSCAL_VALUE);
+
+    /**
+     * construct function
+     * @param String dataSource
+     */
+    private dataSource(String name, String dataSource)
+    {
+        super(name, dataSource);
+    }
+    
+    /**
+     * getEnum function
+     * @param String arguments
+     */
+    public static dataSource getEnum(String dataSource)
+    {
+        return (dataSource)getEnum(dataSource.class, dataSource);
+    }
+
+    /**
+     * getEnumMap function
+     */
+    public static Map getEnumMap()
+    {
+        return getEnumMap(dataSource.class);
+    }
+
+    /**
+     * getEnumList function
+     */
+    public static List getEnumList()
+    {
+         return getEnumList(dataSource.class);
+    }
+    
+    /**
+     * getIterator function
+     */
+    public static Iterator iterator()
+    {
+         return iterator(dataSource.class);
+    }
+}

+ 2 - 0
src/com/kingdee/eas/hr/project/dataSource.properties

@@ -0,0 +1,2 @@
+employeeReport=\u5458\u5DE5\u586B\u62A5
+workHoursCal=\u5DE5\u65F6\u8BA1\u7B97

+ 2 - 0
src/com/kingdee/eas/hr/project/dataSource_l1.properties

@@ -0,0 +1,2 @@
+employeeReport=
+workHoursCal=

+ 2 - 0
src/com/kingdee/eas/hr/project/dataSource_l2.properties

@@ -0,0 +1,2 @@
+employeeReport=\u5458\u5DE5\u586B\u62A5
+workHoursCal=\u5DE5\u65F6\u8BA1\u7B97

+ 2 - 0
src/com/kingdee/eas/hr/project/dataSource_l3.properties

@@ -0,0 +1,2 @@
+employeeReport=
+workHoursCal=

Some files were not shown because too many files changed in this diff