colesico.framework.beanvalidation.codegen.model.ValidatedBeanElement Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of colesico-validation Show documentation
Show all versions of colesico-validation Show documentation
Colesico framework data bean validation assistant and simple dsl validator
package colesico.framework.beanvalidation.codegen.model;
import colesico.framework.assist.codegen.model.ClassType;
import java.util.ArrayList;
import java.util.List;
public class ValidatedBeanElement {
/**
* Bean origin type
*/
private final ClassType originType;
private final List builders = new ArrayList<>();
public ValidatedBeanElement(ClassType originType) {
this.originType = originType;
}
public void addBuilder(ValidatorBuilderElement builderElm) {
builders.add(builderElm);
builderElm.setParentBean(this);
}
public List getBuilders() {
return builders;
}
public ClassType getOriginType() {
return originType;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy