org.jumpmind.db.model.PlatformColumn Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of symmetric-db Show documentation
Show all versions of symmetric-db Show documentation
This library is a fork of Apache DdlUtils. DdlUtils is a small, easy-to-use component for working with Database Definition (DDL) files.
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