http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/112b098d/content/api-documentation/org/apache/juneau/BeanMapEntry.html ---------------------------------------------------------------------- diff --git a/content/api-documentation/org/apache/juneau/BeanMapEntry.html b/content/api-documentation/org/apache/juneau/BeanMapEntry.html new file mode 100644 index 0000000..d9a77a8 --- /dev/null +++ b/content/api-documentation/org/apache/juneau/BeanMapEntry.html @@ -0,0 +1,444 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc --> +<title>BeanMapEntry (Juneau)</title> +<link rel="stylesheet" type="text/css" href="../../../javadoc.css" title="Style"> +<script type="text/javascript" src="../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="BeanMapEntry (Juneau)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/BeanMapEntry.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../index-all.html">Index</a></li> +<li><a href="../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../org/apache/juneau/BeanMeta.html" title="class in org.apache.juneau"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/juneau/BeanMapEntry.html" target="_top">Frames</a></li> +<li><a href="BeanMapEntry.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li>Field | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">org.apache.juneau</div> +<h2 title="Class BeanMapEntry" class="title">Class BeanMapEntry<T></h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> +<li> +<ul class="inheritance"> +<li>org.apache.juneau.BeanMapEntry<T></li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt><span class="paramLabel">Type Parameters:</span></dt> +<dd><code>T</code> - The bean type.</dd> +</dl> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></dd> +</dl> +<hr> +<br> +<pre>public class <a href="../../../src-html/org/apache/juneau/BeanMapEntry.html#line.47">BeanMapEntry</a><T> +extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> +implements <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></pre> +<div class="block">Represents a single entry in a bean map. + <p> + This class can be used to get and set property values on a bean, or to get metadata on a property. + + <h6 class='topic'>Examples</h6> + <p class='bcode'> + <jc>// Construct a new bean</jc> + Person p = <jk>new</jk> Person(); + + <jc>// Wrap it in a bean map</jc> + BeanMap<Person> b = BeanContext.<jsf>DEFAULT</jsf>.forBean(p); + + <jc>// Get a reference to the birthDate property</jc> + BeanMapEntry birthDate = b.getProperty(<js>"birthDate"</js>); + + <jc>// Set the property value</jc> + birthDate.setValue(<jk>new</jk> Date(1, 2, 3, 4, 5, 6)); + + <jc>// Or if the DateTransform.DEFAULT_ISO8601DT is registered with the bean context, set a transformed value</jc> + birthDate.setValue(<js>"'1901-03-03T04:05:06-5000'"</js>); + </p></div> +<dl> +<dt><span class="simpleTagLabel">Author:</span></dt> +<dd>James Bognar ([email protected])</dd> +</dl> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier</th> +<th class="colLast" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected </code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanMapEntry.html#BeanMapEntry-org.apache.juneau.BeanMap-org.apache.juneau.BeanPropertyMeta-">BeanMapEntry</a></span>(<a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau">BeanMap</a><<a href="../../../org/apache/juneau/BeanMapEntry.html" title="type parameter in BeanMapEntry">T</a>> beanMap, + <a href="../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a><<a href="../../../org/apache/juneau/BeanMapEntry.html" title="type parameter in BeanMapEntry">T</a>> property)</code> +<div class="block">Constructor.</div> +</td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau">BeanMap</a><<a href="../../../org/apache/juneau/BeanMapEntry.html" title="type parameter in BeanMapEntry">T</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanMapEntry.html#getBeanMap--">getBeanMap</a></span>()</code> +<div class="block">Returns the bean map that contains this property.</div> +</td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanMapEntry.html#getKey--">getKey</a></span>()</code> </td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a><<a href="../../../org/apache/juneau/BeanMapEntry.html" title="type parameter in BeanMapEntry">T</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanMapEntry.html#getMeta--">getMeta</a></span>()</code> +<div class="block">Returns the metadata about this bean property.</div> +</td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanMapEntry.html#getValue--">getValue</a></span>()</code> +<div class="block">Returns the value of this property.</div> +</td> +</tr> +<tr id="i4" class="altColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanMapEntry.html#setValue-java.lang.Object-">setValue</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code> +<div class="block">Sets the value of this property.</div> +</td> +</tr> +<tr id="i5" class="rowColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanMapEntry.html#toString--">toString</a></span>()</code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> +<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/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://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang /Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.util.Map.Entry"> +<!-- --> +</a> +<h3>Methods inherited from interface java.util.<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</a></h3> +<code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.Entry.html?is-external=true#comparingByKey--" title="class or interface in java.util">comparingByKey</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.Entry.html?is-external=true#comparingByKey-java.util.Comparator-" title="class or interface in java.util">comparingByKey</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.Entry.html?is-external=true#comparingByValue--" title="class or interface in java.util">comparingByValue</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.Entry.html?is-external=true#comparingByValue-java.util.Comparator-" title="class or interface in java.util">comparingByValue</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.Entry.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.util">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.Entry.html?is-external=true#h ashCode--" title="class or interface in java.util">hashCode</a></code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="BeanMapEntry-org.apache.juneau.BeanMap-org.apache.juneau.BeanPropertyMeta-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>BeanMapEntry</h4> +<pre>protected <a href="../../../src-html/org/apache/juneau/BeanMapEntry.html#line.57">BeanMapEntry</a>(<a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau">BeanMap</a><<a href="../../../org/apache/juneau/BeanMapEntry.html" title="type parameter in BeanMapEntry">T</a>> beanMap, + <a href="../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a><<a href="../../../org/apache/juneau/BeanMapEntry.html" title="type parameter in BeanMapEntry">T</a>> property)</pre> +<div class="block">Constructor.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>beanMap</code> - The bean map that this entry belongs to.</dd> +<dd><code>property</code> - The bean property.</dd> +</dl> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="getKey--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getKey</h4> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/BeanMapEntry.html#line.63">getKey</a>()</pre> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.Entry.html?is-external=true#getKey--" title="class or interface in java.util">getKey</a></code> in interface <code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> +</dl> +</li> +</ul> +<a name="getValue--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getValue</h4> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../src-html/org/apache/juneau/BeanMapEntry.html#line.78">getValue</a>()</pre> +<div class="block">Returns the value of this property. + <p> + If there is a <a href="../../../org/apache/juneau/transform/PojoTransform.html" title="class in org.apache.juneau.transform"><code>PojoTransform</code></a> associated with this bean property or bean property type class, then + this method will return the transformed value. + For example, if the bean property type class is a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util"><code>Date</code></a> and the bean property has the + <a href="../../../org/apache/juneau/transforms/DateTransform.ISO8601DT.html" title="class in org.apache.juneau.transforms"><code>DateTransform.ISO8601DT</code></a> transform associated with it through the + <a href="../../../org/apache/juneau/annotation/BeanProperty.html#transform--"><code>@BeanProperty.transform()</code></a> annotation, this method will return a String + containing an ISO8601 date-time string value.</div> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.Entry.html?is-external=true#getValue--" title="class or interface in java.util">getValue</a></code> in interface <code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> +</dl> +</li> +</ul> +<a name="setValue-java.lang.Object-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setValue</h4> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../src-html/org/apache/juneau/BeanMapEntry.html#line.99">setValue</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</pre> +<div class="block">Sets the value of this property. + <p> + If the property is an array of type <code>X</code>, then the value can be a <code>Collection<X></code> or <code>X[]</code> or <code>Object[]</code>. + <p> + If the property is a bean type <code>X</code>, then the value can either be an <code>X</code> or a <code>Map</code>. + <p> + If there is a <a href="../../../org/apache/juneau/transform/PojoTransform.html" title="class in org.apache.juneau.transform"><code>PojoTransform</code></a> associated with this bean property or bean property type class, then + you must pass in a transformed value. + For example, if the bean property type class is a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util"><code>Date</code></a> and the bean property has the + <a href="../../../org/apache/juneau/transforms/DateTransform.ISO8601DT.html" title="class in org.apache.juneau.transforms"><code>DateTransform.ISO8601DT</code></a> transform associated with it through the + <a href="../../../org/apache/juneau/annotation/BeanProperty.html#transform--"><code>@BeanProperty.transform()</code></a> annotation, the value being passed in must be + a String containing an ISO8601 date-time string value.</div> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.Entry.html?is-external=true#setValue-V-" title="class or interface in java.util">setValue</a></code> in interface <code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>The set value after it's been converted.</dd> +</dl> +</li> +</ul> +<a name="getBeanMap--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getBeanMap</h4> +<pre>public <a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau">BeanMap</a><<a href="../../../org/apache/juneau/BeanMapEntry.html" title="type parameter in BeanMapEntry">T</a>> <a href="../../../src-html/org/apache/juneau/BeanMapEntry.html#line.108">getBeanMap</a>()</pre> +<div class="block">Returns the bean map that contains this property.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>The bean map that contains this property.</dd> +</dl> +</li> +</ul> +<a name="getMeta--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getMeta</h4> +<pre>public <a href="../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a><<a href="../../../org/apache/juneau/BeanMapEntry.html" title="type parameter in BeanMapEntry">T</a>> <a href="../../../src-html/org/apache/juneau/BeanMapEntry.html#line.117">getMeta</a>()</pre> +<div class="block">Returns the metadata about this bean property.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Metadata about this bean property.</dd> +</dl> +</li> +</ul> +<a name="toString--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>toString</h4> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/BeanMapEntry.html#line.122">toString</a>()</pre> +<dl> +<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> +</dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/BeanMapEntry.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../index-all.html">Index</a></li> +<li><a href="../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../org/apache/juneau/BeanMeta.html" title="class in org.apache.juneau"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/juneau/BeanMapEntry.html" target="_top">Frames</a></li> +<li><a href="BeanMapEntry.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li>Field | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/112b098d/content/api-documentation/org/apache/juneau/BeanMeta.html ---------------------------------------------------------------------- diff --git a/content/api-documentation/org/apache/juneau/BeanMeta.html b/content/api-documentation/org/apache/juneau/BeanMeta.html new file mode 100644 index 0000000..26ab746 --- /dev/null +++ b/content/api-documentation/org/apache/juneau/BeanMeta.html @@ -0,0 +1,811 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc --> +<title>BeanMeta (Juneau)</title> +<link rel="stylesheet" type="text/css" href="../../../javadoc.css" title="Style"> +<script type="text/javascript" src="../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="BeanMeta (Juneau)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/BeanMeta.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../index-all.html">Index</a></li> +<li><a href="../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../org/apache/juneau/BeanMapEntry.html" title="class in org.apache.juneau"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../org/apache/juneau/BeanMetaFiltered.html" title="class in org.apache.juneau"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/juneau/BeanMeta.html" target="_top">Frames</a></li> +<li><a href="BeanMeta.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">org.apache.juneau</div> +<h2 title="Class BeanMeta" class="title">Class BeanMeta<T></h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> +<li> +<ul class="inheritance"> +<li>org.apache.juneau.BeanMeta<T></li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt><span class="paramLabel">Type Parameters:</span></dt> +<dd><code>T</code> - The class type that this metadata applies to.</dd> +</dl> +<dl> +<dt>Direct Known Subclasses:</dt> +<dd><a href="../../../org/apache/juneau/BeanMetaFiltered.html" title="class in org.apache.juneau">BeanMetaFiltered</a></dd> +</dl> +<hr> +<br> +<pre>public class <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.64">BeanMeta</a><T> +extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre> +<div class="block">Encapsulates all access to the properties of a bean class (like a souped-up <a href="http://docs.oracle.com/javase/7/docs/api/java/beans/BeanInfo.html?is-external=true" title="class or interface in java.beans"><code>BeanInfo</code></a>). + + + <h6 class='topic'>Description</h6> + <p> + Uses introspection to find all the properties associated with this class. If the <a href="../../../org/apache/juneau/annotation/Bean.html" title="annotation in org.apache.juneau.annotation"><code>@Bean</code></a> annotation + is present on the class, or the class has a <a href="../../../org/apache/juneau/transform/BeanTransform.html" title="class in org.apache.juneau.transform"><code>BeanTransform</code></a> registered with it in the bean context, + then that information is used to determine the properties on the class. + Otherwise, the <code>BeanInfo</code> functionality in Java is used to determine the properties on the class. + + + <h6 class='topic'>Bean property ordering</h6> + <p> + The order of the properties are as follows: + <ul class='spaced-list'> + <li>If <a href="../../../org/apache/juneau/annotation/Bean.html" title="annotation in org.apache.juneau.annotation"><code>@Bean</code></a> annotation is specified on class, then the order is the same as the list of properties in the annotation. + <li>If <a href="../../../org/apache/juneau/annotation/Bean.html" title="annotation in org.apache.juneau.annotation"><code>@Bean</code></a> annotation is not specified on the class, then the order is based on the following. + <ul> + <li>Public fields (same order as <code>Class.getFields()</code>). + <li>Properties returned by <code>BeanInfo.getPropertyDescriptors()</code>. + <li>Non-standard getters/setters with <a href="../../../org/apache/juneau/annotation/BeanProperty.html" title="annotation in org.apache.juneau.annotation"><code>@BeanProperty</code></a> annotation defined on them. + </ul> + </ul> + <br> + The order can also be overridden through the use of an <a href="../../../org/apache/juneau/transform/BeanTransform.html" title="class in org.apache.juneau.transform"><code>BeanTransform</code></a>.</div> +<dl> +<dt><span class="simpleTagLabel">Author:</span></dt> +<dd>Barry M. Caceres, James Bognar ([email protected])</dd> +</dl> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- =========== PROPERTY SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="property.summary"> +<!-- --> +</a> +<h3>Property Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Property Summary table, listing properties, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Type</th> +<th class="colLast" scope="col">Property and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanMeta.html#hasBeanUriProperty">hasBeanUri</a></span></code> +<div class="block">Returns <jk>true</jk> if one of the properties on this bean is annotated with <a href="../../../org/apache/juneau/annotation/BeanProperty.html#beanUri--"><code>BeanProperty.beanUri()</code></a> as <jk>true</jk></div> +</td> +</tr> +</table> +</li> +</ul> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> +<caption><span>Fields</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Field and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><<a href="../../../org/apache/juneau/BeanMeta.html" title="type parameter in BeanMeta">T</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanMeta.html#c">c</a></span></code> +<div class="block">The target class that this meta object describes.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><<a href="../../../org/apache/juneau/BeanMeta.html" title="type parameter in BeanMeta">T</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanMeta.html#classMeta">classMeta</a></span></code> +<div class="block">The target class type that this meta object describes.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><<a href="../../../org/apache/juneau/BeanMeta.html" title="type parameter in BeanMeta">T</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanMeta.html#constructor">constructor</a></span></code> +<div class="block">The constructor for this bean.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanMeta.html#constructorArgs">constructorArgs</a></span></code> +<div class="block">For beans with constructors with BeanConstructor annotation, this is the list of constructor arg properties.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected <a href="../../../org/apache/juneau/BeanContext.html" title="class in org.apache.juneau">BeanContext</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanMeta.html#ctx">ctx</a></span></code> +<div class="block">The bean context that created this metadata object.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanMeta.html#getterProps">getterProps</a></span></code> +<div class="block">The getter properties on the target class.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a><<a href="../../../org/apache/juneau/BeanMeta.html" title="type parameter in BeanMeta">T</a>>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanMeta.html#properties">properties</a></span></code> +<div class="block">The properties on the target class.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanMeta.html#setterProps">setterProps</a></span></code> +<div class="block">The setter properties on the target class.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected <a href="../../../org/apache/juneau/transform/BeanTransform.html" title="class in org.apache.juneau.transform">BeanTransform</a><? extends <a href="../../../org/apache/juneau/BeanMeta.html" title="type parameter in BeanMeta">T</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanMeta.html#transform">transform</a></span></code> +<div class="block">Optional bean transform associated with the target class.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>[]></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanMeta.html#typeVarImpls">typeVarImpls</a></span></code> +<div class="block">Type variables implemented by this bean.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected <a href="../../../org/apache/juneau/xml/XmlBeanMeta.html" title="class in org.apache.juneau.xml">XmlBeanMeta</a><<a href="../../../org/apache/juneau/BeanMeta.html" title="type parameter in BeanMeta">T</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanMeta.html#xmlMeta">xmlMeta</a></span></code> +<div class="block">XML-related metadata</div> +</td> +</tr> +</table> +</li> +</ul> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier</th> +<th class="colLast" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected </code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanMeta.html#BeanMeta-org.apache.juneau.ClassMeta-org.apache.juneau.BeanContext-org.apache.juneau.transform.BeanTransform-">BeanMeta</a></span>(<a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><<a href="../../../org/apache/juneau/BeanMeta.html" title="type parameter in BeanMeta">T</a>> classMeta, + <a href="../../../org/apache/juneau/BeanContext.html" title="class in org.apache.juneau">BeanContext</a> ctx, + <a href="../../../org/apache/juneau/transform/BeanTransform.html" title="class in org.apache.juneau.transform">BeanTransform</a><? extends <a href="../../../org/apache/juneau/BeanMeta.html" title="type parameter in BeanMeta">T</a>> transform)</code> +<div class="block">Constructor.</div> +</td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a><<a href="../../../org/apache/juneau/BeanMeta.html" title="type parameter in BeanMeta">T</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanMeta.html#getBeanUriProperty--">getBeanUriProperty</a></span>()</code> +<div class="block">Returns the bean property marked as the URI for the bean (annotated with <a href="../../../org/apache/juneau/annotation/BeanProperty.html#beanUri--"><code>BeanProperty.beanUri()</code></a> as <jk>true</jk>).</div> +</td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><<a href="../../../org/apache/juneau/BeanMeta.html" title="type parameter in BeanMeta">T</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanMeta.html#getClassMeta--">getClassMeta</a></span>()</code> +<div class="block">Returns the <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a> of this bean.</div> +</td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a><<a href="../../../org/apache/juneau/BeanMeta.html" title="type parameter in BeanMeta">T</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanMeta.html#getPropertyMeta-java.lang.String-">getPropertyMeta</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code> +<div class="block">Returns metadata about the specified property.</div> +</td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a><<a href="../../../org/apache/juneau/BeanMeta.html" title="type parameter in BeanMeta">T</a>>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanMeta.html#getPropertyMetas--">getPropertyMetas</a></span>()</code> +<div class="block">Returns the metadata on all properties associated with this bean.</div> +</td> +</tr> +<tr id="i4" class="altColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a><<a href="../../../org/apache/juneau/BeanMeta.html" title="type parameter in BeanMeta">T</a>>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanMeta.html#getPropertyMetas-java.lang.String...-">getPropertyMetas</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>... pNames)</code> +<div class="block">Returns the metadata on the specified list of properties.</div> +</td> +</tr> +<tr id="i5" class="rowColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a><<a href="../../../org/apache/juneau/BeanMeta.html" title="type parameter in BeanMeta">T</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanMeta.html#getSubTypeIdProperty--">getSubTypeIdProperty</a></span>()</code> +<div class="block">Returns the subtype ID property of this bean if it has one.</div> +</td> +</tr> +<tr id="i6" class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/xml/XmlBeanMeta.html" title="class in org.apache.juneau.xml">XmlBeanMeta</a><<a href="../../../org/apache/juneau/BeanMeta.html" title="type parameter in BeanMeta">T</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanMeta.html#getXmlMeta--">getXmlMeta</a></span>()</code> +<div class="block">Returns XML related metadata for this bean type.</div> +</td> +</tr> +<tr id="i7" class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanMeta.html#hasBeanUriProperty--">hasBeanUriProperty</a></span>()</code> +<div class="block">Returns <jk>true</jk> if one of the properties on this bean is annotated with <a href="../../../org/apache/juneau/annotation/BeanProperty.html#beanUri--"><code>BeanProperty.beanUri()</code></a> as <jk>true</jk></div> +</td> +</tr> +<tr id="i8" class="altColor"> +<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanMeta.html#init--">init</a></span>()</code> +<div class="block">Initializes this bean meta, and returns an error message if the specified class is not + a bean for any reason.</div> +</td> +</tr> +<tr id="i9" class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanMeta.html#isSubTyped--">isSubTyped</a></span>()</code> +<div class="block">Returns <jk>true</jk> if this bean has subtypes associated with it.</div> +</td> +</tr> +<tr id="i10" class="altColor"> +<td class="colFirst"><code>protected <a href="../../../org/apache/juneau/BeanMeta.html" title="type parameter in BeanMeta">T</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanMeta.html#newBean-java.lang.Object-">newBean</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> outer)</code> +<div class="block">Creates a new instance of this bean.</div> +</td> +</tr> +<tr id="i11" class="rowColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanMeta.html#toString--">toString</a></span>()</code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> +<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/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://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang /Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ PROPERTY DETAIL =========== --> +<ul class="blockList"> +<li class="blockList"><a name="property.detail"> +<!-- --> +</a> +<h3>Property Detail</h3> +<a name="hasBeanUriProperty"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>hasBeanUri</h4> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.388">hasBeanUriProperty</a></pre> +<div class="block">Returns <jk>true</jk> if one of the properties on this bean is annotated with <a href="../../../org/apache/juneau/annotation/BeanProperty.html#beanUri--"><code>BeanProperty.beanUri()</code></a> as <jk>true</jk></div> +</li> +</ul> +</li> +</ul> +<!-- ============ FIELD DETAIL =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.detail"> +<!-- --> +</a> +<h3>Field Detail</h3> +<a name="classMeta"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>classMeta</h4> +<pre>protected <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><<a href="../../../org/apache/juneau/BeanMeta.html" title="type parameter in BeanMeta">T</a>> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.67">classMeta</a></pre> +<div class="block">The target class type that this meta object describes.</div> +</li> +</ul> +<a name="c"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>c</h4> +<pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><<a href="../../../org/apache/juneau/BeanMeta.html" title="type parameter in BeanMeta">T</a>> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.70">c</a></pre> +<div class="block">The target class that this meta object describes.</div> +</li> +</ul> +<a name="properties"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>properties</h4> +<pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a><<a href="../../../org/apache/juneau/BeanMeta.html" title="type parameter in BeanMeta">T</a>>> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.73">properties</a></pre> +<div class="block">The properties on the target class.</div> +</li> +</ul> +<a name="getterProps"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getterProps</h4> +<pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.76">getterProps</a></pre> +<div class="block">The getter properties on the target class.</div> +</li> +</ul> +<a name="setterProps"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setterProps</h4> +<pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.79">setterProps</a></pre> +<div class="block">The setter properties on the target class.</div> +</li> +</ul> +<a name="ctx"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>ctx</h4> +<pre>protected <a href="../../../org/apache/juneau/BeanContext.html" title="class in org.apache.juneau">BeanContext</a> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.82">ctx</a></pre> +<div class="block">The bean context that created this metadata object.</div> +</li> +</ul> +<a name="transform"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>transform</h4> +<pre>protected <a href="../../../org/apache/juneau/transform/BeanTransform.html" title="class in org.apache.juneau.transform">BeanTransform</a><? extends <a href="../../../org/apache/juneau/BeanMeta.html" title="type parameter in BeanMeta">T</a>> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.85">transform</a></pre> +<div class="block">Optional bean transform associated with the target class.</div> +</li> +</ul> +<a name="typeVarImpls"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>typeVarImpls</h4> +<pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>[]> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.88">typeVarImpls</a></pre> +<div class="block">Type variables implemented by this bean.</div> +</li> +</ul> +<a name="constructor"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>constructor</h4> +<pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><<a href="../../../org/apache/juneau/BeanMeta.html" title="type parameter in BeanMeta">T</a>> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.91">constructor</a></pre> +<div class="block">The constructor for this bean.</div> +</li> +</ul> +<a name="constructorArgs"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>constructorArgs</h4> +<pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.94">constructorArgs</a></pre> +<div class="block">For beans with constructors with BeanConstructor annotation, this is the list of constructor arg properties.</div> +</li> +</ul> +<a name="xmlMeta"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>xmlMeta</h4> +<pre>protected <a href="../../../org/apache/juneau/xml/XmlBeanMeta.html" title="class in org.apache.juneau.xml">XmlBeanMeta</a><<a href="../../../org/apache/juneau/BeanMeta.html" title="type parameter in BeanMeta">T</a>> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.97">xmlMeta</a></pre> +<div class="block">XML-related metadata</div> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="BeanMeta-org.apache.juneau.ClassMeta-org.apache.juneau.BeanContext-org.apache.juneau.transform.BeanTransform-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>BeanMeta</h4> +<pre>protected <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.113">BeanMeta</a>(<a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><<a href="../../../org/apache/juneau/BeanMeta.html" title="type parameter in BeanMeta">T</a>> classMeta, + <a href="../../../org/apache/juneau/BeanContext.html" title="class in org.apache.juneau">BeanContext</a> ctx, + <a href="../../../org/apache/juneau/transform/BeanTransform.html" title="class in org.apache.juneau.transform">BeanTransform</a><? extends <a href="../../../org/apache/juneau/BeanMeta.html" title="type parameter in BeanMeta">T</a>> transform)</pre> +<div class="block">Constructor.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>classMeta</code> - The target class.</dd> +<dd><code>ctx</code> - The bean context that created this object.</dd> +<dd><code>transform</code> - Optional bean transform associated with the target class. Can be <jk>null</jk>.</dd> +</dl> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="getClassMeta--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getClassMeta</h4> +<pre><a href="../../../org/apache/juneau/annotation/BeanIgnore.html" title="annotation in org.apache.juneau.annotation">@BeanIgnore</a> +public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><<a href="../../../org/apache/juneau/BeanMeta.html" title="type parameter in BeanMeta">T</a>> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.126">getClassMeta</a>()</pre> +<div class="block">Returns the <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a> of this bean.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>The <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a> of this bean.</dd> +</dl> +</li> +</ul> +<a name="init--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>init</h4> +<pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.138">init</a>() + throws <a href="../../../org/apache/juneau/BeanRuntimeException.html" title="class in org.apache.juneau">BeanRuntimeException</a></pre> +<div class="block">Initializes this bean meta, and returns an error message if the specified class is not + a bean for any reason.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Reason why this class isn't a bean, or <jk>null</jk> if no problems detected.</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="../../../org/apache/juneau/BeanRuntimeException.html" title="class in org.apache.juneau">BeanRuntimeException</a></code> - If unexpected error occurs such as invalid annotations on the bean class.</dd> +</dl> +</li> +</ul> +<a name="getSubTypeIdProperty--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getSubTypeIdProperty</h4> +<pre>public <a href="../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a><<a href="../../../org/apache/juneau/BeanMeta.html" title="type parameter in BeanMeta">T</a>> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.369">getSubTypeIdProperty</a>()</pre> +<div class="block">Returns the subtype ID property of this bean if it has one. + <p> + The subtype id is specified using the <a href="../../../org/apache/juneau/annotation/Bean.html#subTypeProperty--"><code>Bean.subTypeProperty()</code></a> annotation.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>The meta property for the sub type property, or <jk>null</jk> if no subtype is defined for this bean.</dd> +</dl> +</li> +</ul> +<a name="isSubTyped--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isSubTyped</h4> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.379">isSubTyped</a>()</pre> +<div class="block">Returns <jk>true</jk> if this bean has subtypes associated with it. + Subtypes are defined using the <a href="../../../org/apache/juneau/annotation/Bean.html#subTypes--"><code>Bean.subTypes()</code></a> annotation.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd><jk>true</jk> if this bean has subtypes associated with it.</dd> +</dl> +</li> +</ul> +<a name="hasBeanUriProperty--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>hasBeanUriProperty</h4> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.388">hasBeanUriProperty</a>()</pre> +<div class="block">Returns <jk>true</jk> if one of the properties on this bean is annotated with <a href="../../../org/apache/juneau/annotation/BeanProperty.html#beanUri--"><code>BeanProperty.beanUri()</code></a> as <jk>true</jk></div> +</li> +</ul> +<a name="getBeanUriProperty--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getBeanUriProperty</h4> +<pre>public <a href="../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a><<a href="../../../org/apache/juneau/BeanMeta.html" title="type parameter in BeanMeta">T</a>> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.397">getBeanUriProperty</a>()</pre> +<div class="block">Returns the bean property marked as the URI for the bean (annotated with <a href="../../../org/apache/juneau/annotation/BeanProperty.html#beanUri--"><code>BeanProperty.beanUri()</code></a> as <jk>true</jk>).</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>The URI property, or <jk>null</jk> if no URI property exists on this bean.</dd> +</dl> +</li> +</ul> +<a name="getPropertyMetas--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getPropertyMetas</h4> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a><<a href="../../../org/apache/juneau/BeanMeta.html" title="type parameter in BeanMeta">T</a>>> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.548">getPropertyMetas</a>()</pre> +<div class="block">Returns the metadata on all properties associated with this bean.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Metadata on all properties associated with this bean.</dd> +</dl> +</li> +</ul> +<a name="getPropertyMetas-java.lang.String...-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getPropertyMetas</h4> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a><<a href="../../../org/apache/juneau/BeanMeta.html" title="type parameter in BeanMeta">T</a>>> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.558">getPropertyMetas</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>... pNames)</pre> +<div class="block">Returns the metadata on the specified list of properties.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>pNames</code> - The list of properties to retrieve. If <jk>null</jk>, returns all properties.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>The metadata on the specified list of properties.</dd> +</dl> +</li> +</ul> +<a name="getXmlMeta--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getXmlMeta</h4> +<pre>public <a href="../../../org/apache/juneau/xml/XmlBeanMeta.html" title="class in org.apache.juneau.xml">XmlBeanMeta</a><<a href="../../../org/apache/juneau/BeanMeta.html" title="type parameter in BeanMeta">T</a>> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.572">getXmlMeta</a>()</pre> +<div class="block">Returns XML related metadata for this bean type.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>The XML metadata for this bean type.</dd> +</dl> +</li> +</ul> +<a name="getPropertyMeta-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getPropertyMeta</h4> +<pre>public <a href="../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a><<a href="../../../org/apache/juneau/BeanMeta.html" title="type parameter in BeanMeta">T</a>> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.583">getPropertyMeta</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre> +<div class="block">Returns metadata about the specified property.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>name</code> - The name of the property on this bean.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>The metadata about the property, or <jk>null</jk> if no such property exists + on this bean.</dd> +</dl> +</li> +</ul> +<a name="newBean-java.lang.Object-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>newBean</h4> +<pre>protected <a href="../../../org/apache/juneau/BeanMeta.html" title="type parameter in BeanMeta">T</a> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.598">newBean</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> outer) + throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a>, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/InstantiationException.html?is-external=true" title="class or interface in java.lang">InstantiationException</a>, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalAccessException.html?is-external=true" title="class or interface in java.lang">IllegalAccessException</a>, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/InvocationTargetException.html?is-external=true" title="class or interface in java.lang.reflect">InvocationTargetException</a></pre> +<div class="block">Creates a new instance of this bean.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>outer</code> - The outer object if bean class is a non-static inner member class.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>A new instance of this bean if possible, or <jk>null</jk> if not.</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - Thrown by constructor.</dd> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/InstantiationException.html?is-external=true" title="class or interface in java.lang">InstantiationException</a></code> - Thrown by constructor.</dd> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalAccessException.html?is-external=true" title="class or interface in java.lang">IllegalAccessException</a></code> - Thrown by constructor.</dd> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/InvocationTargetException.html?is-external=true" title="class or interface in java.lang.reflect">InvocationTargetException</a></code> - Thrown by constructor.</dd> +</dl> +</li> +</ul> +<a name="toString--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>toString</h4> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.747">toString</a>()</pre> +<dl> +<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> +</dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/BeanMeta.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../index-all.html">Index</a></li> +<li><a href="../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../org/apache/juneau/BeanMapEntry.html" title="class in org.apache.juneau"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../org/apache/juneau/BeanMetaFiltered.html" title="class in org.apache.juneau"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/juneau/BeanMeta.html" target="_top">Frames</a></li> +<li><a href="BeanMeta.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html>
