org.droitateddb.builder.schema.data.ColumnValidation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of processor Show documentation
Show all versions of processor Show documentation
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();
}
}