efieldtype.java

来自「CRM源码This file describes some issues tha」· Java 代码 · 共 1,293 行 · 第 1/3 页

JAVA
1,293
字号
/*
 * 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 com.queplix.core.jxb.entity.types.ControlSType;
import com.queplix.core.jxb.entity.types.DataSType;
import com.queplix.core.jxb.entity.types.EditmodeSType;
import com.queplix.core.jxb.entity.types.SqlSType;
import java.io.IOException;
import java.io.Reader;
import java.io.Serializable;
import java.io.Writer;
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 entity field descriptor type
 * 
 * @version $Revision$ $Date$
 */
public class EfieldType extends com.queplix.core.utils.jxb.JXBObject 
implements java.io.Serializable
{


      //--------------------------/
     //- Class/Member Variables -/
    //--------------------------/

    /**
     * The name of field (mandatory)
     */
    private java.lang.String _name;

    /**
     * Is the field public key or not (False by default, being
     * taken from DB)
     */
    private java.lang.Boolean _pkey;

    /**
     * The real type of field in DB (being taken from DB)
     */
    private com.queplix.core.jxb.entity.types.SqlSType _sqltype;

    /**
     * The size of field value (optional, being taken from DB)
     */
    private java.lang.Integer _datasize;

    /**
     * Is the field can have NULL value (being taken from DB)
     */
    private java.lang.Boolean _nullable;

    /**
     * The showing type of field ('sqltype' by default)
     */
    private com.queplix.core.jxb.entity.types.DataSType _datatype;

    /**
     * Type of memo (prepend, append, edit)
     */
    private java.lang.String _memotype;

    /**
     * Is the field required or not (False by default)
     */
    private java.lang.Boolean _required;

    /**
     * Minimum possible value
     */
    private java.lang.Double _min;

    /**
     * Maximum possible value
     */
    private java.lang.Double _max;

    /**
     * Can you change the field
     */
    private java.lang.Boolean _readonly = new java.lang.Boolean("false");

    /**
     * Can you search by values of the field
     */
    private java.lang.Boolean _searchable = new java.lang.Boolean("true");

    /**
     * Can you save the field in database or not
     */
    private java.lang.Boolean _updatable = new java.lang.Boolean("true");

    /**
     * This attribute shows that this field be shown at grid
     */
    private java.lang.Boolean _grid = new java.lang.Boolean("false");

    /**
     * This attribute shows that this field be included to report
     */
    private java.lang.Boolean _includeToReport = new java.lang.Boolean("true");

    /**
     * The field transformation
     */
    private java.lang.String _transform;

    /**
     * The type of filed control
     */
    private com.queplix.core.jxb.entity.types.ControlSType _control;

    /**
     * Return value on request or not (used only for memo datatype)
     */
    private java.lang.Boolean _sendonrequest = new java.lang.Boolean("true");

    /**
     * Checked value (for checkbox only)
     */
    private java.lang.String _checked = "1";

    /**
     * Unchecked value (for checkbox only)
     */
    private java.lang.String _unchecked = "0";

    /**
     * Is the field visible on the form
     */
    private java.lang.Boolean _visible = new java.lang.Boolean("true");

    /**
     * Edit mode for memo field only
     */
    private com.queplix.core.jxb.entity.types.EditmodeSType _editmode = com.queplix.core.jxb.entity.types.EditmodeSType.valueOf("normal");

    /**
     * Indicates to use 'left-anchored' options in search
     */
    private java.lang.Boolean _leftAnchored = new java.lang.Boolean("false");

    /**
     * Indicates to use 'right-anchored' options in search
     */
    private java.lang.Boolean _rightAnchored = new java.lang.Boolean("false");

    /**
     * Can you select the field from database or not
     */
    private java.lang.Boolean _selectable = new java.lang.Boolean("true");

    /**
     * Exist in the table 'dbobject' or not
     */
    private java.lang.Boolean _virtual;

    /**
     * Is the join operation required for the field
     */
    private java.lang.Boolean _join = new java.lang.Boolean("true");

    /**
     * Attribute is reserved for internal purposes only
     */
    private java.lang.String _id;

    /**
     * Attribute is reserved for internal purposes only
     */
    private java.lang.String _entityName;

    /**
     * Attribute means what should be displayed in "Last viewed"
     * section. Atribute is added in core 3.0
     */
    private java.lang.Boolean _descriptive = new java.lang.Boolean("false");

    /**
     * Field _pattern
     */
    private java.lang.String _pattern;

    /**
     * Field _masked
     */
    private java.lang.Boolean _masked = new java.lang.Boolean("false");

    /**
     * This attribute describes, how the list of options was
     * loaded. If this attribute is true dataset should make call
     * to
     *  server each time it needed, otherwise it will be loaded at
     * once per session.
     *  
     */
    private java.lang.Boolean _dynamic = new java.lang.Boolean("false");

    /**
     * Field _inline
     */
    private java.lang.Boolean _inline = new java.lang.Boolean("false");

    /**
     * EQL query used as source for this column. Used in EQL module.
     */
    private java.lang.String _eqlSrc;

    /**
     * EQL query used as default source for this column. Used in
     * EQL module.
     */
    private java.lang.String _eqlDefsrc;

    /**
     * EQL function used in 'WHERE' clause of EQL query. Used in
     * EQL EXT module.
     */
    private java.lang.String _eqlextSrchfunc;

    /**
     * The reference to source entity field
     */
    private com.queplix.core.jxb.entity.Ref _ref;

    /**
     * The reference to entity list-field for lookup and select
     * controls
     */
    private com.queplix.core.jxb.entity.Listref _listref;


      //----------------/
     //- Constructors -/
    //----------------/

    public EfieldType() 
     {
        super();
        setChecked("1");
        setUnchecked("0");
        setEditmode(com.queplix.core.jxb.entity.types.EditmodeSType.valueOf("normal"));
    } //-- com.queplix.core.jxb.entity.EfieldType()


      //-----------/
     //- Methods -/
    //-----------/

    /**
     * Returns the value of field 'checked'. The field 'checked'
     * has the following description: Checked value (for checkbox
     * only)
     * 
     * @return String
     * @return the value of field 'checked'.
     */
    public java.lang.String getChecked()
    {
        return this._checked;
    } //-- java.lang.String getChecked() 

    /**
     * Returns the value of field 'control'. The field 'control'
     * has the following description: The type of filed control
     * 
     * @return ControlSType
     * @return the value of field 'control'.
     */
    public com.queplix.core.jxb.entity.types.ControlSType getControl()
    {
        return this._control;
    } //-- com.queplix.core.jxb.entity.types.ControlSType getControl() 

    /**
     * Returns the value of field 'datasize'. The field 'datasize'
     * has the following description: The size of field value
     * (optional, being taken from DB)
     * 
     * @return Integer
     * @return the value of field 'datasize'.
     */
    public java.lang.Integer getDatasize()
    {
        return this._datasize;
    } //-- java.lang.Integer getDatasize() 

    /**
     * Returns the value of field 'datatype'. The field 'datatype'
     * has the following description: The showing type of field
     * ('sqltype' by default)
     * 
     * @return DataSType
     * @return the value of field 'datatype'.
     */
    public com.queplix.core.jxb.entity.types.DataSType getDatatype()
    {
        return this._datatype;
    } //-- com.queplix.core.jxb.entity.types.DataSType getDatatype() 

    /**
     * Returns the value of field 'descriptive'. The field
     * 'descriptive' has the following description: Attribute means
     * what should be displayed in "Last viewed" section. Atribute
     * is added in core 3.0
     * 
     * @return Boolean
     * @return the value of field 'descriptive'.
     */
    public java.lang.Boolean getDescriptive()
    {
        return this._descriptive;
    } //-- java.lang.Boolean getDescriptive() 

    /**
     * Returns the value of field 'dynamic'. The field 'dynamic'
     * has the following description: This attribute describes, how
     * the list of options was loaded. If this attribute is true
     * dataset should make call to
     *  server each time it needed, otherwise it will be loaded at
     * once per session.
     *  
     * 
     * @return Boolean
     * @return the value of field 'dynamic'.
     */
    public java.lang.Boolean getDynamic()
    {
        return this._dynamic;
    } //-- java.lang.Boolean getDynamic() 

    /**
     * Returns the value of field 'editmode'. The field 'editmode'
     * has the following description: Edit mode for memo field only
     * 
     * @return EditmodeSType
     * @return the value of field 'editmode'.
     */
    public com.queplix.core.jxb.entity.types.EditmodeSType getEditmode()
    {
        return this._editmode;
    } //-- com.queplix.core.jxb.entity.types.EditmodeSType getEditmode() 

    /**
     * Returns the value of field 'entityName'. The field
     * 'entityName' has the following description: Attribute is
     * reserved for internal purposes only
     * 
     * @return String
     * @return the value of field 'entityName'.
     */
    public java.lang.String getEntityName()
    {
        return this._entityName;
    } //-- java.lang.String getEntityName() 

    /**
     * Returns the value of field 'eqlDefsrc'. The field
     * 'eqlDefsrc' has the following description: EQL query used as
     * default source for this column. Used in EQL module.
     * 
     * @return String
     * @return the value of field 'eqlDefsrc'.
     */
    public java.lang.String getEqlDefsrc()
    {
        return this._eqlDefsrc;
    } //-- java.lang.String getEqlDefsrc() 

    /**
     * Returns the value of field 'eqlSrc'. The field 'eqlSrc' has
     * the following description: EQL query used as source for this
     * column. Used in EQL module.
     * 
     * @return String
     * @return the value of field 'eqlSrc'.
     */
    public java.lang.String getEqlSrc()
    {
        return this._eqlSrc;
    } //-- java.lang.String getEqlSrc() 

    /**
     * Returns the value of field 'eqlextSrchfunc'. The field
     * 'eqlextSrchfunc' has the following description: EQL function
     * used in 'WHERE' clause of EQL query. Used in EQL EXT module.
     * 
     * @return String
     * @return the value of field 'eqlextSrchfunc'.
     */
    public java.lang.String getEqlextSrchfunc()
    {
        return this._eqlextSrchfunc;
    } //-- java.lang.String getEqlextSrchfunc() 

    /**
     * Returns the value of field 'grid'. The field 'grid' has the
     * following description: This attribute shows that this field
     * be shown at grid
     * 
     * @return Boolean
     * @return the value of field 'grid'.
     */
    public java.lang.Boolean getGrid()
    {
        return this._grid;
    } //-- java.lang.Boolean getGrid() 

    /**
     * Returns the value of field 'id'. The field 'id' has the
     * following description: Attribute is reserved for internal
     * purposes only
     * 
     * @return String
     * @return the value of field 'id'.
     */

⌨️ 快捷键说明

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