Field.java

/*
 *        @ Copyright 2001 FA Software;
 *        All right reserved. No part of this program may be reproduced or
 *        transmitted in any form or by any means, electronic or
 *        mechanical, including photocopying, recording, or by any
 *        information storage or retrieval system without written
 *        permission from FA Software, except for inclusion of brief
 *        quotations in a review.
 */
package com.mycim.valueobject.sys;

import com.mycim.valueobject.bas.NamedObject;

import java.util.ArrayList;
import java.util.Collection;

public class Field extends NamedObject {

    // --------------------------------------------------------- Instance Variables
    private Long labelRrn;

    private String labelId;

    private String dataType;

    private String dataTypeDb;

    private Integer length;

    private Short decimalLength;

    private String editMask;

    private String defaultValue;

    private String status;

    private Collection checkRules = new ArrayList();

    // --------------------------------------------------------- Constructors
    public Field() {
    }

    public Field(String instanceId, String namedSpace, String object) {
        super(instanceId, namedSpace, object);
    }

    // --------------------------------------------------------- Properties
    public Long getLabelRrn() {
        return this.labelRrn;
    }

    public void setLabelRrn(Long labelRrn) {
        this.labelRrn = labelRrn;
    }

    public String getLabelId() {
        return this.labelId;
    }

    public void setLabelId(String labelId) {
        this.labelId = labelId;
    }

    public String getDataType() {
        return this.dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public String getDataTypeDb() {
        return this.dataTypeDb;
    }

    public void setDataTypeDb(String dataTypeDb) {
        this.dataTypeDb = dataTypeDb;
    }

    public Integer getLength() {
        return this.length;
    }

    public void setLength(Integer length) {
        this.length = length;
    }

    public Short getDecimalLength() {
        return this.decimalLength;
    }

    public void setDecimalLength(Short decimalLength) {
        this.decimalLength = decimalLength;
    }

    public String getEditMask() {
        return this.editMask;
    }

    public void setEditMask(String editMask) {
        this.editMask = editMask;
    }

    public String getDefaultValue() {
        return this.defaultValue;
    }

    public void setDefaultValue(String defaultValue) {
        this.defaultValue = defaultValue;
    }

    public String getStatus() {
        return this.status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Collection getCheckRules() {
        return this.checkRules;
    }

    public void setCheckRules(Collection checkRules) {
        this.checkRules = checkRules;
    }

}

/*
 * Modification Log Log No : Name : Modified Date: Description :
 */