All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jumpmind.db.model.PlatformColumn Maven / Gradle / Ivy

Go to download

This library is a fork of Apache DdlUtils. DdlUtils is a small, easy-to-use component for working with Database Definition (DDL) files.

There is a newer version: 3.5.19
Show newest version
package org.jumpmind.db.model;

import java.io.Serializable;

public class PlatformColumn implements Serializable, Cloneable {

    private static final long serialVersionUID = 1L;
    
    private String name;
    
    private String type;
    
    private int size = -1;
    
    private int decimalDigits = -1;
    
    public PlatformColumn(String name, String type, int size, int decimalDigits) {
        this.name = name;
        this.type = type;
        this.size = size;
        this.decimalDigits = decimalDigits;
    }
    
    public PlatformColumn() {
    }
    
    public void setName(String name) {
        this.name = name;
    }
    
    public String getName() {
        return name;
    }
    
    public void setSize(int size) {
        this.size = size;
    }
    
    public int getSize() {
        return size;
    }
    
    public void setType(String type) {
        this.type = type;
    }
    
    public String getType() {
        return type;
    }
    
    public void setDecimalDigits(int decimalDigits) {
        this.decimalDigits = decimalDigits;
    }
    
    public int getDecimalDigits() {
        return decimalDigits;
    }    
        
    @Override
    public Object clone() throws CloneNotSupportedException {
        return super.clone();
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy