entityviewtype.java

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

JAVA
1,473
字号
/*
 * 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 org.exolab.castor.xml.Marshaller;
import org.exolab.castor.xml.Unmarshaller;

import java.util.ArrayList;

/**
 * The entity descriptor type
 * 
 * @version $Revision$ $Date$
 */
public class EntityViewType extends com.queplix.core.utils.jxb.JXBObject 
implements java.io.Serializable
{


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

    /**
     * The entity name
     */
    private java.lang.String _name;

    /**
     * The name of DataBase object (table, view, etc.)
     */
    private java.lang.String _dbobject;

    /**
     * Entity schema name (see entityschema.xsd)
     */
    private java.lang.String _dbschema;

    /**
     * Is entity initialized or requires getting meta information
     * from dbschema
     */
    private java.lang.Boolean _initialized = new java.lang.Boolean("false");

    /**
     * The name of field for list-representation of record
     */
    private java.lang.String _listfield;

    /**
     * The name of field for history
     */
    private java.lang.String _historyfield;

    /**
     * Is entity cacheable in the memory
     */
    private java.lang.Boolean _cache = new java.lang.Boolean("false");

    /**
     * Attribute is reserved for internal purposes only
     */
    private java.lang.Boolean _hasHistoryFields = new java.lang.Boolean("false");

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

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

    /**
     * Attribute is reserved for internal purposes only
     */
    private java.lang.Long _versionId;

    /**
     * Hardcoded EQL meta-information for this entity. Used in EQL
     * EXT module only.
     */
    private java.util.ArrayList _metainfList;

    /**
     * The entity field description
     */
    private java.util.ArrayList _efieldList;

    /**
     * The dataset description
     */
    private java.util.ArrayList _datasetList;

    /**
     * The custom update scripts description
     */
    private com.queplix.core.jxb.entity.Scripts _scripts;

    /**
     * The foreign table dependence descriptor. Auto-generated by
     * system.
     */
    private java.util.ArrayList _fkeysList;

    /**
     * The constant eql-constraints, used without any limitations
     */
    private java.lang.String _eqlConstraint;

    /**
     * The dynamically eql-constraints for direct request to
     * entity, not used with any type of joining
     */
    private java.lang.String _eqlWhere;

    /**
     * The result's default order type
     */
    private java.lang.String _eqlOrder;

    /**
     * The child entity description
     */
    private java.util.ArrayList _entityList;

    /**
     * Auto-generated element. Never don't use it.
     */
    private java.util.ArrayList _chainTableList;


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

    public EntityViewType() 
     {
        super();
        _metainfList = new ArrayList();
        _efieldList = new ArrayList();
        _datasetList = new ArrayList();
        _fkeysList = new ArrayList();
        _entityList = new ArrayList();
        _chainTableList = new ArrayList();
    } //-- com.queplix.core.jxb.entity.EntityViewType()


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

    /**
     * Method addChainTable
     * 
     * 
     * 
     * @param vChainTable
     */
    public void addChainTable(com.queplix.core.jxb.entity.ChainTable vChainTable)
        throws java.lang.IndexOutOfBoundsException
    {
        _chainTableList.add(vChainTable);
    } //-- void addChainTable(com.queplix.core.jxb.entity.ChainTable) 

    /**
     * Method addChainTable
     * 
     * 
     * 
     * @param index
     * @param vChainTable
     */
    public void addChainTable(int index, com.queplix.core.jxb.entity.ChainTable vChainTable)
        throws java.lang.IndexOutOfBoundsException
    {
        _chainTableList.add(index, vChainTable);
    } //-- void addChainTable(int, com.queplix.core.jxb.entity.ChainTable) 

    /**
     * Method addDataset
     * 
     * 
     * 
     * @param vDataset
     */
    public void addDataset(com.queplix.core.jxb.entity.Dataset vDataset)
        throws java.lang.IndexOutOfBoundsException
    {
        _datasetList.add(vDataset);
    } //-- void addDataset(com.queplix.core.jxb.entity.Dataset) 

    /**
     * Method addDataset
     * 
     * 
     * 
     * @param index
     * @param vDataset
     */
    public void addDataset(int index, com.queplix.core.jxb.entity.Dataset vDataset)
        throws java.lang.IndexOutOfBoundsException
    {
        _datasetList.add(index, vDataset);
    } //-- void addDataset(int, com.queplix.core.jxb.entity.Dataset) 

    /**
     * Method addEfield
     * 
     * 
     * 
     * @param vEfield
     */
    public void addEfield(com.queplix.core.jxb.entity.Efield vEfield)
        throws java.lang.IndexOutOfBoundsException
    {
        _efieldList.add(vEfield);
    } //-- void addEfield(com.queplix.core.jxb.entity.Efield) 

    /**
     * Method addEfield
     * 
     * 
     * 
     * @param index
     * @param vEfield
     */
    public void addEfield(int index, com.queplix.core.jxb.entity.Efield vEfield)
        throws java.lang.IndexOutOfBoundsException
    {
        _efieldList.add(index, vEfield);
    } //-- void addEfield(int, com.queplix.core.jxb.entity.Efield) 

    /**
     * Method addEntity
     * 
     * 
     * 
     * @param vEntity
     */
    public void addEntity(com.queplix.core.jxb.entity.Entity vEntity)
        throws java.lang.IndexOutOfBoundsException
    {
        _entityList.add(vEntity);
    } //-- void addEntity(com.queplix.core.jxb.entity.Entity) 

    /**
     * Method addEntity
     * 
     * 
     * 
     * @param index
     * @param vEntity
     */
    public void addEntity(int index, com.queplix.core.jxb.entity.Entity vEntity)
        throws java.lang.IndexOutOfBoundsException
    {
        _entityList.add(index, vEntity);
    } //-- void addEntity(int, com.queplix.core.jxb.entity.Entity) 

    /**
     * Method addFkeys
     * 
     * 
     * 
     * @param vFkeys
     */
    public void addFkeys(com.queplix.core.jxb.entity.Fkeys vFkeys)
        throws java.lang.IndexOutOfBoundsException
    {
        _fkeysList.add(vFkeys);
    } //-- void addFkeys(com.queplix.core.jxb.entity.Fkeys) 

    /**
     * Method addFkeys
     * 
     * 
     * 
     * @param index
     * @param vFkeys
     */
    public void addFkeys(int index, com.queplix.core.jxb.entity.Fkeys vFkeys)
        throws java.lang.IndexOutOfBoundsException
    {
        _fkeysList.add(index, vFkeys);
    } //-- void addFkeys(int, com.queplix.core.jxb.entity.Fkeys) 

    /**
     * Method addMetainf
     * 
     * 
     * 
     * @param vMetainf
     */
    public void addMetainf(com.queplix.core.jxb.entity.Metainf vMetainf)
        throws java.lang.IndexOutOfBoundsException
    {
        _metainfList.add(vMetainf);
    } //-- void addMetainf(com.queplix.core.jxb.entity.Metainf) 

    /**
     * Method addMetainf
     * 
     * 
     * 
     * @param index
     * @param vMetainf
     */
    public void addMetainf(int index, com.queplix.core.jxb.entity.Metainf vMetainf)
        throws java.lang.IndexOutOfBoundsException
    {
        _metainfList.add(index, vMetainf);
    } //-- void addMetainf(int, com.queplix.core.jxb.entity.Metainf) 

    /**
     * Method clearChainTable
     * 
     */
    public void clearChainTable()
    {
        _chainTableList.clear();
    } //-- void clearChainTable() 

    /**
     * Method clearDataset
     * 
     */
    public void clearDataset()
    {
        _datasetList.clear();
    } //-- void clearDataset() 

    /**
     * Method clearEfield
     * 
     */
    public void clearEfield()
    {
        _efieldList.clear();
    } //-- void clearEfield() 

    /**
     * Method clearEntity
     * 
     */
    public void clearEntity()
    {
        _entityList.clear();
    } //-- void clearEntity() 

    /**
     * Method clearFkeys
     * 
     */
    public void clearFkeys()
    {
        _fkeysList.clear();
    } //-- void clearFkeys() 

    /**
     * Method clearMetainf
     * 
     */
    public void clearMetainf()
    {
        _metainfList.clear();
    } //-- void clearMetainf() 

    /**
     * Method enumerateChainTable
     * 
     * 
     * 
     * @return Enumeration
     */
    public java.util.Enumeration enumerateChainTable()
    {
        return new org.exolab.castor.util.IteratorEnumeration(_chainTableList.iterator());
    } //-- java.util.Enumeration enumerateChainTable() 

    /**
     * Method enumerateDataset
     * 
     * 
     * 
     * @return Enumeration
     */
    public java.util.Enumeration enumerateDataset()
    {
        return new org.exolab.castor.util.IteratorEnumeration(_datasetList.iterator());
    } //-- java.util.Enumeration enumerateDataset() 

    /**
     * Method enumerateEfield
     * 
     * 
     * 
     * @return Enumeration
     */
    public java.util.Enumeration enumerateEfield()
    {
        return new org.exolab.castor.util.IteratorEnumeration(_efieldList.iterator());
    } //-- java.util.Enumeration enumerateEfield() 

    /**
     * Method enumerateEntity
     * 
     * 
     * 
     * @return Enumeration
     */
    public java.util.Enumeration enumerateEntity()
    {
        return new org.exolab.castor.util.IteratorEnumeration(_entityList.iterator());
    } //-- java.util.Enumeration enumerateEntity() 

    /**
     * Method enumerateFkeys
     * 
     * 
     * 
     * @return Enumeration
     */
    public java.util.Enumeration enumerateFkeys()
    {
        return new org.exolab.castor.util.IteratorEnumeration(_fkeysList.iterator());
    } //-- java.util.Enumeration enumerateFkeys() 

    /**
     * Method enumerateMetainf
     * 
     * 
     * 
     * @return Enumeration
     */
    public java.util.Enumeration enumerateMetainf()
    {
        return new org.exolab.castor.util.IteratorEnumeration(_metainfList.iterator());
    } //-- java.util.Enumeration enumerateMetainf() 

    /**
     * Returns the value of field 'cache'. The field 'cache' has
     * the following description: Is entity cacheable in the memory
     * 
     * @return Boolean
     * @return the value of field 'cache'.
     */
    public java.lang.Boolean getCache()
    {
        return this._cache;
    } //-- java.lang.Boolean getCache() 

    /**
     * Method getChainTable
     * 
     * 
     * 
     * @param index
     * @return ChainTable
     */
    public com.queplix.core.jxb.entity.ChainTable getChainTable(int index)
        throws java.lang.IndexOutOfBoundsException
    {
        //-- check bounds for index
        if ((index < 0) || (index > _chainTableList.size())) {
            throw new IndexOutOfBoundsException();
        }
        
        return (com.queplix.core.jxb.entity.ChainTable) _chainTableList.get(index);
    } //-- com.queplix.core.jxb.entity.ChainTable getChainTable(int) 

    /**
     * Method getChainTable
     * 
     * 
     * 
     * @return ChainTable
     */
    public com.queplix.core.jxb.entity.ChainTable[] getChainTable()
    {
        int size = _chainTableList.size();

⌨️ 快捷键说明

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