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

📄 col.java

📁 CRM源码This file describes some issues that should be implemented in future and how it should be imple
💻 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.config.jxb;

  //---------------------------------/
 //- Imported classes and packages -/
//---------------------------------/

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;

/**
 * Describes cell of the row
 * 
 * @version $Revision$ $Date$
 */
public class Col implements java.io.Serializable {


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

    /**
     * Name of the field which described by this col
     */
    private java.lang.String _fieldid;

    /**
     * Colspan which should be used for this cell. It equals to 1
     * by default.
     */
    private int _colspan;

    /**
     * keeps track of state for field: _colspan
     */
    private boolean _has_colspan;

    /**
     * Rowspan which should be used for this cell. It equals to 1
     * by default.
     */
    private int _rowspan;

    /**
     * keeps track of state for field: _rowspan
     */
    private boolean _has_rowspan;

    /**
     * Order of the col
     */
    private int _order;

    /**
     * keeps track of state for field: _order
     */
    private boolean _has_order;

    /**
     * Order of row which contain this col
     */
    private int _row;

    /**
     * keeps track of state for field: _row
     */
    private boolean _has_row;

    /**
     * Name of parent form
     */
    private java.lang.String _form;


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

    public Col() 
     {
        super();
    } //-- com.queplix.core.modules.config.jxb.Col()


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

    /**
     * Method deleteColspan
     * 
     */
    public void deleteColspan()
    {
        this._has_colspan= false;
    } //-- void deleteColspan() 

    /**
     * Method deleteOrder
     * 
     */
    public void deleteOrder()
    {
        this._has_order= false;
    } //-- void deleteOrder() 

    /**
     * Method deleteRow
     * 
     */
    public void deleteRow()
    {
        this._has_row= false;
    } //-- void deleteRow() 

    /**
     * Method deleteRowspan
     * 
     */
    public void deleteRowspan()
    {
        this._has_rowspan= false;
    } //-- void deleteRowspan() 

    /**
     * Returns the value of field 'colspan'. The field 'colspan'
     * has the following description: Colspan which should be used
     * for this cell. It equals to 1 by default.
     * 
     * @return int
     * @return the value of field 'colspan'.
     */
    public int getColspan()
    {
        return this._colspan;
    } //-- int getColspan() 

    /**
     * Returns the value of field 'fieldid'. The field 'fieldid'
     * has the following description: Name of the field which
     * described by this col
     * 
     * @return String
     * @return the value of field 'fieldid'.
     */
    public java.lang.String getFieldid()
    {
        return this._fieldid;
    } //-- java.lang.String getFieldid() 

    /**
     * Returns the value of field 'form'. The field 'form' has the
     * following description: Name of parent form
     * 
     * @return String
     * @return the value of field 'form'.
     */
    public java.lang.String getForm()
    {
        return this._form;
    } //-- java.lang.String getForm() 

    /**
     * Returns the value of field 'order'. The field 'order' has
     * the following description: Order of the col
     * 
     * @return int
     * @return the value of field 'order'.
     */
    public int getOrder()
    {
        return this._order;
    } //-- int getOrder() 

    /**
     * Returns the value of field 'row'. The field 'row' has the
     * following description: Order of row which contain this col
     * 
     * @return int
     * @return the value of field 'row'.
     */
    public int getRow()
    {
        return this._row;
    } //-- int getRow() 

    /**
     * Returns the value of field 'rowspan'. The field 'rowspan'
     * has the following description: Rowspan which should be used
     * for this cell. It equals to 1 by default.
     * 
     * @return int
     * @return the value of field 'rowspan'.
     */
    public int getRowspan()
    {
        return this._rowspan;
    } //-- int getRowspan() 

    /**
     * Method hasColspan
     * 
     * 
     * 
     * @return boolean
     */
    public boolean hasColspan()
    {
        return this._has_colspan;
    } //-- boolean hasColspan() 

    /**
     * Method hasOrder
     * 
     * 
     * 
     * @return boolean
     */
    public boolean hasOrder()
    {
        return this._has_order;
    } //-- boolean hasOrder() 

    /**
     * Method hasRow
     * 
     * 
     * 
     * @return boolean
     */
    public boolean hasRow()
    {
        return this._has_row;
    } //-- boolean hasRow() 

    /**
     * Method hasRowspan
     * 
     * 
     * 
     * @return boolean
     */
    public boolean hasRowspan()
    {
        return this._has_rowspan;
    } //-- boolean hasRowspan() 

    /**
     * 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) 

    /**
     * Sets the value of field 'colspan'. The field 'colspan' has
     * the following description: Colspan which should be used for
     * this cell. It equals to 1 by default.
     * 
     * @param colspan the value of field 'colspan'.
     */
    public void setColspan(int colspan)
    {
        this._colspan = colspan;
        this._has_colspan = true;
    } //-- void setColspan(int) 

    /**
     * Sets the value of field 'fieldid'. The field 'fieldid' has
     * the following description: Name of the field which described
     * by this col
     * 
     * @param fieldid the value of field 'fieldid'.
     */
    public void setFieldid(java.lang.String fieldid)
    {
        this._fieldid = fieldid;
    } //-- void setFieldid(java.lang.String) 

    /**
     * Sets the value of field 'form'. The field 'form' has the
     * following description: Name of parent form
     * 
     * @param form the value of field 'form'.
     */
    public void setForm(java.lang.String form)
    {
        this._form = form;
    } //-- void setForm(java.lang.String) 

    /**
     * Sets the value of field 'order'. The field 'order' has the
     * following description: Order of the col
     * 
     * @param order the value of field 'order'.
     */
    public void setOrder(int order)
    {
        this._order = order;
        this._has_order = true;
    } //-- void setOrder(int) 

    /**
     * Sets the value of field 'row'. The field 'row' has the
     * following description: Order of row which contain this col
     * 
     * @param row the value of field 'row'.
     */
    public void setRow(int row)
    {
        this._row = row;
        this._has_row = true;
    } //-- void setRow(int) 

    /**
     * Sets the value of field 'rowspan'. The field 'rowspan' has
     * the following description: Rowspan which should be used for
     * this cell. It equals to 1 by default.
     * 
     * @param rowspan the value of field 'rowspan'.
     */
    public void setRowspan(int rowspan)
    {
        this._rowspan = rowspan;
        this._has_rowspan = true;
    } //-- void setRowspan(int) 

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