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

org.droitateddb.builder.schema.data.ColumnValidation Maven / Gradle / Ivy

Go to download

droitatedDB is a lightweight framework, which frees you from the burden of dealing with Androids SQLite database directly if you don't want to and let's you access it directly if you have to.

The newest version!
package org.droitateddb.builder.schema.data;

import java.util.ArrayList;
import java.util.List;

/**
 * Collect validation information during annotation processing.
 *
 * @author Falk Appel
 * @author Alexander Frank
 */
public class ColumnValidation {
    private List validators = new ArrayList();

    public void add(ValidatorInfo validatorInfo) {
        validators.add(validatorInfo);
    }

    public ValidatorInfo get(int idx) {
        return validators.get(idx);
    }

    public int size() {
        return validators.size();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy