⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 scripts.java

📁 CRM源码This file describes some issues that should be implemented in future and how it should be imple
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
/* * This class was automatically generated with  * <a href="http://www.castor.org">Castor 0.9.7</a>, using an XML * Schema. * $Id$ */package com.queplix.core.jxb.entity;  //---------------------------------/ //- Imported classes and packages -///---------------------------------/import java.io.IOException;import java.io.Reader;import java.io.Serializable;import java.io.Writer;import java.util.ArrayList;import java.util.Enumeration;import org.exolab.castor.xml.MarshalException;import org.exolab.castor.xml.Marshaller;import org.exolab.castor.xml.Unmarshaller;import org.exolab.castor.xml.ValidationException;import org.xml.sax.ContentHandler;/** * The custom update scripts description *  * @version $Revision$ $Date$ */public class Scripts extends com.queplix.core.utils.jxb.JXBObject implements java.io.Serializable{      //--------------------------/     //- Class/Member Variables -/    //--------------------------/    /**     * Script which executes after get new record     */    private java.util.ArrayList _afternewList;    /**     * Script which executes before update/insert operations     */    private java.util.ArrayList _beforeupdateList;    /**     * Script which executes instead of update/insert operations     */    private com.queplix.core.jxb.entity.Update _update;    /**     * Script which executes after update/insert operations     */    private java.util.ArrayList _afterupdateList;    /**     * Script which executes before delete operation     */    private java.util.ArrayList _beforedeleteList;    /**     * Script which executes instead of delete operation     */    private com.queplix.core.jxb.entity.Delete _delete;    /**     * Script which executes after delete operation     */    private java.util.ArrayList _afterdeleteList;      //----------------/     //- Constructors -/    //----------------/    public Scripts()      {        super();        _afternewList = new ArrayList();        _beforeupdateList = new ArrayList();        _afterupdateList = new ArrayList();        _beforedeleteList = new ArrayList();        _afterdeleteList = new ArrayList();    } //-- com.queplix.core.jxb.entity.Scripts()      //-----------/     //- Methods -/    //-----------/    /**     * Method addAfterdelete     *      *      *      * @param vAfterdelete     */    public void addAfterdelete(com.queplix.core.jxb.entity.Afterdelete vAfterdelete)        throws java.lang.IndexOutOfBoundsException    {        _afterdeleteList.add(vAfterdelete);    } //-- void addAfterdelete(com.queplix.core.jxb.entity.Afterdelete)     /**     * Method addAfterdelete     *      *      *      * @param index     * @param vAfterdelete     */    public void addAfterdelete(int index, com.queplix.core.jxb.entity.Afterdelete vAfterdelete)        throws java.lang.IndexOutOfBoundsException    {        _afterdeleteList.add(index, vAfterdelete);    } //-- void addAfterdelete(int, com.queplix.core.jxb.entity.Afterdelete)     /**     * Method addAfternew     *      *      *      * @param vAfternew     */    public void addAfternew(com.queplix.core.jxb.entity.Afternew vAfternew)        throws java.lang.IndexOutOfBoundsException    {        _afternewList.add(vAfternew);    } //-- void addAfternew(com.queplix.core.jxb.entity.Afternew)     /**     * Method addAfternew     *      *      *      * @param index     * @param vAfternew     */    public void addAfternew(int index, com.queplix.core.jxb.entity.Afternew vAfternew)        throws java.lang.IndexOutOfBoundsException    {        _afternewList.add(index, vAfternew);    } //-- void addAfternew(int, com.queplix.core.jxb.entity.Afternew)     /**     * Method addAfterupdate     *      *      *      * @param vAfterupdate     */    public void addAfterupdate(com.queplix.core.jxb.entity.Afterupdate vAfterupdate)        throws java.lang.IndexOutOfBoundsException    {        _afterupdateList.add(vAfterupdate);    } //-- void addAfterupdate(com.queplix.core.jxb.entity.Afterupdate)     /**     * Method addAfterupdate     *      *      *      * @param index     * @param vAfterupdate     */    public void addAfterupdate(int index, com.queplix.core.jxb.entity.Afterupdate vAfterupdate)        throws java.lang.IndexOutOfBoundsException    {        _afterupdateList.add(index, vAfterupdate);    } //-- void addAfterupdate(int, com.queplix.core.jxb.entity.Afterupdate)     /**     * Method addBeforedelete     *      *      *      * @param vBeforedelete     */    public void addBeforedelete(com.queplix.core.jxb.entity.Beforedelete vBeforedelete)        throws java.lang.IndexOutOfBoundsException    {        _beforedeleteList.add(vBeforedelete);    } //-- void addBeforedelete(com.queplix.core.jxb.entity.Beforedelete)     /**     * Method addBeforedelete     *      *      *      * @param index     * @param vBeforedelete     */    public void addBeforedelete(int index, com.queplix.core.jxb.entity.Beforedelete vBeforedelete)        throws java.lang.IndexOutOfBoundsException    {        _beforedeleteList.add(index, vBeforedelete);    } //-- void addBeforedelete(int, com.queplix.core.jxb.entity.Beforedelete)     /**     * Method addBeforeupdate     *      *      *      * @param vBeforeupdate     */    public void addBeforeupdate(com.queplix.core.jxb.entity.Beforeupdate vBeforeupdate)        throws java.lang.IndexOutOfBoundsException    {        _beforeupdateList.add(vBeforeupdate);    } //-- void addBeforeupdate(com.queplix.core.jxb.entity.Beforeupdate)     /**     * Method addBeforeupdate     *      *      *      * @param index     * @param vBeforeupdate     */    public void addBeforeupdate(int index, com.queplix.core.jxb.entity.Beforeupdate vBeforeupdate)        throws java.lang.IndexOutOfBoundsException    {        _beforeupdateList.add(index, vBeforeupdate);    } //-- void addBeforeupdate(int, com.queplix.core.jxb.entity.Beforeupdate)     /**     * Method clearAfterdelete     *      */    public void clearAfterdelete()    {        _afterdeleteList.clear();    } //-- void clearAfterdelete()     /**     * Method clearAfternew     *      */    public void clearAfternew()    {        _afternewList.clear();    } //-- void clearAfternew()     /**     * Method clearAfterupdate     *      */    public void clearAfterupdate()    {        _afterupdateList.clear();    } //-- void clearAfterupdate()     /**     * Method clearBeforedelete     *      */    public void clearBeforedelete()    {        _beforedeleteList.clear();    } //-- void clearBeforedelete()     /**     * Method clearBeforeupdate     *      */    public void clearBeforeupdate()    {        _beforeupdateList.clear();    } //-- void clearBeforeupdate()     /**     * Method enumerateAfterdelete     *      *      *      * @return Enumeration     */    public java.util.Enumeration enumerateAfterdelete()    {        return new org.exolab.castor.util.IteratorEnumeration(_afterdeleteList.iterator());    } //-- java.util.Enumeration enumerateAfterdelete()     /**     * Method enumerateAfternew     *      *      *      * @return Enumeration     */    public java.util.Enumeration enumerateAfternew()    {        return new org.exolab.castor.util.IteratorEnumeration(_afternewList.iterator());    } //-- java.util.Enumeration enumerateAfternew()     /**     * Method enumerateAfterupdate     *      *      *      * @return Enumeration     */    public java.util.Enumeration enumerateAfterupdate()    {        return new org.exolab.castor.util.IteratorEnumeration(_afterupdateList.iterator());    } //-- java.util.Enumeration enumerateAfterupdate()     /**     * Method enumerateBeforedelete     *      *      *      * @return Enumeration     */    public java.util.Enumeration enumerateBeforedelete()    {        return new org.exolab.castor.util.IteratorEnumeration(_beforedeleteList.iterator());    } //-- java.util.Enumeration enumerateBeforedelete()     /**     * Method enumerateBeforeupdate     *      *      *      * @return Enumeration     */    public java.util.Enumeration enumerateBeforeupdate()    {        return new org.exolab.castor.util.IteratorEnumeration(_beforeupdateList.iterator());    } //-- java.util.Enumeration enumerateBeforeupdate()     /**     * Method getAfterdelete     *      *      *      * @param index     * @return Afterdelete     */    public com.queplix.core.jxb.entity.Afterdelete getAfterdelete(int index)        throws java.lang.IndexOutOfBoundsException    {        //-- check bounds for index        if ((index < 0) || (index > _afterdeleteList.size())) {            throw new IndexOutOfBoundsException();        }                return (com.queplix.core.jxb.entity.Afterdelete) _afterdeleteList.get(index);    } //-- com.queplix.core.jxb.entity.Afterdelete getAfterdelete(int)     /**     * Method getAfterdelete     *      *      *      * @return Afterdelete     */    public com.queplix.core.jxb.entity.Afterdelete[] getAfterdelete()    {        int size = _afterdeleteList.size();        com.queplix.core.jxb.entity.Afterdelete[] mArray = new com.queplix.core.jxb.entity.Afterdelete[size];        for (int index = 0; index < size; index++) {            mArray[index] = (com.queplix.core.jxb.entity.Afterdelete) _afterdeleteList.get(index);        }        return mArray;    } //-- com.queplix.core.jxb.entity.Afterdelete[] getAfterdelete()     /**     * Method getAfterdeleteCount     *      *      *      * @return int     */    public int getAfterdeleteCount()    {        return _afterdeleteList.size();    } //-- int getAfterdeleteCount()     /**     * Method getAfternew     *      *      *      * @param index     * @return Afternew     */    public com.queplix.core.jxb.entity.Afternew getAfternew(int index)        throws java.lang.IndexOutOfBoundsException    {        //-- check bounds for index        if ((index < 0) || (index > _afternewList.size())) {            throw new IndexOutOfBoundsException();        }                return (com.queplix.core.jxb.entity.Afternew) _afternewList.get(index);    } //-- com.queplix.core.jxb.entity.Afternew getAfternew(int)     /**     * Method getAfternew     *      *      *      * @return Afternew     */    public com.queplix.core.jxb.entity.Afternew[] getAfternew()    {        int size = _afternewList.size();        com.queplix.core.jxb.entity.Afternew[] mArray = new com.queplix.core.jxb.entity.Afternew[size];        for (int index = 0; index < size; index++) {            mArray[index] = (com.queplix.core.jxb.entity.Afternew) _afternewList.get(index);        }        return mArray;    } //-- com.queplix.core.jxb.entity.Afternew[] getAfternew()     /**     * Method getAfternewCount     *      *      *      * @return int     */    public int getAfternewCount()    {        return _afternewList.size();    } //-- int getAfternewCount()     /**     * Method getAfterupdate     *      *      *      * @param index     * @return Afterupdate     */    public com.queplix.core.jxb.entity.Afterupdate getAfterupdate(int index)        throws java.lang.IndexOutOfBoundsException    {        //-- check bounds for index        if ((index < 0) || (index > _afterupdateList.size())) {            throw new IndexOutOfBoundsException();        }                return (com.queplix.core.jxb.entity.Afterupdate) _afterupdateList.get(index);    } //-- com.queplix.core.jxb.entity.Afterupdate getAfterupdate(int)     /**     * Method getAfterupdate     *      *      *      * @return Afterupdate     */    public com.queplix.core.jxb.entity.Afterupdate[] getAfterupdate()    {        int size = _afterupdateList.size();        com.queplix.core.jxb.entity.Afterupdate[] mArray = new com.queplix.core.jxb.entity.Afterupdate[size];        for (int index = 0; index < size; index++) {            mArray[index] = (com.queplix.core.jxb.entity.Afterupdate) _afterupdateList.get(index);        }        return mArray;    } //-- com.queplix.core.jxb.entity.Afterupdate[] getAfterupdate()     /**     * Method getAfterupdateCount     * 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -