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

org.dbtools.schema.schemafile.SchemaTableUnique Maven / Gradle / Ivy

The newest version!
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy