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

📄 sreqdataset.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.sr;  //---------------------------------/ //- Imported classes and packages -///---------------------------------/import org.exolab.castor.xml.Marshaller;import org.exolab.castor.xml.Unmarshaller;import java.util.ArrayList;/** * Class SreqDataset. *  * @version $Revision$ $Date$ */public class SreqDataset extends com.queplix.core.utils.jxb.JXBObject implements java.io.Serializable{      //--------------------------/     //- Class/Member Variables -/    //--------------------------/    /**     * Field _name     */    private java.lang.String _name;    /**     * Field _external     */    private java.lang.String _external;    /**     * Field _internal     */    private java.lang.String _internal;    /**     * Field _entity     */    private java.lang.String _entity;    /**     * Field _sreqRecordList     */    private java.util.ArrayList _sreqRecordList;      //----------------/     //- Constructors -/    //----------------/    public SreqDataset()      {        super();        _sreqRecordList = new ArrayList();    } //-- com.queplix.core.modules.eqlext.jxb.sr.SreqDataset()      //-----------/     //- Methods -/    //-----------/    /**     * Method addSreqRecord     *      *      *      * @param vSreqRecord     */    public void addSreqRecord(com.queplix.core.modules.eqlext.jxb.sr.SreqRecord vSreqRecord)        throws java.lang.IndexOutOfBoundsException    {        _sreqRecordList.add(vSreqRecord);    } //-- void addSreqRecord(com.queplix.core.modules.eqlext.jxb.sr.SreqRecord)     /**     * Method addSreqRecord     *      *      *      * @param index     * @param vSreqRecord     */    public void addSreqRecord(int index, com.queplix.core.modules.eqlext.jxb.sr.SreqRecord vSreqRecord)        throws java.lang.IndexOutOfBoundsException    {        _sreqRecordList.add(index, vSreqRecord);    } //-- void addSreqRecord(int, com.queplix.core.modules.eqlext.jxb.sr.SreqRecord)     /**     * Method clearSreqRecord     *      */    public void clearSreqRecord()    {        _sreqRecordList.clear();    } //-- void clearSreqRecord()     /**     * Method enumerateSreqRecord     *      *      *      * @return Enumeration     */    public java.util.Enumeration enumerateSreqRecord()    {        return new org.exolab.castor.util.IteratorEnumeration(_sreqRecordList.iterator());    } //-- java.util.Enumeration enumerateSreqRecord()     /**     * Returns the value of field 'entity'.     *      * @return String     * @return the value of field 'entity'.     */    public java.lang.String getEntity()    {        return this._entity;    } //-- java.lang.String getEntity()     /**     * Returns the value of field 'external'.     *      * @return String     * @return the value of field 'external'.     */    public java.lang.String getExternal()    {        return this._external;    } //-- java.lang.String getExternal()     /**     * Returns the value of field 'internal'.     *      * @return String     * @return the value of field 'internal'.     */    public java.lang.String getInternal()    {        return this._internal;    } //-- java.lang.String getInternal()     /**     * Returns the value of field 'name'.     *      * @return String     * @return the value of field 'name'.     */    public java.lang.String getName()    {        return this._name;    } //-- java.lang.String getName()     /**     * Method getSreqRecord     *      *      *      * @param index     * @return SreqRecord     */    public com.queplix.core.modules.eqlext.jxb.sr.SreqRecord getSreqRecord(int index)        throws java.lang.IndexOutOfBoundsException    {        //-- check bounds for index        if ((index < 0) || (index > _sreqRecordList.size())) {            throw new IndexOutOfBoundsException();        }                return (com.queplix.core.modules.eqlext.jxb.sr.SreqRecord) _sreqRecordList.get(index);    } //-- com.queplix.core.modules.eqlext.jxb.sr.SreqRecord getSreqRecord(int)     /**     * Method getSreqRecord     *      *      *      * @return SreqRecord     */    public com.queplix.core.modules.eqlext.jxb.sr.SreqRecord[] getSreqRecord()    {        int size = _sreqRecordList.size();        com.queplix.core.modules.eqlext.jxb.sr.SreqRecord[] mArray = new com.queplix.core.modules.eqlext.jxb.sr.SreqRecord[size];        for (int index = 0; index < size; index++) {            mArray[index] = (com.queplix.core.modules.eqlext.jxb.sr.SreqRecord) _sreqRecordList.get(index);        }        return mArray;    } //-- com.queplix.core.modules.eqlext.jxb.sr.SreqRecord[] getSreqRecord()     /**     * Method getSreqRecordCount     *      *      *      * @return int     */    public int getSreqRecordCount()    {        return _sreqRecordList.size();    } //-- int getSreqRecordCount()     /**     * 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 removeSreqRecord     *      *      *      * @param vSreqRecord     * @return boolean     */    public boolean removeSreqRecord(com.queplix.core.modules.eqlext.jxb.sr.SreqRecord vSreqRecord)    {        boolean removed = _sreqRecordList.remove(vSreqRecord);        return removed;    } //-- boolean removeSreqRecord(com.queplix.core.modules.eqlext.jxb.sr.SreqRecord)     /**     * Sets the value of field 'entity'.     *      * @param entity the value of field 'entity'.     */    public void setEntity(java.lang.String entity)    {        this._entity = entity;    } //-- void setForm(java.lang.String)    /**     * Sets the value of field 'external'.     *      * @param external the value of field 'external'.     */    public void setExternal(java.lang.String external)    {        this._external = external;    } //-- void setExternal(java.lang.String)     /**     * Sets the value of field 'internal'.     *      * @param internal the value of field 'internal'.     */    public void setInternal(java.lang.String internal)    {        this._internal = internal;    } //-- void setInternal(java.lang.String)     /**     * Sets the value of field 'name'.     *      * @param name the value of field 'name'.     */    public void setName(java.lang.String name)    {        this._name = name;    } //-- void setName(java.lang.String)     /**     * Method setSreqRecord     *      *      *      * @param index     * @param vSreqRecord     */    public void setSreqRecord(int index, com.queplix.core.modules.eqlext.jxb.sr.SreqRecord vSreqRecord)        throws java.lang.IndexOutOfBoundsException    {        //-- check bounds for index        if ((index < 0) || (index > _sreqRecordList.size())) {            throw new IndexOutOfBoundsException();        }        _sreqRecordList.set(index, vSreqRecord);    } //-- void setSreqRecord(int, com.queplix.core.modules.eqlext.jxb.sr.SreqRecord)     /**     * Method setSreqRecord     *      *      *      * @param sreqRecordArray     */    public void setSreqRecord(com.queplix.core.modules.eqlext.jxb.sr.SreqRecord[] sreqRecordArray)    {        //-- copy array        _sreqRecordList.clear();        for (int i = 0; i < sreqRecordArray.length; i++) {            _sreqRecordList.add(sreqRecordArray[i]);        }    } //-- void setSreqRecord(com.queplix.core.modules.eqlext.jxb.sr.SreqRecord)     /**     * 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.sr.SreqDataset) Unmarshaller.unmarshal(com.queplix.core.modules.eqlext.jxb.sr.SreqDataset.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 + -