Examples of ExcludeType


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

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

      // 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
Copyright © 2018 www.massapi.com. 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.