📄 reqfiltertype.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 com.queplix.core.utils.log.AbstractLogger;import com.queplix.core.utils.log.Log;import org.exolab.castor.xml.Marshaller;import org.exolab.castor.xml.Unmarshaller;import java.util.ArrayList;/** * Class ReqFilterType. * * @version $Revision$ $Date$ */public class ReqFilterType extends com.queplix.core.utils.jxb.JXBObject implements java.io.Serializable{ private static final AbstractLogger logger = Log.getLog(ReqFilterType.class); //--------------------------/ //- Class/Member Variables -/ //--------------------------/ /** * Entity name */ private java.lang.String _entity; /** * Field name */ private java.lang.String _name; /** * Takes listfield value instead field value */ private java.lang.Boolean _usetextfield = new java.lang.Boolean("false"); /** * How to chain req-filter-values */ private com.queplix.core.modules.eqlext.jxb.gr.types.ConditionSType _conditiontype = com.queplix.core.modules.eqlext.jxb.gr.types.ConditionSType.valueOf("or"); /** * Used on client side */ private java.lang.String _formid; /** * Used on client side */ private java.lang.String _tabid; /** * Field _reqFilterValueList */ private java.util.ArrayList _reqFilterValueList; /** * Field _reqFilterTextList */ private java.util.ArrayList _reqFilterTextList; //----------------/ //- Constructors -/ //----------------/ public ReqFilterType() { super(); setConditiontype(com.queplix.core.modules.eqlext.jxb.gr.types.ConditionSType.valueOf("or")); _reqFilterValueList = new ArrayList(); _reqFilterTextList = new ArrayList(); } //-- com.queplix.core.modules.eqlext.jxb.gr.ReqFilterType() //-----------/ //- Methods -/ //-----------/ /** * Method addReqFilterText * * * * @param vReqFilterText */ public void addReqFilterText(java.lang.String vReqFilterText) throws java.lang.IndexOutOfBoundsException { _reqFilterTextList.add(vReqFilterText); } //-- void addReqFilterText(java.lang.String) /** * Method addReqFilterText * * * * @param index * @param vReqFilterText */ public void addReqFilterText(int index, java.lang.String vReqFilterText) throws java.lang.IndexOutOfBoundsException { _reqFilterTextList.add(index, vReqFilterText); } //-- void addReqFilterText(int, java.lang.String) /** * Method addReqFilterValue * * * * @param vReqFilterValue */ public void addReqFilterValue(java.lang.String vReqFilterValue) throws java.lang.IndexOutOfBoundsException { _reqFilterValueList.add(vReqFilterValue); } //-- void addReqFilterValue(java.lang.String) /** * Method addReqFilterValue * * * * @param index * @param vReqFilterValue */ public void addReqFilterValue(int index, java.lang.String vReqFilterValue) throws java.lang.IndexOutOfBoundsException { _reqFilterValueList.add(index, vReqFilterValue); } //-- void addReqFilterValue(int, java.lang.String) /** * Method clearReqFilterText * */ public void clearReqFilterText() { _reqFilterTextList.clear(); } //-- void clearReqFilterText() /** * Method clearReqFilterValue * */ public void clearReqFilterValue() { _reqFilterValueList.clear(); } //-- void clearReqFilterValue() /** * Method enumerateReqFilterText * * * * @return Enumeration */ public java.util.Enumeration enumerateReqFilterText() { return new org.exolab.castor.util.IteratorEnumeration(_reqFilterTextList.iterator()); } //-- java.util.Enumeration enumerateReqFilterText() /** * Method enumerateReqFilterValue * * * * @return Enumeration */ public java.util.Enumeration enumerateReqFilterValue() { return new org.exolab.castor.util.IteratorEnumeration(_reqFilterValueList.iterator()); } //-- java.util.Enumeration enumerateReqFilterValue() /** * Returns the value of field 'conditiontype'. The field * 'conditiontype' has the following description: How to chain * req-filter-values * * @return ConditionSType * @return the value of field 'conditiontype'. */ public com.queplix.core.modules.eqlext.jxb.gr.types.ConditionSType getConditiontype() { return this._conditiontype; } //-- com.queplix.core.modules.eqlext.jxb.gr.types.ConditionSType getConditiontype() /** * Returns the value of field 'entity'. The field 'entity' has * the following description: Entity name * * @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 'formid'. The field 'formid' has * the following description: Used on client side * * @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 'name'. The field 'name' has the * following description: Field name * * @return String * @return the value of field 'name'. */ public java.lang.String getName() { return this._name; } //-- java.lang.String getName() /** * Method getReqFilterText * * * * @param index * @return String */ public java.lang.String getReqFilterText(int index) throws java.lang.IndexOutOfBoundsException { //-- check bounds for index if ((index < 0) || (index > _reqFilterTextList.size())) { throw new IndexOutOfBoundsException(); } return (String)_reqFilterTextList.get(index); } //-- java.lang.String getReqFilterText(int) /** * Method getReqFilterText * * * * @return String */ public java.lang.String[] getReqFilterText() { int size = _reqFilterTextList.size(); java.lang.String[] mArray = new java.lang.String[size]; for (int index = 0; index < size; index++) { mArray[index] = (String)_reqFilterTextList.get(index); } return mArray; } //-- java.lang.String[] getReqFilterText() /** * Method getReqFilterTextCount * * * * @return int */ public int getReqFilterTextCount() { return _reqFilterTextList.size(); } //-- int getReqFilterTextCount() /** * Method getReqFilterValue * * * * @param index * @return String */ public java.lang.String getReqFilterValue(int index) throws java.lang.IndexOutOfBoundsException { //-- check bounds for index if ((index < 0) || (index > _reqFilterValueList.size())) {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -