Package org.grouplens.common.dto.Dto

Examples of org.grouplens.common.dto.Dto.ExcludeType


           
            if (!ignoreExclude) {
                Exclude exclude = f.getAnnotation(Exclude.class);
                if (exclude != null) {
                    ExcludeType[] types = exclude.value();
                    ExcludeType skipIfPresent = (forInput ? ExcludeType.IMPORT : ExcludeType.EXPORT);
                    for (int i = 0; i < types.length; i++) {
                        if (skipIfPresent.equals(types[i]))
                            return true;
                    }
                }
            }
View Full Code Here


      // if exclude is neither EXPORT nor IMPORT, the field is always skipped
      // if exclude is EXPORT then input fields are still included
      // if exclude is IMPORT then output fields are still included
      if (exclude != null) {
        ExcludeType[] types = exclude.value();
        ExcludeType skipIfPresent = (forInput ? ExcludeType.IMPORT : ExcludeType.EXPORT);
        for (int i = 0; i < types.length; i++) {
          if (skipIfPresent.equals(types[i]))
            return true;
        }
      }
    }
    return false;
View Full Code Here

TOP

Related Classes of org.grouplens.common.dto.Dto.ExcludeType

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.