package org.apache.myfaces.extensions.validator.test.propval.constraintsource.model;

import org.apache.myfaces.extensions.validator.core.validation.ConstraintSource;
import org.apache.myfaces.extensions.validator.core.validation.TargetPropertyId;

@ConstraintSource(ConstraintSourceAware5MetaDataBean.class)
public class ConstraintSourceAware5Bean
{
    private String property1;

    @TargetPropertyId(Target4.class)
    private String property2;

    @TargetPropertyId(Target3.class)
    public String getProperty1()
    {
        return property1;
    }

    public void setProperty1(String property1)
    {
        this.property1 = property1;
    }

    public String getProperty2()
    {
        return property2;
    }

    public void setProperty2(String property2)
    {
        this.property2 = property2;
    }
}
