Package org.hivedb.annotations

Examples of org.hivedb.annotations.IndexParamPairs


  }

  private Object makeGeneralizedCall(Object obj, final Method method, final Object[] args) {

    Collection<Entry<String, Object>> entries = null;
    IndexParamPairs indexParamPairs = AnnotationHelper.getAnnotationDeeply(method, IndexParamPairs.class);
    if (indexParamPairs != null) {
      // Collect method parameters pairs that represent an EntityIndexConfig property name and corresponding value
      int[] ints = indexParamPairs.value(); // java array stupidity
      Integer[] pairs = new Integer[ints.length];
      for (int i : ints)
        pairs[i] = i;

      entries = Transform.map(new Unary<Entry<Integer, Integer>, Entry<String, Object>>() {
View Full Code Here

TOP

Related Classes of org.hivedb.annotations.IndexParamPairs

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.