juneau-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jamesbog...@apache.org
Subject [27/33] juneau-website git commit: Update javadocs.
Date Thu, 18 Jan 2018 19:35:03 GMT
http://git-wip-us.apache.org/repos/asf/juneau-website/blob/60d9bd65/content/site/apidocs/org/apache/juneau/dto/swagger/License.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/dto/swagger/License.html b/content/site/apidocs/org/apache/juneau/dto/swagger/License.html
index 84f2504..b15de4b 100644
--- a/content/site/apidocs/org/apache/juneau/dto/swagger/License.html
+++ b/content/site/apidocs/org/apache/juneau/dto/swagger/License.html
@@ -18,7 +18,7 @@
     catch(err) {
     }
 //-->
-var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10};
+var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10};
 var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
 var altColor = "altColor";
 var rowColor = "rowColor";
@@ -113,13 +113,24 @@ var activeTableTab = "activeTableTab";
 <li class="blockList">
 <hr>
 <br>
-<pre><a href="../../../../../org/apache/juneau/annotation/Bean.html" title="annotation
in org.apache.juneau.annotation">@Bean</a>(<a href="../../../../../org/apache/juneau/annotation/Bean.html#properties--">properties</a>="name,url")
+<pre><a href="../../../../../org/apache/juneau/annotation/Bean.html" title="annotation
in org.apache.juneau.annotation">@Bean</a>(<a href="../../../../../org/apache/juneau/annotation/Bean.html#properties--">properties</a>="name,url,*")
 public class <a href="../../../../../src-html/org/apache/juneau/dto/swagger/License.html#line.50">License</a>
 extends <a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.html" title="class
in org.apache.juneau.dto.swagger">SwaggerElement</a></pre>
 <div class="block">License information for the exposed API.
  
  <h5 class='section'>Example:</h5>
  <p class='bcode'>
+   <jc>// Construct using SwaggerBuilder.</jc>
+   License x = <jsm>license</jsm>(<js>"Apache 2.0"</js>, <js>"http://www.apache.org/licenses/LICENSE-2.0.html"</js>);
+ 
+   <jc>// Serialize using JsonSerializer.</jc>
+   String json = JsonSerializer.<jsf>DEFAULT</jsf>.toString(x);
+ 
+   <jc>// Or just use toString() which does the same as above.</jc>
+   String json = x.toString();
+ </p>
+ <p class='bcode'>
+   <jc>// Output</jc>
    {
       <js>"name"</js>: <js>"Apache 2.0"</js>,
       <js>"url"</js>: <js>"http://www.apache.org/licenses/LICENSE-2.0.html"</js>
@@ -128,17 +139,7 @@ extends <a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.htm
  
  <h6 class='topic'>Additional Information</h6>
  <ul class='doctree'>
-   <li class='link'>
-      <a class='doclink' href='../../../../../overview-summary.html#DTOs'>Juneau Data
Transfer Objects
-      (org.apache.juneau.dto)</a>
-      <ul>
-         <li class='sublink'>
-            <a class='doclink' href='../../../../../overview-summary.html#DTOs.Swagger'>Swagger</a>
-      </ul>
-   </li>
-   <li class='jp'>
-      <a class='doclink' href='package-summary.html#TOC'>org.apache.juneau.dto.swagger</a>
-   </li>
+   <li class='link'><a class='doclink' href='../../../../../overview-summary.html#juneau-dto.Swagger'>Overview
> juneau-dto > Swagger</a>
  </ul></div>
 </li>
 </ul>
@@ -176,39 +177,53 @@ extends <a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.htm
 <th class="colLast" scope="col">Method and Description</th>
 </tr>
 <tr id="i0" class="altColor">
+<td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/License.html#get-java.lang.String-java.lang.Class-">get</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>&nbsp;property,
+   <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>&lt;T&gt;&nbsp;type)</code>
+<div class="block">Generic property getter.</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/dto/swagger/License.html#getName--">getName</a></span>()</code>
 <div class="block">Bean property getter:  <property>name</property>.</div>
 </td>
 </tr>
-<tr id="i1" class="rowColor">
+<tr id="i2" class="altColor">
 <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/net/URI.html?is-external=true"
title="class or interface in java.net">URI</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/License.html#getUrl--">getUrl</a></span>()</code>
 <div class="block">Bean property getter:  <property>url</property>.</div>
 </td>
 </tr>
-<tr id="i2" class="altColor">
+<tr id="i3" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/dto/swagger/License.html"
title="class in org.apache.juneau.dto.swagger">License</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/License.html#name-java.lang.String-">name</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>&nbsp;name)</code>
-<div class="block">Synonym for <a href="../../../../../org/apache/juneau/dto/swagger/License.html#setName-java.lang.String-"><code>setName(String)</code></a>.</div>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/License.html#name-java.lang.Object-">name</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>&nbsp;value)</code>
+<div class="block">Same as <a href="../../../../../org/apache/juneau/dto/swagger/License.html#setName-java.lang.String-"><code>setName(String)</code></a>.</div>
 </td>
 </tr>
-<tr id="i3" class="rowColor">
+<tr id="i4" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/dto/swagger/License.html"
title="class in org.apache.juneau.dto.swagger">License</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/License.html#setName-java.lang.String-">setName</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>&nbsp;name)</code>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/License.html#set-java.lang.String-java.lang.Object-">set</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>&nbsp;property,
+   <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>&nbsp;value)</code>
+<div class="block">Generic property setter.</div>
+</td>
+</tr>
+<tr id="i5" class="rowColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/juneau/dto/swagger/License.html"
title="class in org.apache.juneau.dto.swagger">License</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/License.html#setName-java.lang.String-">setName</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>&nbsp;value)</code>
 <div class="block">Bean property setter:  <property>name</property>.</div>
 </td>
 </tr>
-<tr id="i4" class="altColor">
+<tr id="i6" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/dto/swagger/License.html"
title="class in org.apache.juneau.dto.swagger">License</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/License.html#setUrl-java.lang.Object-">setUrl</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>&nbsp;url)</code>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/License.html#setUrl-java.net.URI-">setUrl</a></span>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/net/URI.html?is-external=true" title="class
or interface in java.net">URI</a>&nbsp;value)</code>
 <div class="block">Bean property setter:  <property>url</property>.</div>
 </td>
 </tr>
-<tr id="i5" class="rowColor">
+<tr id="i7" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/dto/swagger/License.html"
title="class in org.apache.juneau.dto.swagger">License</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/License.html#url-java.lang.Object-">url</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>&nbsp;url)</code>
-<div class="block">Synonym for <a href="../../../../../org/apache/juneau/dto/swagger/License.html#setUrl-java.lang.Object-"><code>setUrl(Object)</code></a>.</div>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/License.html#url-java.lang.Object-">url</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>&nbsp;value)</code>
+<div class="block">Same as <a href="../../../../../org/apache/juneau/dto/swagger/License.html#setUrl-java.net.URI-"><code>setUrl(URI)</code></a>.</div>
 </td>
 </tr>
 </table>
@@ -217,14 +232,14 @@ extends <a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.htm
 <!--   -->
 </a>
 <h3>Methods inherited from class&nbsp;org.apache.juneau.dto.swagger.<a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.html"
title="class in org.apache.juneau.dto.swagger">SwaggerElement</a></h3>
-<code><a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.html#isStrict--">isStrict</a>,
<a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.html#strict--">strict</a></code></li>
+<code><a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.html#getExtraProperties--">getExtraProperties</a>,
<a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.html#isStrict--">isStrict</a>,
<a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.html#strict--">strict</a>,
<a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.html#strict-java.lang.Object-">strict</a>,
<a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.html#toString--">toString</a></code></li>
 </ul>
 <ul class="blockList">
 <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
 <!--   -->
 </a>
 <h3>Methods inherited from class&nbsp;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#toString--"
title="class or interface in java.lang">toString</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>
+<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>
@@ -267,10 +282,10 @@ extends <a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.htm
 <div class="block">Bean property getter:  <property>name</property>.
  
  <p>
- Required. The license name used for the API.</div>
+ The license name used for the API.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
-<dd>The value of the <property>name</property> property on this bean, or
<jk>null</jk> if it is not set.</dd>
+<dd>The property value, or <jk>null</jk> if it is not set.</dd>
 </dl>
 </li>
 </ul>
@@ -280,30 +295,33 @@ extends <a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.htm
 <ul class="blockList">
 <li class="blockList">
 <h4>setName</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/License.html"
