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

📄 qxdates.java

📁 CRM源码This file describes some issues that should be implemented in future and how it should be imple
💻 JAVA
字号:
/* * 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.modules.eqlext.jxb.calendar;  //---------------------------------/ //- 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;/** * Class Qxdates. *  * @version $Revision$ $Date$ */public class Qxdates extends com.queplix.core.utils.jxb.JXBObject implements java.io.Serializable{      //--------------------------/     //- Class/Member Variables -/    //--------------------------/    /**     * Field _qxdateList     */    private java.util.ArrayList _qxdateList;      //----------------/     //- Constructors -/    //----------------/    public Qxdates()      {        super();        _qxdateList = new ArrayList();    } //-- com.queplix.core.modules.eqlext.jxb.calendar.Qxdates()      //-----------/     //- Methods -/    //-----------/    /**     * Method addQxdate     *      *      *      * @param vQxdate     */    public void addQxdate(com.queplix.core.modules.eqlext.jxb.calendar.Qxdate vQxdate)        throws java.lang.IndexOutOfBoundsException    {        _qxdateList.add(vQxdate);    } //-- void addQxdate(com.queplix.core.modules.eqlext.jxb.calendar.Qxdate)     /**     * Method addQxdate     *      *      *      * @param index     * @param vQxdate     */    public void addQxdate(int index, com.queplix.core.modules.eqlext.jxb.calendar.Qxdate vQxdate)        throws java.lang.IndexOutOfBoundsException    {        _qxdateList.add(index, vQxdate);    } //-- void addQxdate(int, com.queplix.core.modules.eqlext.jxb.calendar.Qxdate)     /**     * Method clearQxdate     *      */    public void clearQxdate()    {        _qxdateList.clear();    } //-- void clearQxdate()     /**     * Method enumerateQxdate     *      *      *      * @return Enumeration     */    public java.util.Enumeration enumerateQxdate()    {        return new org.exolab.castor.util.IteratorEnumeration(_qxdateList.iterator());    } //-- java.util.Enumeration enumerateQxdate()     /**     * Method getQxdate     *      *      *      * @param index     * @return Qxdate     */    public com.queplix.core.modules.eqlext.jxb.calendar.Qxdate getQxdate(int index)        throws java.lang.IndexOutOfBoundsException    {        //-- check bounds for index        if ((index < 0) || (index > _qxdateList.size())) {            throw new IndexOutOfBoundsException();        }                return (com.queplix.core.modules.eqlext.jxb.calendar.Qxdate) _qxdateList.get(index);    } //-- com.queplix.core.modules.eqlext.jxb.calendar.Qxdate getQxdate(int)     /**     * Method getQxdate     *      *      *      * @return Qxdate     */    public com.queplix.core.modules.eqlext.jxb.calendar.Qxdate[] getQxdate()    {        int size = _qxdateList.size();        com.queplix.core.modules.eqlext.jxb.calendar.Qxdate[] mArray = new com.queplix.core.modules.eqlext.jxb.calendar.Qxdate[size];        for (int index = 0; index < size; index++) {            mArray[index] = (com.queplix.core.modules.eqlext.jxb.calendar.Qxdate) _qxdateList.get(index);        }        return mArray;    } //-- com.queplix.core.modules.eqlext.jxb.calendar.Qxdate[] getQxdate()     /**     * Method getQxdateCount     *      *      *      * @return int     */    public int getQxdateCount()    {        return _qxdateList.size();    } //-- int getQxdateCount()     /**     * Method isValid     *      *      *      * @return boolean     */    public boolean isValid()    {        try {            validate();        }        catch (org.exolab.castor.xml.ValidationException vex) {            return false;        }        return true;    } //-- boolean isValid()     /**     * Method marshal     *      *      *      * @param out     */    public void marshal(java.io.Writer out)        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException    {                Marshaller.marshal(this, out);    } //-- void marshal(java.io.Writer)     /**     * Method marshal     *      *      *      * @param handler     */    public void marshal(org.xml.sax.ContentHandler handler)        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException    {                Marshaller.marshal(this, handler);    } //-- void marshal(org.xml.sax.ContentHandler)     /**     * Method removeQxdate     *      *      *      * @param vQxdate     * @return boolean     */    public boolean removeQxdate(com.queplix.core.modules.eqlext.jxb.calendar.Qxdate vQxdate)    {        boolean removed = _qxdateList.remove(vQxdate);        return removed;    } //-- boolean removeQxdate(com.queplix.core.modules.eqlext.jxb.calendar.Qxdate)     /**     * Method setQxdate     *      *      *      * @param index     * @param vQxdate     */    public void setQxdate(int index, com.queplix.core.modules.eqlext.jxb.calendar.Qxdate vQxdate)        throws java.lang.IndexOutOfBoundsException    {        //-- check bounds for index        if ((index < 0) || (index > _qxdateList.size())) {            throw new IndexOutOfBoundsException();        }        _qxdateList.set(index, vQxdate);    } //-- void setQxdate(int, com.queplix.core.modules.eqlext.jxb.calendar.Qxdate)     /**     * Method setQxdate     *      *      *      * @param qxdateArray     */    public void setQxdate(com.queplix.core.modules.eqlext.jxb.calendar.Qxdate[] qxdateArray)    {        //-- copy array        _qxdateList.clear();        for (int i = 0; i < qxdateArray.length; i++) {            _qxdateList.add(qxdateArray[i]);        }    } //-- void setQxdate(com.queplix.core.modules.eqlext.jxb.calendar.Qxdate)     /**     * Method unmarshal     *      *      *      * @param reader     * @return Object     */    public static java.lang.Object unmarshal(java.io.Reader reader)        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException    {        return (com.queplix.core.modules.eqlext.jxb.calendar.Qxdates) Unmarshaller.unmarshal(com.queplix.core.modules.eqlext.jxb.calendar.Qxdates.class, reader);    } //-- java.lang.Object unmarshal(java.io.Reader)     /**     * Method validate     *      */    public void validate()        throws org.exolab.castor.xml.ValidationException    {        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();        validator.validate(this);    } //-- void validate() }

⌨️ 快捷键说明

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