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

colesico.framework.beanvalidation.codegen.model.ValidatedBeanElement Maven / Gradle / Ivy

There is a newer version: 5.3.0
Show newest version
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