title="class in org.apache.juneau.dto.swagger">License</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/License.html#line.76">setName</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>&nbsp;name)</pre>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/License.html"
title="class in org.apache.juneau.dto.swagger">License</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/License.html#line.78">setName</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>&nbsp;value)</pre>
 <div class="block">Bean property setter:  <property>name</property>.
  
  <p>
- Required. The license name used for the API.</div>
+ The license name used for the API.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>name</code> - The new value for the <property>name</property>
property on this bean.</dd>
+<dd><code>value</code> - The new value for this property.
+   <br>Property value is required.</dd>
 <dt><span class="returnLabel">Returns:</span></dt>
 <dd>This object (for method chaining).</dd>
 </dl>
 </li>
 </ul>
-<a name="name-java.lang.String-">
+<a name="name-java.lang.Object-">
 <!--   -->
 </a>
 <ul class="blockList">
 <li class="blockList">
 <h4>name</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/License.html"
title="class in org.apache.juneau.dto.swagger">License</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/License.html#line.87">name</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>&nbsp;name)</pre>
-<div class="block">Synonym for <a href="../../../../../org/apache/juneau/dto/swagger/License.html#setName-java.lang.String-"><code>setName(String)</code></a>.</div>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/License.html"
title="class in org.apache.juneau.dto.swagger">License</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/License.html#line.92">name</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>&nbsp;value)</pre>
+<div class="block">Same as <a href="../../../../../org/apache/juneau/dto/swagger/License.html#setName-java.lang.String-"><code>setName(String)</code></a>.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>name</code> - The new value for the <property>name</property>
property on this bean.</dd>
+<dd><code>value</code> - The new value for this property.
+   <br>Non-String values will be converted to String using <code>toString()</code>.
+   <br>Can be <jk>null</jk> to unset the property.</dd>
 <dt><span class="returnLabel">Returns:</span></dt>
 <dd>This object (for method chaining).</dd>
 </dl>
@@ -315,42 +333,33 @@ extends <a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.htm
 <ul class="blockList">
 <li class="blockList">
 <h4>getUrl</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/net/URI.html?is-external=true"
title="class or interface in java.net">URI</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/License.html#line.106">getUrl</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/net/URI.html?is-external=true"
title="class or interface in java.net">URI</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/License.html#line.104">getUrl</a>()</pre>
 <div class="block">Bean property getter:  <property>url</property>.
  
  <p>
- A URL to the license used for the API.
- 
- <p>
- The value can be of any of the following types: <a href="http://docs.oracle.com/javase/7/docs/api/java/net/URI.html?is-external=true"
title="class or interface in java.net"><code>URI</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/net/URL.html?is-external=true"
title="class or interface in java.net"><code>URL</code></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"><code>String</code></a>.
- Strings must be valid URIs.
- 
- <p>
- URIs defined by <a href="../../../../../org/apache/juneau/UriResolver.html" title="class
in org.apache.juneau"><code>UriResolver</code></a> can be used for values.</div>
+ A URL to the license used for the API.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
-<dd>The value of the <property>url</property> property on this bean, or
<jk>null</jk> if it is not set.</dd>
+<dd>The property value, or <jk>null</jk> if it is not set.</dd>
 </dl>
 </li>
 </ul>
-<a name="setUrl-java.lang.Object-">
+<a name="setUrl-java.net.URI-">
 <!--   -->
 </a>
 <ul class="blockList">
 <li class="blockList">
 <h4>setUrl</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/License.html"
title="class in org.apache.juneau.dto.swagger">License</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/License.html#line.123">setUrl</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>&nbsp;url)</pre>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/License.html"
title="class in org.apache.juneau.dto.swagger">License</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/License.html#line.120">setUrl</a>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/net/URI.html?is-external=true" title="class
or interface in java.net">URI</a>&nbsp;value)</pre>
 <div class="block">Bean property setter:  <property>url</property>.
  
  <p>
