📄 extreqstype.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.gr; //---------------------------------/ //- 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 ExtReqsType. * * @version $Revision$ $Date$ */public class ExtReqsType extends com.queplix.core.utils.jxb.JXBObject implements java.io.Serializable{ //--------------------------/ //- Class/Member Variables -/ //--------------------------/ /** * Field _formid */ private java.lang.String _formid; /** * Field _page */ private java.lang.Integer _page = new java.lang.Integer("0"); /** * Field _pagesize */ private java.lang.Integer _pagesize = new java.lang.Integer("20"); /** * Field _docount */ private java.lang.Boolean _docount = new java.lang.Boolean("true"); /** * Field _doheader */ private java.lang.Boolean _doheader = new java.lang.Boolean("true"); /** * Field _getrequest */ private java.lang.Boolean _getrequest = new java.lang.Boolean("true"); /** * Field _getextrequest */ private java.lang.Boolean _getextrequest = new java.lang.Boolean("true"); /** * Field _extPkeyList */ private java.util.ArrayList _extPkeyList; //----------------/ //- Constructors -/ //----------------/ public ExtReqsType() { super(); _extPkeyList = new ArrayList(); } //-- com.queplix.core.modules.eqlext.jxb.gr.ExtReqsType() //-----------/ //- Methods -/ //-----------/ /** * Method addExtPkey * * * * @param vExtPkey */ public void addExtPkey(com.queplix.core.modules.eqlext.jxb.gr.ExtPkey vExtPkey) throws java.lang.IndexOutOfBoundsException { _extPkeyList.add(vExtPkey); } //-- void addExtPkey(com.queplix.core.modules.eqlext.jxb.gr.ExtPkey) /** * Method addExtPkey * * * * @param index * @param vExtPkey */ public void addExtPkey(int index, com.queplix.core.modules.eqlext.jxb.gr.ExtPkey vExtPkey) throws java.lang.IndexOutOfBoundsException { _extPkeyList.add(index, vExtPkey); } //-- void addExtPkey(int, com.queplix.core.modules.eqlext.jxb.gr.ExtPkey) /** * Method clearExtPkey * */ public void clearExtPkey() { _extPkeyList.clear(); } //-- void clearExtPkey() /** * Method enumerateExtPkey * * * * @return Enumeration */ public java.util.Enumeration enumerateExtPkey() { return new org.exolab.castor.util.IteratorEnumeration(_extPkeyList.iterator()); } //-- java.util.Enumeration enumerateExtPkey() /** * Returns the value of field 'docount'. * * @return Boolean * @return the value of field 'docount'. */ public java.lang.Boolean getDocount() { return this._docount; } //-- java.lang.Boolean getDocount() /** * Returns the value of field 'doheader'. * * @return Boolean * @return the value of field 'doheader'. */ public java.lang.Boolean getDoheader() { return this._doheader; } //-- java.lang.Boolean getDoheader() /** * Method getExtPkey * * * * @param index * @return ExtPkey */ public com.queplix.core.modules.eqlext.jxb.gr.ExtPkey getExtPkey(int index) throws java.lang.IndexOutOfBoundsException { //-- check bounds for index if ((index < 0) || (index > _extPkeyList.size())) { throw new IndexOutOfBoundsException(); } return (com.queplix.core.modules.eqlext.jxb.gr.ExtPkey) _extPkeyList.get(index); } //-- com.queplix.core.modules.eqlext.jxb.gr.ExtPkey getExtPkey(int) /** * Method getExtPkey * * * * @return ExtPkey */ public com.queplix.core.modules.eqlext.jxb.gr.ExtPkey[] getExtPkey() { int size = _extPkeyList.size(); com.queplix.core.modules.eqlext.jxb.gr.ExtPkey[] mArray = new com.queplix.core.modules.eqlext.jxb.gr.ExtPkey[size]; for (int index = 0; index < size; index++) { mArray[index] = (com.queplix.core.modules.eqlext.jxb.gr.ExtPkey) _extPkeyList.get(index); } return mArray; } //-- com.queplix.core.modules.eqlext.jxb.gr.ExtPkey[] getExtPkey() /** * Method getExtPkeyCount * * * * @return int */ public int getExtPkeyCount() { return _extPkeyList.size(); } //-- int getExtPkeyCount() /** * Returns the value of field 'formid'. * * @return String * @return the value of field 'formid'. */ public java.lang.String getFormid() { return this._formid; } //-- java.lang.String getFormid() /** * Returns the value of field 'getextrequest'. * * @return Boolean * @return the value of field 'getextrequest'. */ public java.lang.Boolean getGetextrequest() { return this._getextrequest; } //-- java.lang.Boolean getGetextrequest() /** * Returns the value of field 'getrequest'. * * @return Boolean * @return the value of field 'getrequest'. */ public java.lang.Boolean getGetrequest() { return this._getrequest; } //-- java.lang.Boolean getGetrequest() /** * Returns the value of field 'page'. * * @return Integer * @return the value of field 'page'. */ public java.lang.Integer getPage() { return this._page; } //-- java.lang.Integer getPage() /** * Returns the value of field 'pagesize'. * * @return Integer * @return the value of field 'pagesize'. */ public java.lang.Integer getPagesize() { return this._pagesize; } //-- java.lang.Integer getPagesize() /** * 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 removeExtPkey * * * * @param vExtPkey * @return boolean */ public boolean removeExtPkey(com.queplix.core.modules.eqlext.jxb.gr.ExtPkey vExtPkey) { boolean removed = _extPkeyList.remove(vExtPkey); return removed; } //-- boolean removeExtPkey(com.queplix.core.modules.eqlext.jxb.gr.ExtPkey) /** * Sets the value of field 'docount'. * * @param docount the value of field 'docount'. */ public void setDocount(java.lang.Boolean docount) { this._docount = docount; } //-- void setDocount(java.lang.Boolean) /** * Sets the value of field 'doheader'. * * @param doheader the value of field 'doheader'. */ public void setDoheader(java.lang.Boolean doheader) { this._doheader = doheader; } //-- void setDoheader(java.lang.Boolean) /** * Method setExtPkey * * * * @param index * @param vExtPkey */ public void setExtPkey(int index, com.queplix.core.modules.eqlext.jxb.gr.ExtPkey vExtPkey) throws java.lang.IndexOutOfBoundsException { //-- check bounds for index if ((index < 0) || (index > _extPkeyList.size())) { throw new IndexOutOfBoundsException(); } _extPkeyList.set(index, vExtPkey); } //-- void setExtPkey(int, com.queplix.core.modules.eqlext.jxb.gr.ExtPkey) /** * Method setExtPkey * * * * @param extPkeyArray */ public void setExtPkey(com.queplix.core.modules.eqlext.jxb.gr.ExtPkey[] extPkeyArray) { //-- copy array _extPkeyList.clear(); for (int i = 0; i < extPkeyArray.length; i++) { _extPkeyList.add(extPkeyArray[i]); } } //-- void setExtPkey(com.queplix.core.modules.eqlext.jxb.gr.ExtPkey) /** * Sets the value of field 'formid'. * * @param formid the value of field 'formid'. */ public void setFormid(java.lang.String formid) { this._formid = formid; } //-- void setFormid(java.lang.String) /** * Sets the value of field 'getextrequest'. * * @param getextrequest the value of field 'getextrequest'. */ public void setGetextrequest(java.lang.Boolean getextrequest) { this._getextrequest = getextrequest; } //-- void setGetextrequest(java.lang.Boolean) /** * Sets the value of field 'getrequest'. * * @param getrequest the value of field 'getrequest'. */ public void setGetrequest(java.lang.Boolean getrequest) { this._getrequest = getrequest; } //-- void setGetrequest(java.lang.Boolean) /** * Sets the value of field 'page'. * * @param page the value of field 'page'. */ public void setPage(java.lang.Integer page) { this._page = page; } //-- void setPage(java.lang.Integer) /** * Sets the value of field 'pagesize'. * * @param pagesize the value of field 'pagesize'. */ public void setPagesize(java.lang.Integer pagesize) { this._pagesize = pagesize; } //-- void setPagesize(java.lang.Integer) /** * 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.gr.ExtReqsType) Unmarshaller.unmarshal(com.queplix.core.modules.eqlext.jxb.gr.ExtReqsType.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 + -