Package net.sourceforge.annovalidator.validation.annotations

Examples of net.sourceforge.annovalidator.validation.annotations.ValidationStep


        if (step != null) {
            LOG.trace("Current step is " + step);
            if (target instanceof Field
                    && ((Field) target).isAnnotationPresent(
                            ValidationStep.class)) {
                ValidationStep stepAnnotation = ((Field) target)
                        .getAnnotation(ValidationStep.class);
                if (stepAnnotation.value() != null) {
                    LOG.trace("Field has ValidationStep annotation with "
                            + stepAnnotation.value().length
                            + " step(s) specified");
                    for (int validStep : stepAnnotation.value()) {
                        LOG.trace("Testing step " + validStep);
                        if (Integer.valueOf(validStep).equals(step)) {
                            LOG.trace("Step matches!");
                            return true;
                        }
View Full Code Here

TOP

Related Classes of net.sourceforge.annovalidator.validation.annotations.ValidationStep

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.