- The value can be of any of the following types: <a href="http://docs.oracle.com/javase/7/docs/api/java/net/URI.html?is-external=true"
title="class or interface in java.net"><code>URI</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/net/URL.html?is-external=true"
title="class or interface in java.net"><code>URL</code></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"><code>String</code></a>.
- Strings must be valid URIs.
- 
- <p>
- URIs defined by <a href="../../../../../org/apache/juneau/UriResolver.html" title="class
in org.apache.juneau"><code>UriResolver</code></a> can be used for values.</div>
+ A URL to the license used for the API.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>url</code> - The new value for the <property>url</property>
property on this bean.</dd>
+<dd><code>value</code> - The new value for this property.
+   <br>URIs defined by <a href="../../../../../org/apache/juneau/UriResolver.html"
title="class in org.apache.juneau"><code>UriResolver</code></a> can be
used for values.
+   <br>Can be <jk>null</jk> to unset the property.</dd>
 <dt><span class="returnLabel">Returns:</span></dt>
 <dd>This object (for method chaining).</dd>
 </dl>
@@ -359,14 +368,71 @@ extends <a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.htm
 <a name="url-java.lang.Object-">
 <!--   -->
 </a>
-<ul class="blockListLast">
+<ul class="blockList">
 <li class="blockList">
 <h4>url</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/License.html"
title="class in org.apache.juneau.dto.swagger">License</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/License.html#line.134">url</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>&nbsp;url)</pre>
-<div class="block">Synonym for <a href="../../../../../org/apache/juneau/dto/swagger/License.html#setUrl-java.lang.Object-"><code>setUrl(Object)</code></a>.</div>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/License.html"
title="class in org.apache.juneau.dto.swagger">License</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/License.html#line.141">url</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>&nbsp;value)</pre>
+<div class="block">Same as <a href="../../../../../org/apache/juneau/dto/swagger/License.html#setUrl-java.net.URI-"><code>setUrl(URI)</code></a>.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The new value for this property.
+   <br>Non-URI values will be converted to URI using <code><jk>new</jk>
URI(value.toString())</code>.
+   <br>Valid types:
+   <ul>
+      <li><a href="http://docs.oracle.com/javase/7/docs/api/java/net/URI.html?is-external=true"
title="class or interface in java.net"><code>URI</code></a>
+      <li><a href="http://docs.oracle.com/javase/7/docs/api/java/net/URL.html?is-external=true"
title="class or interface in java.net"><code>URL</code></a>
+      <li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang"><code>String</code></a>
+         <br>Converted to a URI using <code>URI.<jsm>create</jsm>(value.toString())</code>
+   </ul>
+   <br>Can be <jk>null</jk> to unset the property.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>This object (for method chaining).</dd>
+</dl>
+</li>
+</ul>
+<a name="get-java.lang.String-java.lang.Class-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>get</h4>
+<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/License.html#line.146">get</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>&nbsp;property,
+                 <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>&lt;T&gt;&nbsp;type)</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a
href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.html#get-java.lang.String-java.lang.Class-">SwaggerElement</a></code></span></div>
+<div class="block">Generic property getter.
+ 
+ <p>
+ Can be used to retrieve non-standard Swagger fields such as <js>"$ref"</js>.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
+<dd><code><a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.html#get-java.lang.String-java.lang.Class-">get</a></code>&nbsp;in
class&nbsp;<code><a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.html"
title="class in org.apache.juneau.dto.swagger">SwaggerElement</a></code></dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>property</code> - The property name to retrieve.</dd>
+<dd><code>type</code> - The datatype to cast the value to.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The property value, or <jk>null</jk> if the property does not exist
or is not set.</dd>
+</dl>
+</li>
+</ul>
+<a name="set-java.lang.String-java.lang.Object-">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>set</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/License.html"
title="class in org.apache.juneau.dto.swagger">License</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/License.html#line.157">set</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>&nbsp;property,
+                   <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>&nbsp;value)</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a
href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.html#set-java.lang.String-java.lang.Object-">SwaggerElement</a></code></span></div>
+<div class="block">Generic property setter.
+ 
+ <p>
+ Can be used to set non-standard Swagger fields such as <js>"$ref"</js>.</div>
 <dl>
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
+<dd><code><a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.html#set-java.lang.String-java.lang.Object-">set</a></code>&nbsp;in
class&nbsp;<code><a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.html"
title="class in org.apache.juneau.dto.swagger">SwaggerElement</a></code></dd>
 <dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>url</code> - The new value for the <property>url</property>
property on this bean.</dd>
+<dd><code>property</code> - The property name to set.</dd>
+<dd><code>value</code> - The new value for the property.</dd>
 <dt><span class="returnLabel">Returns:</span></dt>
 <dd>This object (for method chaining).</dd>
 </dl>


Mime
View raw message