| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!--NewPage--> |
| <HTML> |
| <HEAD> |
| <!-- Generated by javadoc (build 1.6.0_18) on Mon Apr 19 13:38:32 EDT 2010 --> |
| <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <TITLE> |
| SourceAnnotationHandler (OpenJPA Parent POM 2.0.0 API) |
| </TITLE> |
| |
| <META NAME="date" CONTENT="2010-04-19"> |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="SourceAnnotationHandler (OpenJPA Parent POM 2.0.0 API)"; |
| } |
| } |
| </SCRIPT> |
| <NOSCRIPT> |
| </NOSCRIPT> |
| |
| </HEAD> |
| |
| <BODY BGCOLOR="white" onload="windowTitle();"> |
| <HR> |
| |
| |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <A NAME="navbar_top"><!-- --></A> |
| <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_top_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SourceAnnotationHandler.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../org/apache/openjpa/persistence/meta/MetamodelImpl.html" title="class in org.apache.openjpa.persistence.meta"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../org/apache/openjpa/persistence/meta/Types.html" title="class in org.apache.openjpa.persistence.meta"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../index.html?org/apache/openjpa/persistence/meta/SourceAnnotationHandler.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="SourceAnnotationHandler.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_top"></A> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| |
| <HR> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <H2> |
| <FONT SIZE="-1"> |
| org.apache.openjpa.persistence.meta</FONT> |
| <BR> |
| Class SourceAnnotationHandler</H2> |
| <PRE> |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> |
| <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.openjpa.persistence.meta.SourceAnnotationHandler</B> |
| </PRE> |
| <DL> |
| <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/apache/openjpa/persistence/meta/MetadataProcessor.html" title="interface in org.apache.openjpa.persistence.meta">MetadataProcessor</A><javax.lang.model.element.TypeElement,javax.lang.model.element.Element></DD> |
| </DL> |
| <HR> |
| <DL> |
| <DT><PRE>public class <B>SourceAnnotationHandler</B><DT>extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements <A HREF="../../../../../org/apache/openjpa/persistence/meta/MetadataProcessor.html" title="interface in org.apache.openjpa.persistence.meta">MetadataProcessor</A><javax.lang.model.element.TypeElement,javax.lang.model.element.Element></DL> |
| </PRE> |
| |
| <P> |
| Extracts persistent metadata information by analyzing available annotation |
| in *.java source files. Requires JDK6 Annotation Processing environment |
| available. |
| <P> |
| |
| <P> |
| <DL> |
| <DT><B>Since:</B></DT> |
| <DD>2.0.0</DD> |
| <DT><B>Author:</B></DT> |
| <DD>Pinaki Poddar</DD> |
| </DL> |
| <HR> |
| |
| <P> |
| <!-- =========== FIELD SUMMARY =========== --> |
| |
| <A NAME="field_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Field Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected org.apache.openjpa.persistence.meta.SourceAnnotationHandler.AnnotatedFilter</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/meta/SourceAnnotationHandler.html#annotatedFilter">annotatedFilter</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected org.apache.openjpa.persistence.meta.SourceAnnotationHandler.AccessFilter</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/meta/SourceAnnotationHandler.html#fieldAccessFilter">fieldAccessFilter</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected org.apache.openjpa.persistence.meta.SourceAnnotationHandler.KindFilter</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/meta/SourceAnnotationHandler.html#fieldFilter">fieldFilter</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected org.apache.openjpa.persistence.meta.SourceAnnotationHandler.GetterFilter</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/meta/SourceAnnotationHandler.html#getterFilter">getterFilter</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected static <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><? extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</A>>></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/meta/SourceAnnotationHandler.html#mappingAnnos">mappingAnnos</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected org.apache.openjpa.persistence.meta.SourceAnnotationHandler.KindFilter</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/meta/SourceAnnotationHandler.html#methodFilter">methodFilter</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected org.apache.openjpa.persistence.meta.SourceAnnotationHandler.TransientFilter</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/meta/SourceAnnotationHandler.html#nonTransientFilter">nonTransientFilter</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected org.apache.openjpa.persistence.meta.SourceAnnotationHandler.AccessFilter</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/meta/SourceAnnotationHandler.html#propertyAccessFilter">propertyAccessFilter</A></B></CODE> |
| |
| <BR> |
| Set of Inclusion Filters based on member type, access type or transient |
| annotations.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected org.apache.openjpa.persistence.meta.SourceAnnotationHandler.SetterFilter</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/meta/SourceAnnotationHandler.html#setterFilter">setterFilter</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| |
| <A NAME="constructor_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Constructor Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/meta/SourceAnnotationHandler.html#SourceAnnotationHandler(javax.annotation.processing.ProcessingEnvironment, org.apache.openjpa.persistence.meta.CompileTimeLogger)">SourceAnnotationHandler</A></B>(<A HREF="http://java.sun.com/javaee/6/docs/api/javax/annotation/processing.ProcessingEnvironment.html?is-external=true" title="class or interface in javax.annotation">javax.annotation.processing.ProcessingEnvironment</A> processingEnv, |
| <A HREF="../../../../../org/apache/openjpa/persistence/meta/CompileTimeLogger.html" title="class in org.apache.openjpa.persistence.meta">CompileTimeLogger</A> logger)</CODE> |
| |
| <BR> |
| Construct with JDK6 annotation processing environment.</TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ========== METHOD SUMMARY =========== --> |
| |
| <A NAME="method_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Method Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> javax.lang.model.type.TypeMirror</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/meta/SourceAnnotationHandler.html#box(javax.lang.model.type.TypeMirror)">box</A></B>(javax.lang.model.type.TypeMirror t)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/meta/SourceAnnotationHandler.html#determineMemberAccess(javax.lang.model.element.Element)">determineMemberAccess</A></B>(javax.lang.model.element.Element m)</CODE> |
| |
| <BR> |
| Determine the access type of the given member.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/meta/SourceAnnotationHandler.html#determineTypeAccess(javax.lang.model.element.TypeElement)">determineTypeAccess</A></B>(javax.lang.model.element.TypeElement type)</CODE> |
| |
| <BR> |
| Determine the access type of the given type.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/meta/SourceAnnotationHandler.html#equalsByValue(java.lang.Enum, java.lang.Object)">equalsByValue</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A><?> e, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> v)</CODE> |
| |
| <BR> |
| Affirms if the given enum equals the given value.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/meta/SourceAnnotationHandler.html#extractFieldName(javax.lang.model.element.ExecutableElement)">extractFieldName</A></B>(javax.lang.model.element.ExecutableElement method)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/meta/SourceAnnotationHandler.html#getAnnotationValue(javax.lang.model.element.Element, java.lang.Class)">getAnnotationValue</A></B>(javax.lang.model.element.Element decl, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><? extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</A>> anno)</CODE> |
| |
| <BR> |
| Gets the value of the given annotation, if present, in the given |
| declaration.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/meta/SourceAnnotationHandler.html#getAnnotationValue(javax.lang.model.element.Element, java.lang.Class, java.lang.String)">getAnnotationValue</A></B>(javax.lang.model.element.Element e, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><? extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</A>> anno, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> attr)</CODE> |
| |
| <BR> |
| Gets the value of the given attribute of the given annotation, if |
| present, in the given declaration.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><javax.lang.model.element.Element></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/meta/SourceAnnotationHandler.html#getPersistentMembers(javax.lang.model.element.TypeElement)">getPersistentMembers</A></B>(javax.lang.model.element.TypeElement type)</CODE> |
| |
| <BR> |
| Gets the list of persistent fields and/or methods for the given type.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> javax.lang.model.element.TypeElement</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/meta/SourceAnnotationHandler.html#getPersistentSupertype(javax.lang.model.element.TypeElement)">getPersistentSupertype</A></B>(javax.lang.model.element.TypeElement cls)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/meta/SourceAnnotationHandler.html#isAnnotated(javax.lang.model.element.Element)">isAnnotated</A></B>(javax.lang.model.element.Element e)</CODE> |
| |
| <BR> |
| Affirms if the given element is annotated with <em>any</em> |
| <code>javax.persistence.*</code> or <code>org.apache.openjpa.*</code> |
| annotation.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/meta/SourceAnnotationHandler.html#isAnnotatedWith(javax.lang.model.element.Element, java.lang.Class)">isAnnotatedWith</A></B>(javax.lang.model.element.Element e, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><? extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</A>> anno)</CODE> |
| |
| <BR> |
| Affirms if the given declaration has the given annotation.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/meta/SourceAnnotationHandler.html#isAnnotatedWith(javax.lang.model.element.Element, java.util.Set)">isAnnotatedWith</A></B>(javax.lang.model.element.Element e, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> annos)</CODE> |
| |
| <BR> |
| Affirms if the given element is annotated with any of the given |
| annotations.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/meta/SourceAnnotationHandler.html#isBoolean(javax.lang.model.type.TypeMirror)">isBoolean</A></B>(javax.lang.model.type.TypeMirror type)</CODE> |
| |
| <BR> |
| Affirms if the given mirror represents a primitive or non-primitive |
| boolean.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/meta/SourceAnnotationHandler.html#isBooleanGetter(javax.lang.model.element.ExecutableElement)">isBooleanGetter</A></B>(javax.lang.model.element.ExecutableElement method)</CODE> |
| |
| <BR> |
| Affirms if the given method matches the following signature |
| <code> public boolean isXyz() </code> |
| <code> public Boolean isXyz() </code></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/meta/SourceAnnotationHandler.html#isGetter(javax.lang.model.element.ExecutableElement)">isGetter</A></B>(javax.lang.model.element.ExecutableElement method)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/meta/SourceAnnotationHandler.html#isMethod(javax.lang.model.element.Element)">isMethod</A></B>(javax.lang.model.element.Element e)</CODE> |
| |
| <BR> |
| Affirms if the given element represents a method.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/meta/SourceAnnotationHandler.html#isMixedAccess(javax.lang.model.element.TypeElement)">isMixedAccess</A></B>(javax.lang.model.element.TypeElement t)</CODE> |
| |
| <BR> |
| Affirms if the members of given type are using both field and property |
| based access.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/meta/SourceAnnotationHandler.html#isNormalGetter(javax.lang.model.element.ExecutableElement)">isNormalGetter</A></B>(javax.lang.model.element.ExecutableElement method)</CODE> |
| |
| <BR> |
| Affirms if the given method matches the following signature |
| <code> public T getXXX() </code> |
| where T is any non-void type.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/meta/SourceAnnotationHandler.html#isRootObject(javax.lang.model.type.TypeMirror)">isRootObject</A></B>(javax.lang.model.type.TypeMirror type)</CODE> |
| |
| <BR> |
| Affirms if the given mirror represents root java.lang.Object.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/meta/SourceAnnotationHandler.html#isSetter(javax.lang.model.element.ExecutableElement)">isSetter</A></B>(javax.lang.model.element.ExecutableElement method)</CODE> |
| |
| <BR> |
| Affirms if the given method matches the following signature |
| <code> public void setXXX(T t) </code></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/meta/SourceAnnotationHandler.html#isVoid(javax.lang.model.type.TypeMirror)">isVoid</A></B>(javax.lang.model.type.TypeMirror type)</CODE> |
| |
| <BR> |
| Affirms if the given mirror represents a void.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/meta/SourceAnnotationHandler.html#startsWith(java.lang.String, java.lang.String)">startsWith</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> full, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> head)</CODE> |
| |
| <BR> |
| Affirms if the given full string starts with the given head.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/meta/SourceAnnotationHandler.html#toString(java.util.Collection)">toString</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><? extends javax.lang.model.element.Element> elements)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A>></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/meta/SourceAnnotationHandler.html#validateAccess(javax.lang.model.element.TypeElement)">validateAccess</A></B>(javax.lang.model.element.TypeElement t)</CODE> |
| |
| <BR> |
| Gets the violations, if any.</TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <P> |
| |
| <!-- ============ FIELD DETAIL =========== --> |
| |
| <A NAME="field_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Field Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="propertyAccessFilter"><!-- --></A><H3> |
| propertyAccessFilter</H3> |
| <PRE> |
| protected org.apache.openjpa.persistence.meta.SourceAnnotationHandler.AccessFilter <B>propertyAccessFilter</B></PRE> |
| <DL> |
| <DD>Set of Inclusion Filters based on member type, access type or transient |
| annotations. Used to determine the subset of available field/method that |
| are persistent. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="fieldAccessFilter"><!-- --></A><H3> |
| fieldAccessFilter</H3> |
| <PRE> |
| protected org.apache.openjpa.persistence.meta.SourceAnnotationHandler.AccessFilter <B>fieldAccessFilter</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="fieldFilter"><!-- --></A><H3> |
| fieldFilter</H3> |
| <PRE> |
| protected org.apache.openjpa.persistence.meta.SourceAnnotationHandler.KindFilter <B>fieldFilter</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="methodFilter"><!-- --></A><H3> |
| methodFilter</H3> |
| <PRE> |
| protected org.apache.openjpa.persistence.meta.SourceAnnotationHandler.KindFilter <B>methodFilter</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="nonTransientFilter"><!-- --></A><H3> |
| nonTransientFilter</H3> |
| <PRE> |
| protected org.apache.openjpa.persistence.meta.SourceAnnotationHandler.TransientFilter <B>nonTransientFilter</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="annotatedFilter"><!-- --></A><H3> |
| annotatedFilter</H3> |
| <PRE> |
| protected org.apache.openjpa.persistence.meta.SourceAnnotationHandler.AnnotatedFilter <B>annotatedFilter</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="getterFilter"><!-- --></A><H3> |
| getterFilter</H3> |
| <PRE> |
| protected org.apache.openjpa.persistence.meta.SourceAnnotationHandler.GetterFilter <B>getterFilter</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="setterFilter"><!-- --></A><H3> |
| setterFilter</H3> |
| <PRE> |
| protected org.apache.openjpa.persistence.meta.SourceAnnotationHandler.SetterFilter <B>setterFilter</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="mappingAnnos"><!-- --></A><H3> |
| mappingAnnos</H3> |
| <PRE> |
| protected static <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><? extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</A>>> <B>mappingAnnos</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| |
| <A NAME="constructor_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Constructor Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="SourceAnnotationHandler(javax.annotation.processing.ProcessingEnvironment, org.apache.openjpa.persistence.meta.CompileTimeLogger)"><!-- --></A><H3> |
| SourceAnnotationHandler</H3> |
| <PRE> |
| public <B>SourceAnnotationHandler</B>(<A HREF="http://java.sun.com/javaee/6/docs/api/javax/annotation/processing.ProcessingEnvironment.html?is-external=true" title="class or interface in javax.annotation">javax.annotation.processing.ProcessingEnvironment</A> processingEnv, |
| <A HREF="../../../../../org/apache/openjpa/persistence/meta/CompileTimeLogger.html" title="class in org.apache.openjpa.persistence.meta">CompileTimeLogger</A> logger)</PRE> |
| <DL> |
| <DD>Construct with JDK6 annotation processing environment. |
| <P> |
| </DL> |
| |
| <!-- ============ METHOD DETAIL ========== --> |
| |
| <A NAME="method_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Method Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="determineTypeAccess(javax.lang.model.element.TypeElement)"><!-- --></A><H3> |
| determineTypeAccess</H3> |
| <PRE> |
| public int <B>determineTypeAccess</B>(javax.lang.model.element.TypeElement type)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/openjpa/persistence/meta/MetadataProcessor.html#determineTypeAccess(T)">MetadataProcessor</A></CODE></B></DD> |
| <DD>Determine the access type of the given type. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/persistence/meta/MetadataProcessor.html#determineTypeAccess(T)">determineTypeAccess</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/persistence/meta/MetadataProcessor.html" title="interface in org.apache.openjpa.persistence.meta">MetadataProcessor</A><javax.lang.model.element.TypeElement,javax.lang.model.element.Element></CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>an integer denoting the type of access. The integer value |
| corresponds to ClassMetaData#getAccessType().</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="determineMemberAccess(javax.lang.model.element.Element)"><!-- --></A><H3> |
| determineMemberAccess</H3> |
| <PRE> |
| public int <B>determineMemberAccess</B>(javax.lang.model.element.Element m)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/openjpa/persistence/meta/MetadataProcessor.html#determineMemberAccess(M)">MetadataProcessor</A></CODE></B></DD> |
| <DD>Determine the access type of the given member. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/persistence/meta/MetadataProcessor.html#determineMemberAccess(M)">determineMemberAccess</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/persistence/meta/MetadataProcessor.html" title="interface in org.apache.openjpa.persistence.meta">MetadataProcessor</A><javax.lang.model.element.TypeElement,javax.lang.model.element.Element></CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>an integer denoting the type of access. The integer value |
| corresponds to FieldMetaData#getAccessType().</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="validateAccess(javax.lang.model.element.TypeElement)"><!-- --></A><H3> |
| validateAccess</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A>> <B>validateAccess</B>(javax.lang.model.element.TypeElement t)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/openjpa/persistence/meta/MetadataProcessor.html#validateAccess(T)">MetadataProcessor</A></CODE></B></DD> |
| <DD>Gets the violations, if any. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/persistence/meta/MetadataProcessor.html#validateAccess(T)">validateAccess</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/persistence/meta/MetadataProcessor.html" title="interface in org.apache.openjpa.persistence.meta">MetadataProcessor</A><javax.lang.model.element.TypeElement,javax.lang.model.element.Element></CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>null or empty list if no exceptions.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isMixedAccess(javax.lang.model.element.TypeElement)"><!-- --></A><H3> |
| isMixedAccess</H3> |
| <PRE> |
| public boolean <B>isMixedAccess</B>(javax.lang.model.element.TypeElement t)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/openjpa/persistence/meta/MetadataProcessor.html#isMixedAccess(T)">MetadataProcessor</A></CODE></B></DD> |
| <DD>Affirms if the members of given type are using both field and property |
| based access. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/persistence/meta/MetadataProcessor.html#isMixedAccess(T)">isMixedAccess</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/persistence/meta/MetadataProcessor.html" title="interface in org.apache.openjpa.persistence.meta">MetadataProcessor</A><javax.lang.model.element.TypeElement,javax.lang.model.element.Element></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getPersistentMembers(javax.lang.model.element.TypeElement)"><!-- --></A><H3> |
| getPersistentMembers</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><javax.lang.model.element.Element> <B>getPersistentMembers</B>(javax.lang.model.element.TypeElement type)</PRE> |
| <DL> |
| <DD>Gets the list of persistent fields and/or methods for the given type. |
| |
| Scans relevant @AccessType annotation and field/method as per JPA |
| specification to determine the candidate set of field/methods. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/persistence/meta/MetadataProcessor.html#getPersistentMembers(T)">getPersistentMembers</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/persistence/meta/MetadataProcessor.html" title="interface in org.apache.openjpa.persistence.meta">MetadataProcessor</A><javax.lang.model.element.TypeElement,javax.lang.model.element.Element></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getAnnotationValue(javax.lang.model.element.Element, java.lang.Class)"><!-- --></A><H3> |
| getAnnotationValue</H3> |
| <PRE> |
| public static <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>getAnnotationValue</B>(javax.lang.model.element.Element decl, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><? extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</A>> anno)</PRE> |
| <DL> |
| <DD>Gets the value of the given annotation, if present, in the given |
| declaration. Otherwise, null. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getAnnotationValue(javax.lang.model.element.Element, java.lang.Class, java.lang.String)"><!-- --></A><H3> |
| getAnnotationValue</H3> |
| <PRE> |
| public static <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>getAnnotationValue</B>(javax.lang.model.element.Element e, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><? extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</A>> anno, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> attr)</PRE> |
| <DL> |
| <DD>Gets the value of the given attribute of the given annotation, if |
| present, in the given declaration. Otherwise, null. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="toString(java.util.Collection)"><!-- --></A><H3> |
| toString</H3> |
| <PRE> |
| public static <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>toString</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><? extends javax.lang.model.element.Element> elements)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="extractFieldName(javax.lang.model.element.ExecutableElement)"><!-- --></A><H3> |
| extractFieldName</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>extractFieldName</B>(javax.lang.model.element.ExecutableElement method)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isAnnotated(javax.lang.model.element.Element)"><!-- --></A><H3> |
| isAnnotated</H3> |
| <PRE> |
| public static boolean <B>isAnnotated</B>(javax.lang.model.element.Element e)</PRE> |
| <DL> |
| <DD>Affirms if the given element is annotated with <em>any</em> |
| <code>javax.persistence.*</code> or <code>org.apache.openjpa.*</code> |
| annotation. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isAnnotatedWith(javax.lang.model.element.Element, java.lang.Class)"><!-- --></A><H3> |
| isAnnotatedWith</H3> |
| <PRE> |
| public static boolean <B>isAnnotatedWith</B>(javax.lang.model.element.Element e, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><? extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</A>> anno)</PRE> |
| <DL> |
| <DD>Affirms if the given declaration has the given annotation. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isAnnotatedWith(javax.lang.model.element.Element, java.util.Set)"><!-- --></A><H3> |
| isAnnotatedWith</H3> |
| <PRE> |
| public static boolean <B>isAnnotatedWith</B>(javax.lang.model.element.Element e, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> annos)</PRE> |
| <DL> |
| <DD>Affirms if the given element is annotated with any of the given |
| annotations. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>annos</CODE> - null checks for any annotation that starts with |
| 'javax.persistence.' or 'openjpa.*'.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="box(javax.lang.model.type.TypeMirror)"><!-- --></A><H3> |
| box</H3> |
| <PRE> |
| public javax.lang.model.type.TypeMirror <B>box</B>(javax.lang.model.type.TypeMirror t)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getPersistentSupertype(javax.lang.model.element.TypeElement)"><!-- --></A><H3> |
| getPersistentSupertype</H3> |
| <PRE> |
| public javax.lang.model.element.TypeElement <B>getPersistentSupertype</B>(javax.lang.model.element.TypeElement cls)</PRE> |
| <DL> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/persistence/meta/MetadataProcessor.html#getPersistentSupertype(T)">getPersistentSupertype</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/persistence/meta/MetadataProcessor.html" title="interface in org.apache.openjpa.persistence.meta">MetadataProcessor</A><javax.lang.model.element.TypeElement,javax.lang.model.element.Element></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isBoolean(javax.lang.model.type.TypeMirror)"><!-- --></A><H3> |
| isBoolean</H3> |
| <PRE> |
| public static boolean <B>isBoolean</B>(javax.lang.model.type.TypeMirror type)</PRE> |
| <DL> |
| <DD>Affirms if the given mirror represents a primitive or non-primitive |
| boolean. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isVoid(javax.lang.model.type.TypeMirror)"><!-- --></A><H3> |
| isVoid</H3> |
| <PRE> |
| public static boolean <B>isVoid</B>(javax.lang.model.type.TypeMirror type)</PRE> |
| <DL> |
| <DD>Affirms if the given mirror represents a void. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isMethod(javax.lang.model.element.Element)"><!-- --></A><H3> |
| isMethod</H3> |
| <PRE> |
| public static boolean <B>isMethod</B>(javax.lang.model.element.Element e)</PRE> |
| <DL> |
| <DD>Affirms if the given element represents a method. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isNormalGetter(javax.lang.model.element.ExecutableElement)"><!-- --></A><H3> |
| isNormalGetter</H3> |
| <PRE> |
| public static boolean <B>isNormalGetter</B>(javax.lang.model.element.ExecutableElement method)</PRE> |
| <DL> |
| <DD>Affirms if the given method matches the following signature |
| <code> public T getXXX() </code> |
| where T is any non-void type. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isBooleanGetter(javax.lang.model.element.ExecutableElement)"><!-- --></A><H3> |
| isBooleanGetter</H3> |
| <PRE> |
| public static boolean <B>isBooleanGetter</B>(javax.lang.model.element.ExecutableElement method)</PRE> |
| <DL> |
| <DD>Affirms if the given method matches the following signature |
| <code> public boolean isXyz() </code> |
| <code> public Boolean isXyz() </code> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isGetter(javax.lang.model.element.ExecutableElement)"><!-- --></A><H3> |
| isGetter</H3> |
| <PRE> |
| public static boolean <B>isGetter</B>(javax.lang.model.element.ExecutableElement method)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isSetter(javax.lang.model.element.ExecutableElement)"><!-- --></A><H3> |
| isSetter</H3> |
| <PRE> |
| public static boolean <B>isSetter</B>(javax.lang.model.element.ExecutableElement method)</PRE> |
| <DL> |
| <DD>Affirms if the given method matches the following signature |
| <code> public void setXXX(T t) </code> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isRootObject(javax.lang.model.type.TypeMirror)"><!-- --></A><H3> |
| isRootObject</H3> |
| <PRE> |
| public static boolean <B>isRootObject</B>(javax.lang.model.type.TypeMirror type)</PRE> |
| <DL> |
| <DD>Affirms if the given mirror represents root java.lang.Object. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="startsWith(java.lang.String, java.lang.String)"><!-- --></A><H3> |
| startsWith</H3> |
| <PRE> |
| public static boolean <B>startsWith</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> full, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> head)</PRE> |
| <DL> |
| <DD>Affirms if the given full string starts with the given head. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="equalsByValue(java.lang.Enum, java.lang.Object)"><!-- --></A><H3> |
| equalsByValue</H3> |
| <PRE> |
| public static boolean <B>equalsByValue</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A><?> e, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> v)</PRE> |
| <DL> |
| <DD>Affirms if the given enum equals the given value. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <HR> |
| |
| |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <A NAME="navbar_bottom"><!-- --></A> |
| <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_bottom_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SourceAnnotationHandler.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../org/apache/openjpa/persistence/meta/MetamodelImpl.html" title="class in org.apache.openjpa.persistence.meta"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../org/apache/openjpa/persistence/meta/Types.html" title="class in org.apache.openjpa.persistence.meta"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../index.html?org/apache/openjpa/persistence/meta/SourceAnnotationHandler.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="SourceAnnotationHandler.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_bottom"></A> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| |
| <HR> |
| Copyright © 2006-2010 <a href="http://www.apache.org">Apache Software Foundation</a>. All Rights Reserved. |
| </BODY> |
| </HTML> |