org.dbtools.schema.schemafile.SchemaTableUnique Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dbtools-gen Show documentation
Show all versions of dbtools-gen Show documentation
DBTools ORM Class Generator.
package org.dbtools.schema.schemafile;
import org.dbtools.schema.OnConflict;
import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.ElementList;
import org.simpleframework.xml.Root;
import java.util.List;
@Root
public class SchemaTableUnique {
@ElementList(entry = "uniqueField", inline = true, required = false)
private List uniqueFields;
@Attribute(required = false)
private OnConflict sqliteOnConflict = OnConflict.NONE;
public List getUniqueFields() {
return uniqueFields;
}
public void setUniqueFields(List uniqueFields) {
this.uniqueFields = uniqueFields;
}
public OnConflict getSqliteOnConflict() {
return sqliteOnConflict;
}
public void setSqliteOnConflict(OnConflict sqliteOnConflict) {
this.sqliteOnConflict = sqliteOnConflict;
}
}