blob: 0024358575a1247dff63b5ea6b87df70687afce0 [file] [log] [blame]
<!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>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SourceAnnotationHandler.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/meta/MetamodelImpl.html" title="class in org.apache.openjpa.persistence.meta"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<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> &nbsp;
&nbsp;<A HREF="SourceAnnotationHandler.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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>&lt;javax.lang.model.element.TypeElement,javax.lang.model.element.Element&gt;</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>&lt;javax.lang.model.element.TypeElement,javax.lang.model.element.Element&gt;</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 &nbsp;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>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;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>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;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>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;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>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected static&nbsp;<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>&lt;<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>&lt;? 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>&gt;&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/meta/SourceAnnotationHandler.html#mappingAnnos">mappingAnnos</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;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>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;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>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;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>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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 &nbsp;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>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== 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>&nbsp;processingEnv,
<A HREF="../../../../../org/apache/openjpa/persistence/meta/CompileTimeLogger.html" title="class in org.apache.openjpa.persistence.meta">CompileTimeLogger</A>&nbsp;logger)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct with JDK6 annotation processing environment.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== 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>&nbsp;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&nbsp;t)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;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&nbsp;m)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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&nbsp;type)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;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>&lt;?&gt;&nbsp;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>&nbsp;v)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;<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&nbsp;method)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<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&nbsp;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>&lt;? 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>&gt;&nbsp;anno)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;<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&nbsp;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>&lt;? 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>&gt;&nbsp;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>&nbsp;attr)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;<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>&lt;javax.lang.model.element.Element&gt;</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&nbsp;type)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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&nbsp;cls)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;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&nbsp;e)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;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&nbsp;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>&lt;? 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>&gt;&nbsp;anno)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;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&nbsp;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>&lt;<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>&gt;&nbsp;annos)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;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&nbsp;type)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;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&nbsp;method)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;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&nbsp;method)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;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&nbsp;e)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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&nbsp;t)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;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&nbsp;method)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;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&nbsp;type)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;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&nbsp;method)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;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&nbsp;type)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;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>&nbsp;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>&nbsp;head)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;<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>&lt;? extends javax.lang.model.element.Element&gt;&nbsp;elements)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<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>&lt;<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>&gt;</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&nbsp;t)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the violations, if any.</TD>
</TR>
</TABLE>
&nbsp;<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>
&nbsp;
<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>&lt;<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>&lt;? 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>&gt;&gt; <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>&nbsp;processingEnv,
<A HREF="../../../../../org/apache/openjpa/persistence/meta/CompileTimeLogger.html" title="class in org.apache.openjpa.persistence.meta">CompileTimeLogger</A>&nbsp;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&nbsp;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>&lt;javax.lang.model.element.TypeElement,javax.lang.model.element.Element&gt;</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&nbsp;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>&lt;javax.lang.model.element.TypeElement,javax.lang.model.element.Element&gt;</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>&lt;<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>&gt; <B>validateAccess</B>(javax.lang.model.element.TypeElement&nbsp;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>&lt;javax.lang.model.element.TypeElement,javax.lang.model.element.Element&gt;</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&nbsp;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>&lt;javax.lang.model.element.TypeElement,javax.lang.model.element.Element&gt;</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>&lt;javax.lang.model.element.Element&gt; <B>getPersistentMembers</B>(javax.lang.model.element.TypeElement&nbsp;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>&lt;javax.lang.model.element.TypeElement,javax.lang.model.element.Element&gt;</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&nbsp;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>&lt;? 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>&gt;&nbsp;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&nbsp;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>&lt;? 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>&gt;&nbsp;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>&nbsp;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>&lt;? extends javax.lang.model.element.Element&gt;&nbsp;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&nbsp;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&nbsp;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&nbsp;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>&lt;? 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>&gt;&nbsp;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&nbsp;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>&lt;<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>&gt;&nbsp;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&nbsp;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&nbsp;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>&lt;javax.lang.model.element.TypeElement,javax.lang.model.element.Element&gt;</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&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;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>&nbsp;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>&nbsp;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>&lt;?&gt;&nbsp;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>&nbsp;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>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SourceAnnotationHandler.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/meta/MetamodelImpl.html" title="class in org.apache.openjpa.persistence.meta"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<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> &nbsp;
&nbsp;<A HREF="SourceAnnotationHandler.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
Copyright &#169; 2006-2010 <a href="http://www.apache.org">Apache Software Foundation</a>. All Rights Reserved.
</BODY>
</HTML>