Package org.hightides.annotations

Examples of org.hightides.annotations.Dao


    Map<String, Object> params = new HashMap<String, Object>();
    Annotation annotation = clazz.getAnnotation(Dao.class);
    if (Sortable.class.isAssignableFrom(clazz))
      params.put("isSortable", true);
    if (annotation instanceof Dao) {
      Dao dao = (Dao) annotation;
      params.put("syncMode", dao.synchronizeMode());
    } else {
      // unexpected case... but handle it nevertheless
      params.put("syncMode", SyncMode.UPDATE);
      _log.error("Unable to retrieve syncMode for ["+clazz.getName()+"]");
    }
View Full Code Here

TOP

Related Classes of org.hightides.annotations.Dao

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.