Package jade.content.onto.annotations

Examples of jade.content.onto.annotations.Element


    return getter.getReturnType().equals(setter.getParameterTypes()[0]);
  }

  private static String getSchemaNameFromClass(Class clazz) {
    String result = clazz.getSimpleName();
    Element annotationElement = (Element)clazz.getAnnotation(Element.class);
    if (annotationElement != null) {
      if (!Element.USE_CLASS_SIMPLE_NAME.equals(annotationElement.name())) {
        result = annotationElement.name();
      }
    }
    return result;
  }
View Full Code Here

TOP

Related Classes of jade.content.onto.annotations.Element

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.