FieldProperty.java 1.3 KB
package com.sitech.ismp.pattern;
 
import java.io.Serializable;

public class FieldProperty implements Serializable
{

    public boolean isReadOnly()
    {
        return readOnly;
    }

    public void setReadOnly(boolean readOnly)
    {
        this.readOnly = readOnly;
    }

    public int isNullable()
    {
        return nullable;
    }

    public void setNullable(int nullable)
    {
        this.nullable = nullable;
    }

    public String getEName()
    {
        return eName;
    }

    public void setEName(String eName)
    {
        this.eName = eName;
    }

    public String getCName()
    {
        return cName;
    }

    public void setCName(String cName)
    {
        this.cName = cName;
    }

    public String getType()
    {
        return type;
    }

    public void setType(String type)
    {
        this.type = type;
    }

    public int getLength()
    {
        return length;
    }

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

    public FieldProperty()
    {
        eName = "";
        cName = "";
        type = "";
        length = 0;
        nullable = 0;
        readOnly = false;
    }

    private String eName;
    private String cName;
    private String type;
    private int length;
    private int nullable;
    private boolean readOnly;
}