Package uk.co.jemos.podam.common

Examples of uk.co.jemos.podam.common.PodamStrategyValue


      // metadata for value customisation; if user went to the extent
      // of specifying a PodamAttributeStrategy annotation for an
      // attribute they are already customising the value assigned to
      // that attribute.

      PodamStrategyValue attributeStrategyAnnotation = containsAttributeStrategyAnnotation(pojoAttributeAnnotations);
      if (null != attributeStrategyAnnotation) {

        AttributeStrategy<?> attributeStrategy = attributeStrategyAnnotation
            .value().newInstance();

        if (LOG.isDebugEnabled()) {
          LOG.debug("The attribute: " + attributeName
              + " will be filled using the following strategy: "
View Full Code Here


   * @return {@code true} if the list of annotations contains at least one
   *         {@link PodamStrategyValue} annotation.
   */
  private PodamStrategyValue containsAttributeStrategyAnnotation(
      List<Annotation> annotations) {
    PodamStrategyValue retValue = null;

    for (Annotation annotation : annotations) {
      if (PodamStrategyValue.class
          .isAssignableFrom(annotation.getClass())) {
        retValue = (PodamStrategyValue) annotation;
View Full Code Here

TOP

Related Classes of uk.co.jemos.podam.common.PodamStrategyValue

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.