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

org.cassandraunit.model.ColumnMetadataModel Maven / Gradle / Ivy

package org.cassandraunit.model;

import me.prettyprint.hector.api.ddl.ColumnIndexType;
import me.prettyprint.hector.api.ddl.ComparatorType;
import org.cassandraunit.type.GenericType;

/**
 * @author Jeremy Sevellec
 */
public class ColumnMetadataModel {

    private GenericType columnName = null;
    private ComparatorType validationClass = null;
    private ColumnIndexType columnIndexType = null;
    private String indexName = null;

    public ColumnMetadataModel() {
        super();
    }

    public ColumnMetadataModel(GenericType columnName, ComparatorType validationClass, ColumnIndexType columnIndexType, String indexName) {
        super();
        this.columnName = columnName;
        this.validationClass = validationClass;
        this.setColumnIndexType(columnIndexType);
        this.indexName = indexName;
    }

    public GenericType getColumnName() {
        return columnName;
    }

    public void setColumnName(GenericType columnName) {
        this.columnName = columnName;
    }

    public ComparatorType getValidationClass() {
        return validationClass;
    }

    public void setValidationClass(ComparatorType validationClass) {
        this.validationClass = validationClass;
    }

    public ColumnIndexType getColumnIndexType() {
        return columnIndexType;
    }

    public void setColumnIndexType(ColumnIndexType columnIndexType) {
        this.columnIndexType = columnIndexType;
    }

    public String getIndexName() {
        return indexName;
    }

    public void setIndexName(String indexName) {
        this.indexName = indexName;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy