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

📄 messages.java

📁 CRM源码This file describes some issues that should be implemented in future and how it should be imple
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
        return (com.queplix.core.modules.config.jxb.Popup) _popupList.get(index);
    } //-- com.queplix.core.modules.config.jxb.Popup getPopup(int) 

    /**
     * Method getPopup
     * 
     * 
     * 
     * @return Popup
     */
    public com.queplix.core.modules.config.jxb.Popup[] getPopup()
    {
        int size = _popupList.size();
        com.queplix.core.modules.config.jxb.Popup[] mArray = new com.queplix.core.modules.config.jxb.Popup[size];
        for (int index = 0; index < size; index++) {
            mArray[index] = (com.queplix.core.modules.config.jxb.Popup) _popupList.get(index);
        }
        return mArray;
    } //-- com.queplix.core.modules.config.jxb.Popup[] getPopup() 

    /**
     * Method getPopupCount
     * 
     * 
     * 
     * @return int
     */
    public int getPopupCount()
    {
        return _popupList.size();
    } //-- int getPopupCount() 

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

    /**
     * Method getServer
     * 
     * 
     * 
     * @return Server
     */
    public com.queplix.core.modules.config.jxb.Server[] getServer()
    {
        int size = _serverList.size();
        com.queplix.core.modules.config.jxb.Server[] mArray = new com.queplix.core.modules.config.jxb.Server[size];
        for (int index = 0; index < size; index++) {
            mArray[index] = (com.queplix.core.modules.config.jxb.Server) _serverList.get(index);
        }
        return mArray;
    } //-- com.queplix.core.modules.config.jxb.Server[] getServer() 

    /**
     * Method getServerCount
     * 
     * 
     * 
     * @return int
     */
    public int getServerCount()
    {
        return _serverList.size();
    } //-- int getServerCount() 

    /**
     * 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 removeClient
     * 
     * 
     * 
     * @param vClient
     * @return boolean
     */
    public boolean removeClient(com.queplix.core.modules.config.jxb.Client vClient)
    {
        boolean removed = _clientList.remove(vClient);
        return removed;
    } //-- boolean removeClient(com.queplix.core.modules.config.jxb.Client) 

    /**
     * Method removePopup
     * 
     * 
     * 
     * @param vPopup
     * @return boolean
     */
    public boolean removePopup(com.queplix.core.modules.config.jxb.Popup vPopup)
    {
        boolean removed = _popupList.remove(vPopup);
        return removed;
    } //-- boolean removePopup(com.queplix.core.modules.config.jxb.Popup) 

    /**
     * Method removeServer
     * 
     * 
     * 
     * @param vServer
     * @return boolean
     */
    public boolean removeServer(com.queplix.core.modules.config.jxb.Server vServer)
    {
        boolean removed = _serverList.remove(vServer);
        return removed;
    } //-- boolean removeServer(com.queplix.core.modules.config.jxb.Server) 

    /**
     * Method setClient
     * 
     * 
     * 
     * @param index
     * @param vClient
     */
    public void setClient(int index, com.queplix.core.modules.config.jxb.Client vClient)
        throws java.lang.IndexOutOfBoundsException
    {
        //-- check bounds for index
        if ((index < 0) || (index > _clientList.size())) {
            throw new IndexOutOfBoundsException();
        }
        _clientList.set(index, vClient);
    } //-- void setClient(int, com.queplix.core.modules.config.jxb.Client) 

    /**
     * Method setClient
     * 
     * 
     * 
     * @param clientArray
     */
    public void setClient(com.queplix.core.modules.config.jxb.Client[] clientArray)
    {
        //-- copy array
        _clientList.clear();
        for (int i = 0; i < clientArray.length; i++) {
            _clientList.add(clientArray[i]);
        }
    } //-- void setClient(com.queplix.core.modules.config.jxb.Client) 

    /**
     * Method setPopup
     * 
     * 
     * 
     * @param index
     * @param vPopup
     */
    public void setPopup(int index, com.queplix.core.modules.config.jxb.Popup vPopup)
        throws java.lang.IndexOutOfBoundsException
    {
        //-- check bounds for index
        if ((index < 0) || (index > _popupList.size())) {
            throw new IndexOutOfBoundsException();
        }
        _popupList.set(index, vPopup);
    } //-- void setPopup(int, com.queplix.core.modules.config.jxb.Popup) 

    /**
     * Method setPopup
     * 
     * 
     * 
     * @param popupArray
     */
    public void setPopup(com.queplix.core.modules.config.jxb.Popup[] popupArray)
    {
        //-- copy array
        _popupList.clear();
        for (int i = 0; i < popupArray.length; i++) {
            _popupList.add(popupArray[i]);
        }
    } //-- void setPopup(com.queplix.core.modules.config.jxb.Popup) 

    /**
     * Method setServer
     * 
     * 
     * 
     * @param index
     * @param vServer
     */
    public void setServer(int index, com.queplix.core.modules.config.jxb.Server vServer)
        throws java.lang.IndexOutOfBoundsException
    {
        //-- check bounds for index
        if ((index < 0) || (index > _serverList.size())) {
            throw new IndexOutOfBoundsException();
        }
        _serverList.set(index, vServer);
    } //-- void setServer(int, com.queplix.core.modules.config.jxb.Server) 

    /**
     * Method setServer
     * 
     * 
     * 
     * @param serverArray
     */
    public void setServer(com.queplix.core.modules.config.jxb.Server[] serverArray)
    {
        //-- copy array
        _serverList.clear();
        for (int i = 0; i < serverArray.length; i++) {
            _serverList.add(serverArray[i]);
        }
    } //-- void setServer(com.queplix.core.modules.config.jxb.Server) 

    /**
     * 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.config.jxb.Messages) Unmarshaller.unmarshal(com.queplix.core.modules.config.jxb.Messages.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 + -