Regen docsite

This commit is contained in:
Mike Hearn 2016-07-14 10:55:35 +02:00
parent 1ec1642080
commit 1715941dce
261 changed files with 7703 additions and 0 deletions

View File

@ -0,0 +1,14 @@
<HTML>
<HEAD>
<title>Cash.Clauses.ConserveAmount.<init> - </title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../../index.html">Cash</a>&nbsp;/&nbsp;<a href="../index.html">Clauses</a>&nbsp;/&nbsp;<a href="index.html">ConserveAmount</a>&nbsp;/&nbsp;<a href=".">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
<code><span class="identifier">ConserveAmount</span><span class="symbol">(</span><span class="symbol">)</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,51 @@
<HTML>
<HEAD>
<title>Cash.Clauses.ConserveAmount - </title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../../index.html">Cash</a>&nbsp;/&nbsp;<a href="../index.html">Clauses</a>&nbsp;/&nbsp;<a href=".">ConserveAmount</a><br/>
<br/>
<h1>ConserveAmount</h1>
<code><span class="keyword">class </span><span class="identifier">ConserveAmount</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../../../com.r3corda.contracts.clause/-abstract-conserve-amount/index.html"><span class="identifier">AbstractConserveAmount</span></a><span class="symbol">&lt;</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">,</span>&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Currency.html"><span class="identifier">Currency</span></a><span class="symbol">&gt;</span></code><br/>
<br/>
<br/>
<h3>Constructors</h3>
<table>
<tbody>
<tr>
<td>
<a href="-init-.html">&lt;init&gt;</a></td>
<td>
<code><span class="identifier">ConserveAmount</span><span class="symbol">(</span><span class="symbol">)</span></code></td>
</tr>
</tbody>
</table>
<h3>Inherited Properties</h3>
<table>
<tbody>
<tr>
<td>
<a href="../../../../com.r3corda.contracts.clause/-abstract-conserve-amount/if-matched.html">ifMatched</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">ifMatched</span><span class="symbol">: </span><a href="../../../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><p>Behaviour if this clause is not matches</p>
</td>
</tr>
<tr>
<td>
<a href="../../../../com.r3corda.contracts.clause/-abstract-conserve-amount/if-not-matched.html">ifNotMatched</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">ifNotMatched</span><span class="symbol">: </span><a href="../../../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><p>Behaviour if this clause is matched</p>
</td>
</tr>
<tr>
<td>
<a href="../../../../com.r3corda.contracts.clause/-abstract-conserve-amount/required-commands.html">requiredCommands</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">requiredCommands</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html"><span class="identifier">Class</span></a><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><p>Classes for commands which must ALL be present in transaction for this clause to be triggered</p>
</td>
</tr>
</tbody>
</table>
</BODY>
</HTML>

View File

@ -0,0 +1,14 @@
<HTML>
<HEAD>
<title>Cash.Clauses.Group.<init> - </title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../../index.html">Cash</a>&nbsp;/&nbsp;<a href="../index.html">Clauses</a>&nbsp;/&nbsp;<a href="index.html">Group</a>&nbsp;/&nbsp;<a href=".">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
<code><span class="identifier">Group</span><span class="symbol">(</span><span class="symbol">)</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,16 @@
<HTML>
<HEAD>
<title>Cash.Clauses.Group.clauses - </title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../../index.html">Cash</a>&nbsp;/&nbsp;<a href="../index.html">Clauses</a>&nbsp;/&nbsp;<a href="index.html">Group</a>&nbsp;/&nbsp;<a href=".">clauses</a><br/>
<br/>
<h1>clauses</h1>
<a name="com.r3corda.contracts.asset.Cash.Clauses.Group$clauses"></a>
<code><span class="keyword">val </span><span class="identifier">clauses</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol">&lt;</span><a href="../../../../com.r3corda.core.contracts.clauses/-group-clause.html"><span class="identifier">GroupClause</span></a><span class="symbol">&lt;</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">,</span>&nbsp;<a href="../../../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Currency.html"><span class="identifier">Currency</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><br/>
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-group-clause-verifier/clauses.html">GroupClauseVerifier.clauses</a><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,16 @@
<HTML>
<HEAD>
<title>Cash.Clauses.Group.extractGroups - </title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../../index.html">Cash</a>&nbsp;/&nbsp;<a href="../index.html">Clauses</a>&nbsp;/&nbsp;<a href="index.html">Group</a>&nbsp;/&nbsp;<a href=".">extractGroups</a><br/>
<br/>
<h1>extractGroups</h1>
<a name="com.r3corda.contracts.asset.Cash.Clauses.Group$extractGroups(com.r3corda.core.contracts.TransactionForContract)"></a>
<code><span class="keyword">fun </span><span class="identifier">extractGroups</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.asset.Cash.Clauses.Group$extractGroups(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span>&nbsp;<a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol">&lt;</span><a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/-in-out-group/index.html"><span class="identifier">InOutGroup</span></a><span class="symbol">&lt;</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">,</span>&nbsp;<a href="../../../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Currency.html"><span class="identifier">Currency</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><br/>
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-group-clause-verifier/extract-groups.html">GroupClauseVerifier.extractGroups</a><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,20 @@
<HTML>
<HEAD>
<title>Cash.Clauses.Group.ifMatched - </title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../../index.html">Cash</a>&nbsp;/&nbsp;<a href="../index.html">Clauses</a>&nbsp;/&nbsp;<a href="index.html">Group</a>&nbsp;/&nbsp;<a href=".">ifMatched</a><br/>
<br/>
<h1>ifMatched</h1>
<a name="com.r3corda.contracts.asset.Cash.Clauses.Group$ifMatched"></a>
<code><span class="keyword">val </span><span class="identifier">ifMatched</span><span class="symbol">: </span><a href="../../../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><br/>
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-clause/if-matched.html">Clause.ifMatched</a><br/>
<p>Behaviour if this clause is not matches</p>
<p><strong>Getter</strong><br/>
<p>Behaviour if this clause is not matches</p>
</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,20 @@
<HTML>
<HEAD>
<title>Cash.Clauses.Group.ifNotMatched - </title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../../index.html">Cash</a>&nbsp;/&nbsp;<a href="../index.html">Clauses</a>&nbsp;/&nbsp;<a href="index.html">Group</a>&nbsp;/&nbsp;<a href=".">ifNotMatched</a><br/>
<br/>
<h1>ifNotMatched</h1>
<a name="com.r3corda.contracts.asset.Cash.Clauses.Group$ifNotMatched"></a>
<code><span class="keyword">val </span><span class="identifier">ifNotMatched</span><span class="symbol">: </span><a href="../../../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><br/>
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-clause/if-not-matched.html">Clause.ifNotMatched</a><br/>
<p>Behaviour if this clause is matched</p>
<p><strong>Getter</strong><br/>
<p>Behaviour if this clause is matched</p>
</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,87 @@
<HTML>
<HEAD>
<title>Cash.Clauses.Group - </title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../../index.html">Cash</a>&nbsp;/&nbsp;<a href="../index.html">Clauses</a>&nbsp;/&nbsp;<a href=".">Group</a><br/>
<br/>
<h1>Group</h1>
<code><span class="keyword">class </span><span class="identifier">Group</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../../../com.r3corda.core.contracts.clauses/-group-clause-verifier/index.html"><span class="identifier">GroupClauseVerifier</span></a><span class="symbol">&lt;</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">,</span>&nbsp;<a href="../../../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Currency.html"><span class="identifier">Currency</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><br/>
<br/>
<br/>
<h3>Constructors</h3>
<table>
<tbody>
<tr>
<td>
<a href="-init-.html">&lt;init&gt;</a></td>
<td>
<code><span class="identifier">Group</span><span class="symbol">(</span><span class="symbol">)</span></code></td>
</tr>
</tbody>
</table>
<h3>Properties</h3>
<table>
<tbody>
<tr>
<td>
<a href="clauses.html">clauses</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">clauses</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol">&lt;</span><a href="../../../../com.r3corda.core.contracts.clauses/-group-clause.html"><span class="identifier">GroupClause</span></a><span class="symbol">&lt;</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">,</span>&nbsp;<a href="../../../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Currency.html"><span class="identifier">Currency</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="if-matched.html">ifMatched</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">ifMatched</span><span class="symbol">: </span><a href="../../../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><p>Behaviour if this clause is not matches</p>
</td>
</tr>
<tr>
<td>
<a href="if-not-matched.html">ifNotMatched</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">ifNotMatched</span><span class="symbol">: </span><a href="../../../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><p>Behaviour if this clause is matched</p>
</td>
</tr>
</tbody>
</table>
<h3>Inherited Properties</h3>
<table>
<tbody>
<tr>
<td>
<a href="../../../../com.r3corda.core.contracts.clauses/-group-clause-verifier/required-commands.html">requiredCommands</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">requiredCommands</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html"><span class="identifier">Class</span></a><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><p>Classes for commands which must ALL be present in transaction for this clause to be triggered</p>
</td>
</tr>
</tbody>
</table>
<h3>Functions</h3>
<table>
<tbody>
<tr>
<td>
<a href="extract-groups.html">extractGroups</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">extractGroups</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.asset.Cash.Clauses.Group$extractGroups(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span>&nbsp;<a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol">&lt;</span><a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/-in-out-group/index.html"><span class="identifier">InOutGroup</span></a><span class="symbol">&lt;</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">,</span>&nbsp;<a href="../../../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Currency.html"><span class="identifier">Currency</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code></td>
</tr>
</tbody>
</table>
<h3>Inherited Functions</h3>
<table>
<tbody>
<tr>
<td>
<a href="../../../../com.r3corda.core.contracts.clauses/-group-clause-verifier/verify.html">verify</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.core.contracts.clauses.GroupClauseVerifier$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))))/tx">tx</span><span class="symbol">:</span>&nbsp;<a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.core.contracts.clauses.GroupClauseVerifier$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))))/commands">commands</span><span class="symbol">:</span>&nbsp;<span class="identifier">Collection</span><span class="symbol">&lt;</span><a href="../../../../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol">&lt;</span><a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol">&lt;</span><a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">&gt;</span></code><p>Verify the transaction matches the conditions from this clause. For example, a "no zero amount output" clause
would check each of the output states that it applies to, looking for a zero amount, and throw IllegalStateException
if any matched.</p>
</td>
</tr>
</tbody>
</table>
</BODY>
</HTML>

View File

@ -0,0 +1,14 @@
<HTML>
<HEAD>
<title>Cash.Clauses.Issue.<init> - </title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../../index.html">Cash</a>&nbsp;/&nbsp;<a href="../index.html">Clauses</a>&nbsp;/&nbsp;<a href="index.html">Issue</a>&nbsp;/&nbsp;<a href=".">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
<code><span class="identifier">Issue</span><span class="symbol">(</span><span class="symbol">)</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,68 @@
<HTML>
<HEAD>
<title>Cash.Clauses.Issue - </title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../../index.html">Cash</a>&nbsp;/&nbsp;<a href="../index.html">Clauses</a>&nbsp;/&nbsp;<a href=".">Issue</a><br/>
<br/>
<h1>Issue</h1>
<code><span class="keyword">class </span><span class="identifier">Issue</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../../../com.r3corda.contracts.clause/-abstract-issue/index.html"><span class="identifier">AbstractIssue</span></a><span class="symbol">&lt;</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">,</span>&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Currency.html"><span class="identifier">Currency</span></a><span class="symbol">&gt;</span></code><br/>
<br/>
<br/>
<h3>Constructors</h3>
<table>
<tbody>
<tr>
<td>
<a href="-init-.html">&lt;init&gt;</a></td>
<td>
<code><span class="identifier">Issue</span><span class="symbol">(</span><span class="symbol">)</span></code></td>
</tr>
</tbody>
</table>
<h3>Properties</h3>
<table>
<tbody>
<tr>
<td>
<a href="required-commands.html">requiredCommands</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">requiredCommands</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html"><span class="identifier">Class</span></a><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><p>Classes for commands which must ALL be present in transaction for this clause to be triggered</p>
</td>
</tr>
</tbody>
</table>
<h3>Inherited Properties</h3>
<table>
<tbody>
<tr>
<td>
<a href="../../../../com.r3corda.contracts.clause/-abstract-issue/if-matched.html">ifMatched</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">ifMatched</span><span class="symbol">: </span><a href="../../../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><p>Behaviour if this clause is not matches</p>
</td>
</tr>
<tr>
<td>
<a href="../../../../com.r3corda.contracts.clause/-abstract-issue/if-not-matched.html">ifNotMatched</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">ifNotMatched</span><span class="symbol">: </span><a href="../../../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><p>Behaviour if this clause is matched</p>
</td>
</tr>
<tr>
<td>
<a href="../../../../com.r3corda.contracts.clause/-abstract-issue/sum.html">sum</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">sum</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol">&lt;</span><span class="identifier">S</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="../../../../com.r3corda.core.contracts/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">&lt;</span><a href="../../../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="../../../../com.r3corda.contracts.clause/-abstract-issue/sum-or-zero.html">sumOrZero</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">sumOrZero</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol">&lt;</span><span class="identifier">S</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="symbol">(</span><a href="../../../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="../../../../com.r3corda.core.contracts/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">&lt;</span><a href="../../../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code></td>
</tr>
</tbody>
</table>
</BODY>
</HTML>

View File

@ -0,0 +1,20 @@
<HTML>
<HEAD>
<title>Cash.Clauses.Issue.requiredCommands - </title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../../index.html">Cash</a>&nbsp;/&nbsp;<a href="../index.html">Clauses</a>&nbsp;/&nbsp;<a href="index.html">Issue</a>&nbsp;/&nbsp;<a href=".">requiredCommands</a><br/>
<br/>
<h1>requiredCommands</h1>
<a name="com.r3corda.contracts.asset.Cash.Clauses.Issue$requiredCommands"></a>
<code><span class="keyword">val </span><span class="identifier">requiredCommands</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html"><span class="identifier">Class</span></a><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><br/>
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-clause/required-commands.html">Clause.requiredCommands</a><br/>
<p>Classes for commands which must ALL be present in transaction for this clause to be triggered</p>
<p><strong>Getter</strong><br/>
<p>Classes for commands which must ALL be present in transaction for this clause to be triggered</p>
</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,37 @@
<HTML>
<HEAD>
<title>Cash.Clauses - </title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../index.html">Cash</a>&nbsp;/&nbsp;<a href=".">Clauses</a><br/>
<br/>
<h1>Clauses</h1>
<code><span class="keyword">interface </span><span class="identifier">Clauses</span></code><br/>
<br/>
<br/>
<h3>Types</h3>
<table>
<tbody>
<tr>
<td>
<a href="-conserve-amount/index.html">ConserveAmount</a></td>
<td>
<code><span class="keyword">class </span><span class="identifier">ConserveAmount</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../../com.r3corda.contracts.clause/-abstract-conserve-amount/index.html"><span class="identifier">AbstractConserveAmount</span></a><span class="symbol">&lt;</span><a href="../-state/index.html"><span class="identifier">State</span></a><span class="symbol">,</span>&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Currency.html"><span class="identifier">Currency</span></a><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="-group/index.html">Group</a></td>
<td>
<code><span class="keyword">class </span><span class="identifier">Group</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../../com.r3corda.core.contracts.clauses/-group-clause-verifier/index.html"><span class="identifier">GroupClauseVerifier</span></a><span class="symbol">&lt;</span><a href="../-state/index.html"><span class="identifier">State</span></a><span class="symbol">,</span>&nbsp;<a href="../../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Currency.html"><span class="identifier">Currency</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="-issue/index.html">Issue</a></td>
<td>
<code><span class="keyword">class </span><span class="identifier">Issue</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../../com.r3corda.contracts.clause/-abstract-issue/index.html"><span class="identifier">AbstractIssue</span></a><span class="symbol">&lt;</span><a href="../-state/index.html"><span class="identifier">State</span></a><span class="symbol">,</span>&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Currency.html"><span class="identifier">Currency</span></a><span class="symbol">&gt;</span></code></td>
</tr>
</tbody>
</table>
</BODY>
</HTML>

View File

@ -0,0 +1,16 @@
<HTML>
<HEAD>
<title>Cash.clauses - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="index.html">Cash</a>&nbsp;/&nbsp;<a href=".">clauses</a><br/>
<br/>
<h1>clauses</h1>
<a name="com.r3corda.contracts.asset.Cash$clauses"></a>
<code><span class="keyword">val </span><span class="identifier">clauses</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts.clauses/-single-clause.html"><span class="identifier">SingleClause</span></a><span class="symbol">&gt;</span></code><br/>
Overrides <a href="../../com.r3corda.core.contracts.clauses/-clause-verifier/clauses.html">ClauseVerifier.clauses</a><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,16 @@
<HTML>
<HEAD>
<title>Cash.extractCommands - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="index.html">Cash</a>&nbsp;/&nbsp;<a href=".">extractCommands</a><br/>
<br/>
<h1>extractCommands</h1>
<a name="com.r3corda.contracts.asset.Cash$extractCommands(com.r3corda.core.contracts.TransactionForContract)"></a>
<code><span class="keyword">fun </span><span class="identifier">extractCommands</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.asset.Cash$extractCommands(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span>&nbsp;<a href="../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol">&lt;</span><a href="../-fungible-asset/-commands/index.html"><span class="identifier">Commands</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><br/>
Overrides <a href="../../com.r3corda.core.contracts.clauses/-clause-verifier/extract-commands.html">ClauseVerifier.extractCommands</a><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>FungibleAsset.amount - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="index.html">FungibleAsset</a>&nbsp;/&nbsp;<a href=".">amount</a><br/>
<br/>
<h1>amount</h1>
<a name="com.r3corda.contracts.asset.FungibleAsset$amount"></a>
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">amount</span><span class="symbol">: </span><a href="../../com.r3corda.core.contracts/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,17 @@
<HTML>
<HEAD>
<title>FungibleAsset.deposit - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="index.html">FungibleAsset</a>&nbsp;/&nbsp;<a href=".">deposit</a><br/>
<br/>
<h1>deposit</h1>
<a name="com.r3corda.contracts.asset.FungibleAsset$deposit"></a>
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">deposit</span><span class="symbol">: </span><a href="../../com.r3corda.core.contracts/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a></code><br/>
<p>Where the underlying asset backing this ledger entry can be found. The reference
is only intended for use by the issuer, and is not intended to be meaningful to others.</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,16 @@
<HTML>
<HEAD>
<title>FungibleAsset.exitKeys - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="index.html">FungibleAsset</a>&nbsp;/&nbsp;<a href=".">exitKeys</a><br/>
<br/>
<h1>exitKeys</h1>
<a name="com.r3corda.contracts.asset.FungibleAsset$exitKeys"></a>
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">exitKeys</span><span class="symbol">: </span><span class="identifier">Collection</span><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/security/PublicKey.html"><span class="identifier">PublicKey</span></a><span class="symbol">&gt;</span></code><br/>
<p>There must be an ExitCommand signed by these keys to destroy the amount</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>FungibleAsset.issuanceDef - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="index.html">FungibleAsset</a>&nbsp;/&nbsp;<a href=".">issuanceDef</a><br/>
<br/>
<h1>issuanceDef</h1>
<a name="com.r3corda.contracts.asset.FungibleAsset$issuanceDef"></a>
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">issuanceDef</span><span class="symbol">: </span><a href="../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>FungibleAsset.move - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="index.html">FungibleAsset</a>&nbsp;/&nbsp;<a href=".">move</a><br/>
<br/>
<h1>move</h1>
<a name="com.r3corda.contracts.asset.FungibleAsset$move(com.r3corda.core.contracts.Amount((com.r3corda.core.contracts.Issued((com.r3corda.contracts.asset.FungibleAsset.T)))), java.security.PublicKey)"></a>
<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">move</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.asset.FungibleAsset$move(com.r3corda.core.contracts.Amount((com.r3corda.core.contracts.Issued((com.r3corda.contracts.asset.FungibleAsset.T)))), java.security.PublicKey)/newAmount">newAmount</span><span class="symbol">:</span>&nbsp;<a href="../../com.r3corda.core.contracts/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.asset.FungibleAsset$move(com.r3corda.core.contracts.Amount((com.r3corda.core.contracts.Issued((com.r3corda.contracts.asset.FungibleAsset.T)))), java.security.PublicKey)/newOwner">newOwner</span><span class="symbol">:</span>&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/security/PublicKey.html"><span class="identifier">PublicKey</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">FungibleAsset</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,17 @@
<HTML>
<HEAD>
<title>FungibleAsset.owner - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="index.html">FungibleAsset</a>&nbsp;/&nbsp;<a href=".">owner</a><br/>
<br/>
<h1>owner</h1>
<a name="com.r3corda.contracts.asset.FungibleAsset$owner"></a>
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">owner</span><span class="symbol">: </span><a href="http://docs.oracle.com/javase/6/docs/api/java/security/PublicKey.html"><span class="identifier">PublicKey</span></a></code><br/>
Overrides <a href="../../com.r3corda.core.contracts/-ownable-state/owner.html">OwnableState.owner</a><br/>
<p>There must be a MoveCommand signed by this key to claim the amount</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>Obligation.Clauses.ConserveAmount.<init> - </title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../../index.html">Obligation</a>&nbsp;/&nbsp;<a href="../index.html">Clauses</a>&nbsp;/&nbsp;<a href="index.html">ConserveAmount</a>&nbsp;/&nbsp;<a href=".">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
<code><span class="identifier">ConserveAmount</span><span class="symbol">(</span><span class="symbol">)</span></code><br/>
<p>Generic move/exit clause for fungible assets</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,53 @@
<HTML>
<HEAD>
<title>Obligation.Clauses.ConserveAmount - </title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../../index.html">Obligation</a>&nbsp;/&nbsp;<a href="../index.html">Clauses</a>&nbsp;/&nbsp;<a href=".">ConserveAmount</a><br/>
<br/>
<h1>ConserveAmount</h1>
<code><span class="keyword">class </span><span class="identifier">ConserveAmount</span><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../../../com.r3corda.contracts.clause/-abstract-conserve-amount/index.html"><span class="identifier">AbstractConserveAmount</span></a><span class="symbol">&lt;</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<a href="../../-terms/index.html"><span class="identifier">Terms</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><br/>
<p>Generic move/exit clause for fungible assets</p>
<br/>
<br/>
<h3>Constructors</h3>
<table>
<tbody>
<tr>
<td>
<a href="-init-.html">&lt;init&gt;</a></td>
<td>
<code><span class="identifier">ConserveAmount</span><span class="symbol">(</span><span class="symbol">)</span></code><p>Generic move/exit clause for fungible assets</p>
</td>
</tr>
</tbody>
</table>
<h3>Inherited Properties</h3>
<table>
<tbody>
<tr>
<td>
<a href="../../../../com.r3corda.contracts.clause/-abstract-conserve-amount/if-matched.html">ifMatched</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">ifMatched</span><span class="symbol">: </span><a href="../../../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><p>Behaviour if this clause is not matches</p>
</td>
</tr>
<tr>
<td>
<a href="../../../../com.r3corda.contracts.clause/-abstract-conserve-amount/if-not-matched.html">ifNotMatched</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">ifNotMatched</span><span class="symbol">: </span><a href="../../../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><p>Behaviour if this clause is matched</p>
</td>
</tr>
<tr>
<td>
<a href="../../../../com.r3corda.contracts.clause/-abstract-conserve-amount/required-commands.html">requiredCommands</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">requiredCommands</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html"><span class="identifier">Class</span></a><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><p>Classes for commands which must ALL be present in transaction for this clause to be triggered</p>
</td>
</tr>
</tbody>
</table>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>Obligation.Clauses.Group.<init> - </title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../../index.html">Obligation</a>&nbsp;/&nbsp;<a href="../index.html">Clauses</a>&nbsp;/&nbsp;<a href="index.html">Group</a>&nbsp;/&nbsp;<a href=".">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
<code><span class="identifier">Group</span><span class="symbol">(</span><span class="symbol">)</span></code><br/>
<p>Parent clause for clauses that operate on grouped states (those which are fungible).</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,16 @@
<HTML>
<HEAD>
<title>Obligation.Clauses.Group.clauses - </title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../../index.html">Obligation</a>&nbsp;/&nbsp;<a href="../index.html">Clauses</a>&nbsp;/&nbsp;<a href="index.html">Group</a>&nbsp;/&nbsp;<a href=".">clauses</a><br/>
<br/>
<h1>clauses</h1>
<a name="com.r3corda.contracts.asset.Obligation.Clauses.Group$clauses"></a>
<code><span class="keyword">val </span><span class="identifier">clauses</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol">&lt;</span><a href="../../../../com.r3corda.core.contracts.clauses/-group-clause.html"><span class="identifier">GroupClause</span></a><span class="symbol">&lt;</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<a href="../../../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><a href="../../-terms/index.html"><span class="identifier">Terms</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><br/>
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-group-clause-verifier/clauses.html">GroupClauseVerifier.clauses</a><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,16 @@
<HTML>
<HEAD>
<title>Obligation.Clauses.Group.extractGroups - </title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../../index.html">Obligation</a>&nbsp;/&nbsp;<a href="../index.html">Clauses</a>&nbsp;/&nbsp;<a href="index.html">Group</a>&nbsp;/&nbsp;<a href=".">extractGroups</a><br/>
<br/>
<h1>extractGroups</h1>
<a name="com.r3corda.contracts.asset.Obligation.Clauses.Group$extractGroups(com.r3corda.core.contracts.TransactionForContract)"></a>
<code><span class="keyword">fun </span><span class="identifier">extractGroups</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.asset.Obligation.Clauses.Group$extractGroups(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span>&nbsp;<a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol">&lt;</span><a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/-in-out-group/index.html"><span class="identifier">InOutGroup</span></a><span class="symbol">&lt;</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<a href="../../../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><a href="../../-terms/index.html"><span class="identifier">Terms</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><br/>
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-group-clause-verifier/extract-groups.html">GroupClauseVerifier.extractGroups</a><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,20 @@
<HTML>
<HEAD>
<title>Obligation.Clauses.Group.ifMatched - </title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../../index.html">Obligation</a>&nbsp;/&nbsp;<a href="../index.html">Clauses</a>&nbsp;/&nbsp;<a href="index.html">Group</a>&nbsp;/&nbsp;<a href=".">ifMatched</a><br/>
<br/>
<h1>ifMatched</h1>
<a name="com.r3corda.contracts.asset.Obligation.Clauses.Group$ifMatched"></a>
<code><span class="keyword">val </span><span class="identifier">ifMatched</span><span class="symbol">: </span><a href="../../../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><br/>
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-clause/if-matched.html">Clause.ifMatched</a><br/>
<p>Behaviour if this clause is not matches</p>
<p><strong>Getter</strong><br/>
<p>Behaviour if this clause is not matches</p>
</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,20 @@
<HTML>
<HEAD>
<title>Obligation.Clauses.Group.ifNotMatched - </title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../../index.html">Obligation</a>&nbsp;/&nbsp;<a href="../index.html">Clauses</a>&nbsp;/&nbsp;<a href="index.html">Group</a>&nbsp;/&nbsp;<a href=".">ifNotMatched</a><br/>
<br/>
<h1>ifNotMatched</h1>
<a name="com.r3corda.contracts.asset.Obligation.Clauses.Group$ifNotMatched"></a>
<code><span class="keyword">val </span><span class="identifier">ifNotMatched</span><span class="symbol">: </span><a href="../../../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><br/>
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-clause/if-not-matched.html">Clause.ifNotMatched</a><br/>
<p>Behaviour if this clause is matched</p>
<p><strong>Getter</strong><br/>
<p>Behaviour if this clause is matched</p>
</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,89 @@
<HTML>
<HEAD>
<title>Obligation.Clauses.Group - </title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../../index.html">Obligation</a>&nbsp;/&nbsp;<a href="../index.html">Clauses</a>&nbsp;/&nbsp;<a href=".">Group</a><br/>
<br/>
<h1>Group</h1>
<code><span class="keyword">class </span><span class="identifier">Group</span><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../../../com.r3corda.core.contracts.clauses/-group-clause-verifier/index.html"><span class="identifier">GroupClauseVerifier</span></a><span class="symbol">&lt;</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<a href="../../../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><a href="../../-terms/index.html"><span class="identifier">Terms</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><br/>
<p>Parent clause for clauses that operate on grouped states (those which are fungible).</p>
<br/>
<br/>
<h3>Constructors</h3>
<table>
<tbody>
<tr>
<td>
<a href="-init-.html">&lt;init&gt;</a></td>
<td>
<code><span class="identifier">Group</span><span class="symbol">(</span><span class="symbol">)</span></code><p>Parent clause for clauses that operate on grouped states (those which are fungible).</p>
</td>
</tr>
</tbody>
</table>
<h3>Properties</h3>
<table>
<tbody>
<tr>
<td>
<a href="clauses.html">clauses</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">clauses</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol">&lt;</span><a href="../../../../com.r3corda.core.contracts.clauses/-group-clause.html"><span class="identifier">GroupClause</span></a><span class="symbol">&lt;</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<a href="../../../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><a href="../../-terms/index.html"><span class="identifier">Terms</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="if-matched.html">ifMatched</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">ifMatched</span><span class="symbol">: </span><a href="../../../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><p>Behaviour if this clause is not matches</p>
</td>
</tr>
<tr>
<td>
<a href="if-not-matched.html">ifNotMatched</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">ifNotMatched</span><span class="symbol">: </span><a href="../../../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><p>Behaviour if this clause is matched</p>
</td>
</tr>
</tbody>
</table>
<h3>Inherited Properties</h3>
<table>
<tbody>
<tr>
<td>
<a href="../../../../com.r3corda.core.contracts.clauses/-group-clause-verifier/required-commands.html">requiredCommands</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">requiredCommands</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html"><span class="identifier">Class</span></a><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><p>Classes for commands which must ALL be present in transaction for this clause to be triggered</p>
</td>
</tr>
</tbody>
</table>
<h3>Functions</h3>
<table>
<tbody>
<tr>
<td>
<a href="extract-groups.html">extractGroups</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">extractGroups</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.asset.Obligation.Clauses.Group$extractGroups(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span>&nbsp;<a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol">&lt;</span><a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/-in-out-group/index.html"><span class="identifier">InOutGroup</span></a><span class="symbol">&lt;</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<a href="../../../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><a href="../../-terms/index.html"><span class="identifier">Terms</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code></td>
</tr>
</tbody>
</table>
<h3>Inherited Functions</h3>
<table>
<tbody>
<tr>
<td>
<a href="../../../../com.r3corda.core.contracts.clauses/-group-clause-verifier/verify.html">verify</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.core.contracts.clauses.GroupClauseVerifier$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))))/tx">tx</span><span class="symbol">:</span>&nbsp;<a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.core.contracts.clauses.GroupClauseVerifier$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))))/commands">commands</span><span class="symbol">:</span>&nbsp;<span class="identifier">Collection</span><span class="symbol">&lt;</span><a href="../../../../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol">&lt;</span><a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol">&lt;</span><a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">&gt;</span></code><p>Verify the transaction matches the conditions from this clause. For example, a "no zero amount output" clause
would check each of the output states that it applies to, looking for a zero amount, and throw IllegalStateException
if any matched.</p>
</td>
</tr>
</tbody>
</table>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>Obligation.Clauses.Issue.<init> - </title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../../index.html">Obligation</a>&nbsp;/&nbsp;<a href="../index.html">Clauses</a>&nbsp;/&nbsp;<a href="index.html">Issue</a>&nbsp;/&nbsp;<a href=".">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
<code><span class="identifier">Issue</span><span class="symbol">(</span><span class="symbol">)</span></code><br/>
<p>Generic issuance clause</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,70 @@
<HTML>
<HEAD>
<title>Obligation.Clauses.Issue - </title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../../index.html">Obligation</a>&nbsp;/&nbsp;<a href="../index.html">Clauses</a>&nbsp;/&nbsp;<a href=".">Issue</a><br/>
<br/>
<h1>Issue</h1>
<code><span class="keyword">class </span><span class="identifier">Issue</span><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../../../com.r3corda.contracts.clause/-abstract-issue/index.html"><span class="identifier">AbstractIssue</span></a><span class="symbol">&lt;</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<a href="../../-terms/index.html"><span class="identifier">Terms</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><br/>
<p>Generic issuance clause</p>
<br/>
<br/>
<h3>Constructors</h3>
<table>
<tbody>
<tr>
<td>
<a href="-init-.html">&lt;init&gt;</a></td>
<td>
<code><span class="identifier">Issue</span><span class="symbol">(</span><span class="symbol">)</span></code><p>Generic issuance clause</p>
</td>
</tr>
</tbody>
</table>
<h3>Properties</h3>
<table>
<tbody>
<tr>
<td>
<a href="required-commands.html">requiredCommands</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">requiredCommands</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html"><span class="identifier">Class</span></a><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><p>Classes for commands which must ALL be present in transaction for this clause to be triggered</p>
</td>
</tr>
</tbody>
</table>
<h3>Inherited Properties</h3>
<table>
<tbody>
<tr>
<td>
<a href="../../../../com.r3corda.contracts.clause/-abstract-issue/if-matched.html">ifMatched</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">ifMatched</span><span class="symbol">: </span><a href="../../../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><p>Behaviour if this clause is not matches</p>
</td>
</tr>
<tr>
<td>
<a href="../../../../com.r3corda.contracts.clause/-abstract-issue/if-not-matched.html">ifNotMatched</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">ifNotMatched</span><span class="symbol">: </span><a href="../../../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><p>Behaviour if this clause is matched</p>
</td>
</tr>
<tr>
<td>
<a href="../../../../com.r3corda.contracts.clause/-abstract-issue/sum.html">sum</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">sum</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol">&lt;</span><span class="identifier">S</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="../../../../com.r3corda.core.contracts/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">&lt;</span><a href="../../../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="../../../../com.r3corda.contracts.clause/-abstract-issue/sum-or-zero.html">sumOrZero</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">sumOrZero</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol">&lt;</span><span class="identifier">S</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="symbol">(</span><a href="../../../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="../../../../com.r3corda.core.contracts/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">&lt;</span><a href="../../../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code></td>
</tr>
</tbody>
</table>
</BODY>
</HTML>

View File

@ -0,0 +1,20 @@
<HTML>
<HEAD>
<title>Obligation.Clauses.Issue.requiredCommands - </title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../../index.html">Obligation</a>&nbsp;/&nbsp;<a href="../index.html">Clauses</a>&nbsp;/&nbsp;<a href="index.html">Issue</a>&nbsp;/&nbsp;<a href=".">requiredCommands</a><br/>
<br/>
<h1>requiredCommands</h1>
<a name="com.r3corda.contracts.asset.Obligation.Clauses.Issue$requiredCommands"></a>
<code><span class="keyword">val </span><span class="identifier">requiredCommands</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html"><span class="identifier">Class</span></a><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><br/>
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-clause/required-commands.html">Clause.requiredCommands</a><br/>
<p>Classes for commands which must ALL be present in transaction for this clause to be triggered</p>
<p><strong>Getter</strong><br/>
<p>Classes for commands which must ALL be present in transaction for this clause to be triggered</p>
</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>Obligation.Clauses.Net.<init> - </title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../../index.html">Obligation</a>&nbsp;/&nbsp;<a href="../index.html">Clauses</a>&nbsp;/&nbsp;<a href="index.html">Net</a>&nbsp;/&nbsp;<a href=".">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
<code><span class="identifier">Net</span><span class="symbol">(</span><span class="symbol">)</span></code><br/>
<p>Clause for supporting netting of obligations.</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,67 @@
<HTML>
<HEAD>
<title>Obligation.Clauses.Net - </title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../../index.html">Obligation</a>&nbsp;/&nbsp;<a href="../index.html">Clauses</a>&nbsp;/&nbsp;<a href=".">Net</a><br/>
<br/>
<h1>Net</h1>
<code><span class="keyword">class </span><span class="identifier">Net</span><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../../../com.r3corda.contracts.clause/-net-clause/index.html"><span class="identifier">NetClause</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span></code><br/>
<p>Clause for supporting netting of obligations.</p>
<br/>
<br/>
<h3>Constructors</h3>
<table>
<tbody>
<tr>
<td>
<a href="-init-.html">&lt;init&gt;</a></td>
<td>
<code><span class="identifier">Net</span><span class="symbol">(</span><span class="symbol">)</span></code><p>Clause for supporting netting of obligations.</p>
</td>
</tr>
</tbody>
</table>
<h3>Inherited Properties</h3>
<table>
<tbody>
<tr>
<td>
<a href="../../../../com.r3corda.contracts.clause/-net-clause/if-matched.html">ifMatched</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">ifMatched</span><span class="symbol">: </span><a href="../../../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><p>Behaviour if this clause is not matches</p>
</td>
</tr>
<tr>
<td>
<a href="../../../../com.r3corda.contracts.clause/-net-clause/if-not-matched.html">ifNotMatched</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">ifNotMatched</span><span class="symbol">: </span><a href="../../../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><p>Behaviour if this clause is matched</p>
</td>
</tr>
<tr>
<td>
<a href="../../../../com.r3corda.contracts.clause/-net-clause/required-commands.html">requiredCommands</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">requiredCommands</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html"><span class="identifier">Class</span></a><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><p>Classes for commands which must ALL be present in transaction for this clause to be triggered</p>
</td>
</tr>
</tbody>
</table>
<h3>Inherited Functions</h3>
<table>
<tbody>
<tr>
<td>
<a href="../../../../com.r3corda.contracts.clause/-net-clause/verify.html">verify</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.clause.NetClause$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))))/tx">tx</span><span class="symbol">:</span>&nbsp;<a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.clause.NetClause$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))))/commands">commands</span><span class="symbol">:</span>&nbsp;<span class="identifier">Collection</span><span class="symbol">&lt;</span><a href="../../../../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol">&lt;</span><a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol">&lt;</span><a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">&gt;</span></code><p>Verify the transaction matches the conditions from this clause. For example, a "no zero amount output" clause
would check each of the output states that it applies to, looking for a zero amount, and throw IllegalStateException
if any matched.</p>
</td>
</tr>
</tbody>
</table>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>Obligation.Clauses.SetLifecycle.<init> - </title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../../index.html">Obligation</a>&nbsp;/&nbsp;<a href="../index.html">Clauses</a>&nbsp;/&nbsp;<a href="index.html">SetLifecycle</a>&nbsp;/&nbsp;<a href=".">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
<code><span class="identifier">SetLifecycle</span><span class="symbol">(</span><span class="symbol">)</span></code><br/>
<p>Obligation-specific clause for changing the lifecycle of one or more states.</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,20 @@
<HTML>
<HEAD>
<title>Obligation.Clauses.SetLifecycle.ifMatched - </title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../../index.html">Obligation</a>&nbsp;/&nbsp;<a href="../index.html">Clauses</a>&nbsp;/&nbsp;<a href="index.html">SetLifecycle</a>&nbsp;/&nbsp;<a href=".">ifMatched</a><br/>
<br/>
<h1>ifMatched</h1>
<a name="com.r3corda.contracts.asset.Obligation.Clauses.SetLifecycle$ifMatched"></a>
<code><span class="keyword">val </span><span class="identifier">ifMatched</span><span class="symbol">: </span><a href="../../../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><br/>
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-clause/if-matched.html">Clause.ifMatched</a><br/>
<p>Behaviour if this clause is not matches</p>
<p><strong>Getter</strong><br/>
<p>Behaviour if this clause is not matches</p>
</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,20 @@
<HTML>
<HEAD>
<title>Obligation.Clauses.SetLifecycle.ifNotMatched - </title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../../index.html">Obligation</a>&nbsp;/&nbsp;<a href="../index.html">Clauses</a>&nbsp;/&nbsp;<a href="index.html">SetLifecycle</a>&nbsp;/&nbsp;<a href=".">ifNotMatched</a><br/>
<br/>
<h1>ifNotMatched</h1>
<a name="com.r3corda.contracts.asset.Obligation.Clauses.SetLifecycle$ifNotMatched"></a>
<code><span class="keyword">val </span><span class="identifier">ifNotMatched</span><span class="symbol">: </span><a href="../../../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><br/>
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-clause/if-not-matched.html">Clause.ifNotMatched</a><br/>
<p>Behaviour if this clause is matched</p>
<p><strong>Getter</strong><br/>
<p>Behaviour if this clause is matched</p>
</p>
<br/>
<br/>
</BODY>
</HTML>

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,20 @@
<HTML>
<HEAD>
<title>Obligation.Clauses.SetLifecycle.requiredCommands - </title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../../index.html">Obligation</a>&nbsp;/&nbsp;<a href="../index.html">Clauses</a>&nbsp;/&nbsp;<a href="index.html">SetLifecycle</a>&nbsp;/&nbsp;<a href=".">requiredCommands</a><br/>
<br/>
<h1>requiredCommands</h1>
<a name="com.r3corda.contracts.asset.Obligation.Clauses.SetLifecycle$requiredCommands"></a>
<code><span class="keyword">val </span><span class="identifier">requiredCommands</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html"><span class="identifier">Class</span></a><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><br/>
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-clause/required-commands.html">Clause.requiredCommands</a><br/>
<p>Classes for commands which must ALL be present in transaction for this clause to be triggered</p>
<p><strong>Getter</strong><br/>
<p>Classes for commands which must ALL be present in transaction for this clause to be triggered</p>
</p>
<br/>
<br/>
</BODY>
</HTML>

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,16 @@
<HTML>
<HEAD>
<title>Obligation.Clauses.Settle.<init> - </title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../../index.html">Obligation</a>&nbsp;/&nbsp;<a href="../index.html">Clauses</a>&nbsp;/&nbsp;<a href="index.html">Settle</a>&nbsp;/&nbsp;<a href=".">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
<code><span class="identifier">Settle</span><span class="symbol">(</span><span class="symbol">)</span></code><br/>
<p>Obligation-specific clause for settling an outstanding obligation by witnessing
change of ownership of other states to fulfil</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,20 @@
<HTML>
<HEAD>
<title>Obligation.Clauses.Settle.ifMatched - </title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../../index.html">Obligation</a>&nbsp;/&nbsp;<a href="../index.html">Clauses</a>&nbsp;/&nbsp;<a href="index.html">Settle</a>&nbsp;/&nbsp;<a href=".">ifMatched</a><br/>
<br/>
<h1>ifMatched</h1>
<a name="com.r3corda.contracts.asset.Obligation.Clauses.Settle$ifMatched"></a>
<code><span class="keyword">val </span><span class="identifier">ifMatched</span><span class="symbol">: </span><a href="../../../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><br/>
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-clause/if-matched.html">Clause.ifMatched</a><br/>
<p>Behaviour if this clause is not matches</p>
<p><strong>Getter</strong><br/>
<p>Behaviour if this clause is not matches</p>
</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,20 @@
<HTML>
<HEAD>
<title>Obligation.Clauses.Settle.ifNotMatched - </title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../../index.html">Obligation</a>&nbsp;/&nbsp;<a href="../index.html">Clauses</a>&nbsp;/&nbsp;<a href="index.html">Settle</a>&nbsp;/&nbsp;<a href=".">ifNotMatched</a><br/>
<br/>
<h1>ifNotMatched</h1>
<a name="com.r3corda.contracts.asset.Obligation.Clauses.Settle$ifNotMatched"></a>
<code><span class="keyword">val </span><span class="identifier">ifNotMatched</span><span class="symbol">: </span><a href="../../../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><br/>
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-clause/if-not-matched.html">Clause.ifNotMatched</a><br/>
<p>Behaviour if this clause is matched</p>
<p><strong>Getter</strong><br/>
<p>Behaviour if this clause is matched</p>
</p>
<br/>
<br/>
</BODY>
</HTML>

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,20 @@
<HTML>
<HEAD>
<title>Obligation.Clauses.Settle.requiredCommands - </title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../../index.html">Obligation</a>&nbsp;/&nbsp;<a href="../index.html">Clauses</a>&nbsp;/&nbsp;<a href="index.html">Settle</a>&nbsp;/&nbsp;<a href=".">requiredCommands</a><br/>
<br/>
<h1>requiredCommands</h1>
<a name="com.r3corda.contracts.asset.Obligation.Clauses.Settle$requiredCommands"></a>
<code><span class="keyword">val </span><span class="identifier">requiredCommands</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html"><span class="identifier">Class</span></a><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><br/>
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-clause/required-commands.html">Clause.requiredCommands</a><br/>
<p>Classes for commands which must ALL be present in transaction for this clause to be triggered</p>
<p><strong>Getter</strong><br/>
<p>Classes for commands which must ALL be present in transaction for this clause to be triggered</p>
</p>
<br/>
<br/>
</BODY>
</HTML>

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,18 @@
<HTML>
<HEAD>
<title>Obligation.Clauses.VerifyLifecycle.<init> - </title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../../index.html">Obligation</a>&nbsp;/&nbsp;<a href="../index.html">Clauses</a>&nbsp;/&nbsp;<a href="index.html">VerifyLifecycle</a>&nbsp;/&nbsp;<a href=".">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
<code><span class="identifier">VerifyLifecycle</span><span class="symbol">(</span><span class="symbol">)</span></code><br/>
<p>Obligation-specific clause for verifying that all states are in
normal lifecycle. In a group clause set, this must be run after
any lifecycle change clause, which is the only clause that involve
non-standard lifecycle states on input/output.</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,20 @@
<HTML>
<HEAD>
<title>Obligation.Clauses.VerifyLifecycle.ifMatched - </title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../../index.html">Obligation</a>&nbsp;/&nbsp;<a href="../index.html">Clauses</a>&nbsp;/&nbsp;<a href="index.html">VerifyLifecycle</a>&nbsp;/&nbsp;<a href=".">ifMatched</a><br/>
<br/>
<h1>ifMatched</h1>
<a name="com.r3corda.contracts.asset.Obligation.Clauses.VerifyLifecycle$ifMatched"></a>
<code><span class="keyword">val </span><span class="identifier">ifMatched</span><span class="symbol">: </span><a href="../../../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><br/>
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-clause/if-matched.html">Clause.ifMatched</a><br/>
<p>Behaviour if this clause is not matches</p>
<p><strong>Getter</strong><br/>
<p>Behaviour if this clause is not matches</p>
</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,20 @@
<HTML>
<HEAD>
<title>Obligation.Clauses.VerifyLifecycle.ifNotMatched - </title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../../index.html">Obligation</a>&nbsp;/&nbsp;<a href="../index.html">Clauses</a>&nbsp;/&nbsp;<a href="index.html">VerifyLifecycle</a>&nbsp;/&nbsp;<a href=".">ifNotMatched</a><br/>
<br/>
<h1>ifNotMatched</h1>
<a name="com.r3corda.contracts.asset.Obligation.Clauses.VerifyLifecycle$ifNotMatched"></a>
<code><span class="keyword">val </span><span class="identifier">ifNotMatched</span><span class="symbol">: </span><a href="../../../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><br/>
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-clause/if-not-matched.html">Clause.ifNotMatched</a><br/>
<p>Behaviour if this clause is matched</p>
<p><strong>Getter</strong><br/>
<p>Behaviour if this clause is matched</p>
</p>
<br/>
<br/>
</BODY>
</HTML>

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,20 @@
<HTML>
<HEAD>
<title>Obligation.Clauses.VerifyLifecycle.requiredCommands - </title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../../index.html">Obligation</a>&nbsp;/&nbsp;<a href="../index.html">Clauses</a>&nbsp;/&nbsp;<a href="index.html">VerifyLifecycle</a>&nbsp;/&nbsp;<a href=".">requiredCommands</a><br/>
<br/>
<h1>requiredCommands</h1>
<a name="com.r3corda.contracts.asset.Obligation.Clauses.VerifyLifecycle$requiredCommands"></a>
<code><span class="keyword">val </span><span class="identifier">requiredCommands</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html"><span class="identifier">Class</span></a><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><br/>
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-clause/required-commands.html">Clause.requiredCommands</a><br/>
<p>Classes for commands which must ALL be present in transaction for this clause to be triggered</p>
<p><strong>Getter</strong><br/>
<p>Classes for commands which must ALL be present in transaction for this clause to be triggered</p>
</p>
<br/>
<br/>
</BODY>
</HTML>

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,72 @@
<HTML>
<HEAD>
<title>Obligation.Clauses - </title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../index.html">Obligation</a>&nbsp;/&nbsp;<a href=".">Clauses</a><br/>
<br/>
<h1>Clauses</h1>
<code><span class="keyword">interface </span><span class="identifier">Clauses</span></code><br/>
<br/>
<br/>
<h3>Types</h3>
<table>
<tbody>
<tr>
<td>
<a href="-conserve-amount/index.html">ConserveAmount</a></td>
<td>
<code><span class="keyword">class </span><span class="identifier">ConserveAmount</span><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../../com.r3corda.contracts.clause/-abstract-conserve-amount/index.html"><span class="identifier">AbstractConserveAmount</span></a><span class="symbol">&lt;</span><a href="../-state/index.html"><span class="identifier">State</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<a href="../-terms/index.html"><span class="identifier">Terms</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><p>Generic move/exit clause for fungible assets</p>
</td>
</tr>
<tr>
<td>
<a href="-group/index.html">Group</a></td>
<td>
<code><span class="keyword">class </span><span class="identifier">Group</span><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../../com.r3corda.core.contracts.clauses/-group-clause-verifier/index.html"><span class="identifier">GroupClauseVerifier</span></a><span class="symbol">&lt;</span><a href="../-state/index.html"><span class="identifier">State</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<a href="../../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><a href="../-terms/index.html"><span class="identifier">Terms</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><p>Parent clause for clauses that operate on grouped states (those which are fungible).</p>
</td>
</tr>
<tr>
<td>
<a href="-issue/index.html">Issue</a></td>
<td>
<code><span class="keyword">class </span><span class="identifier">Issue</span><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../../com.r3corda.contracts.clause/-abstract-issue/index.html"><span class="identifier">AbstractIssue</span></a><span class="symbol">&lt;</span><a href="../-state/index.html"><span class="identifier">State</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<a href="../-terms/index.html"><span class="identifier">Terms</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><p>Generic issuance clause</p>
</td>
</tr>
<tr>
<td>
<a href="-net/index.html">Net</a></td>
<td>
<code><span class="keyword">class </span><span class="identifier">Net</span><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../../com.r3corda.contracts.clause/-net-clause/index.html"><span class="identifier">NetClause</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span></code><p>Clause for supporting netting of obligations.</p>
</td>
</tr>
<tr>
<td>
<a href="-set-lifecycle/index.html">SetLifecycle</a></td>
<td>
<code><span class="keyword">class </span><span class="identifier">SetLifecycle</span><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../../com.r3corda.core.contracts.clauses/-group-clause.html"><span class="identifier">GroupClause</span></a><span class="symbol">&lt;</span><a href="../-state/index.html"><span class="identifier">State</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<a href="../../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><a href="../-terms/index.html"><span class="identifier">Terms</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><p>Obligation-specific clause for changing the lifecycle of one or more states.</p>
</td>
</tr>
<tr>
<td>
<a href="-settle/index.html">Settle</a></td>
<td>
<code><span class="keyword">class </span><span class="identifier">Settle</span><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../../com.r3corda.core.contracts.clauses/-group-clause.html"><span class="identifier">GroupClause</span></a><span class="symbol">&lt;</span><a href="../-state/index.html"><span class="identifier">State</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<a href="../../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><a href="../-terms/index.html"><span class="identifier">Terms</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><p>Obligation-specific clause for settling an outstanding obligation by witnessing
change of ownership of other states to fulfil</p>
</td>
</tr>
<tr>
<td>
<a href="-verify-lifecycle/index.html">VerifyLifecycle</a></td>
<td>
<code><span class="keyword">class </span><span class="identifier">VerifyLifecycle</span><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../../com.r3corda.core.contracts.clauses/-single-clause.html"><span class="identifier">SingleClause</span></a><span class="symbol">, </span><a href="../../../com.r3corda.core.contracts.clauses/-group-clause.html"><span class="identifier">GroupClause</span></a><span class="symbol">&lt;</span><a href="../-state/index.html"><span class="identifier">State</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<a href="../../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><a href="../-terms/index.html"><span class="identifier">Terms</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><p>Obligation-specific clause for verifying that all states are in
normal lifecycle. In a group clause set, this must be run after
any lifecycle change clause, which is the only clause that involve
non-standard lifecycle states on input/output.</p>
</td>
</tr>
</tbody>
</table>
</BODY>
</HTML>

View File

@ -0,0 +1,22 @@
<HTML>
<HEAD>
<title>Obligation.State.deposit - </title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../index.html">Obligation</a>&nbsp;/&nbsp;<a href="index.html">State</a>&nbsp;/&nbsp;<a href=".">deposit</a><br/>
<br/>
<h1>deposit</h1>
<a name="com.r3corda.contracts.asset.Obligation.State$deposit"></a>
<code><span class="keyword">val </span><span class="identifier">deposit</span><span class="symbol">: </span><a href="../../../com.r3corda.core.contracts/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a></code><br/>
Overrides <a href="../../-fungible-asset/deposit.html">FungibleAsset.deposit</a><br/>
<p>Where the underlying asset backing this ledger entry can be found. The reference
is only intended for use by the issuer, and is not intended to be meaningful to others.</p>
<p><strong>Getter</strong><br/>
<p>Where the underlying asset backing this ledger entry can be found. The reference
is only intended for use by the issuer, and is not intended to be meaningful to others.</p>
</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,20 @@
<HTML>
<HEAD>
<title>Obligation.State.exitKeys - </title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../index.html">Obligation</a>&nbsp;/&nbsp;<a href="index.html">State</a>&nbsp;/&nbsp;<a href=".">exitKeys</a><br/>
<br/>
<h1>exitKeys</h1>
<a name="com.r3corda.contracts.asset.Obligation.State$exitKeys"></a>
<code><span class="keyword">val </span><span class="identifier">exitKeys</span><span class="symbol">: </span><span class="identifier">Collection</span><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/security/PublicKey.html"><span class="identifier">PublicKey</span></a><span class="symbol">&gt;</span></code><br/>
Overrides <a href="../../-fungible-asset/exit-keys.html">FungibleAsset.exitKeys</a><br/>
<p>There must be an ExitCommand signed by these keys to destroy the amount</p>
<p><strong>Getter</strong><br/>
<p>There must be an ExitCommand signed by these keys to destroy the amount</p>
</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,18 @@
<HTML>
<HEAD>
<title>Obligation.Terms.<init> - </title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../index.html">Obligation</a>&nbsp;/&nbsp;<a href="index.html">Terms</a>&nbsp;/&nbsp;<a href=".">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
<code><span class="identifier">Terms</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.asset.Obligation.Terms$<init>(com.r3corda.core.utilities.NonEmptySet((com.r3corda.core.crypto.SecureHash)), com.r3corda.core.utilities.NonEmptySet((com.r3corda.core.contracts.Issued((com.r3corda.contracts.asset.Obligation.Terms.P)))), java.time.Instant, java.time.Duration)/acceptableContracts">acceptableContracts</span><span class="symbol">:</span>&nbsp;<a href="../../../com.r3corda.core.utilities/-non-empty-set/index.html"><span class="identifier">NonEmptySet</span></a><span class="symbol">&lt;</span><a href="../../../com.r3corda.core.crypto/-secure-hash/index.html"><span class="identifier">SecureHash</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.asset.Obligation.Terms$<init>(com.r3corda.core.utilities.NonEmptySet((com.r3corda.core.crypto.SecureHash)), com.r3corda.core.utilities.NonEmptySet((com.r3corda.core.contracts.Issued((com.r3corda.contracts.asset.Obligation.Terms.P)))), java.time.Instant, java.time.Duration)/acceptableIssuedProducts">acceptableIssuedProducts</span><span class="symbol">:</span>&nbsp;<a href="../../../com.r3corda.core.utilities/-non-empty-set/index.html"><span class="identifier">NonEmptySet</span></a><span class="symbol">&lt;</span><a href="../../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.asset.Obligation.Terms$<init>(com.r3corda.core.utilities.NonEmptySet((com.r3corda.core.crypto.SecureHash)), com.r3corda.core.utilities.NonEmptySet((com.r3corda.core.contracts.Issued((com.r3corda.contracts.asset.Obligation.Terms.P)))), java.time.Instant, java.time.Duration)/dueBefore">dueBefore</span><span class="symbol">:</span>&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/time/Instant.html"><span class="identifier">Instant</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.asset.Obligation.Terms$<init>(com.r3corda.core.utilities.NonEmptySet((com.r3corda.core.crypto.SecureHash)), com.r3corda.core.utilities.NonEmptySet((com.r3corda.core.contracts.Issued((com.r3corda.contracts.asset.Obligation.Terms.P)))), java.time.Instant, java.time.Duration)/timeTolerance">timeTolerance</span><span class="symbol">:</span>&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/time/Duration.html"><span class="identifier">Duration</span></a>&nbsp;<span class="symbol">=</span>&nbsp;Duration.ofSeconds(30)<span class="symbol">)</span></code><br/>
<p>Subset of state, containing the elements specified when issuing a new settlement contract.</p>
<h3>Parameters</h3>
<a name="P"></a>
<code>P</code> - the product the obligation is for payment of.<br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,16 @@
<HTML>
<HEAD>
<title>Obligation.Terms.acceptableContracts - </title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../index.html">Obligation</a>&nbsp;/&nbsp;<a href="index.html">Terms</a>&nbsp;/&nbsp;<a href=".">acceptableContracts</a><br/>
<br/>
<h1>acceptableContracts</h1>
<a name="com.r3corda.contracts.asset.Obligation.Terms$acceptableContracts"></a>
<code><span class="keyword">val </span><span class="identifier">acceptableContracts</span><span class="symbol">: </span><a href="../../../com.r3corda.core.utilities/-non-empty-set/index.html"><span class="identifier">NonEmptySet</span></a><span class="symbol">&lt;</span><a href="../../../com.r3corda.core.crypto/-secure-hash/index.html"><span class="identifier">SecureHash</span></a><span class="symbol">&gt;</span></code><br/>
<p>The hash of the asset contract were willing to accept in payment for this debt.</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,16 @@
<HTML>
<HEAD>
<title>Obligation.Terms.acceptableIssuedProducts - </title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../index.html">Obligation</a>&nbsp;/&nbsp;<a href="index.html">Terms</a>&nbsp;/&nbsp;<a href=".">acceptableIssuedProducts</a><br/>
<br/>
<h1>acceptableIssuedProducts</h1>
<a name="com.r3corda.contracts.asset.Obligation.Terms$acceptableIssuedProducts"></a>
<code><span class="keyword">val </span><span class="identifier">acceptableIssuedProducts</span><span class="symbol">: </span><a href="../../../com.r3corda.core.utilities/-non-empty-set/index.html"><span class="identifier">NonEmptySet</span></a><span class="symbol">&lt;</span><a href="../../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><br/>
<p>The parties whose assets we are willing to accept in payment for this debt.</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,16 @@
<HTML>
<HEAD>
<title>Obligation.Terms.dueBefore - </title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../index.html">Obligation</a>&nbsp;/&nbsp;<a href="index.html">Terms</a>&nbsp;/&nbsp;<a href=".">dueBefore</a><br/>
<br/>
<h1>dueBefore</h1>
<a name="com.r3corda.contracts.asset.Obligation.Terms$dueBefore"></a>
<code><span class="keyword">val </span><span class="identifier">dueBefore</span><span class="symbol">: </span><a href="http://docs.oracle.com/javase/6/docs/api/java/time/Instant.html"><span class="identifier">Instant</span></a></code><br/>
<p>When the contract must be settled by.</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,68 @@
<HTML>
<HEAD>
<title>Obligation.Terms - </title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../index.html">Obligation</a>&nbsp;/&nbsp;<a href=".">Terms</a><br/>
<br/>
<h1>Terms</h1>
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">Terms</span><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span></code><br/>
<p>Subset of state, containing the elements specified when issuing a new settlement contract.</p>
<h3>Parameters</h3>
<a name="P"></a>
<code>P</code> - the product the obligation is for payment of.<br/>
<br/>
<br/>
<h3>Constructors</h3>
<table>
<tbody>
<tr>
<td>
<a href="-init-.html">&lt;init&gt;</a></td>
<td>
<code><span class="identifier">Terms</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.asset.Obligation.Terms$<init>(com.r3corda.core.utilities.NonEmptySet((com.r3corda.core.crypto.SecureHash)), com.r3corda.core.utilities.NonEmptySet((com.r3corda.core.contracts.Issued((com.r3corda.contracts.asset.Obligation.Terms.P)))), java.time.Instant, java.time.Duration)/acceptableContracts">acceptableContracts</span><span class="symbol">:</span>&nbsp;<a href="../../../com.r3corda.core.utilities/-non-empty-set/index.html"><span class="identifier">NonEmptySet</span></a><span class="symbol">&lt;</span><a href="../../../com.r3corda.core.crypto/-secure-hash/index.html"><span class="identifier">SecureHash</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.asset.Obligation.Terms$<init>(com.r3corda.core.utilities.NonEmptySet((com.r3corda.core.crypto.SecureHash)), com.r3corda.core.utilities.NonEmptySet((com.r3corda.core.contracts.Issued((com.r3corda.contracts.asset.Obligation.Terms.P)))), java.time.Instant, java.time.Duration)/acceptableIssuedProducts">acceptableIssuedProducts</span><span class="symbol">:</span>&nbsp;<a href="../../../com.r3corda.core.utilities/-non-empty-set/index.html"><span class="identifier">NonEmptySet</span></a><span class="symbol">&lt;</span><a href="../../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.asset.Obligation.Terms$<init>(com.r3corda.core.utilities.NonEmptySet((com.r3corda.core.crypto.SecureHash)), com.r3corda.core.utilities.NonEmptySet((com.r3corda.core.contracts.Issued((com.r3corda.contracts.asset.Obligation.Terms.P)))), java.time.Instant, java.time.Duration)/dueBefore">dueBefore</span><span class="symbol">:</span>&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/time/Instant.html"><span class="identifier">Instant</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.asset.Obligation.Terms$<init>(com.r3corda.core.utilities.NonEmptySet((com.r3corda.core.crypto.SecureHash)), com.r3corda.core.utilities.NonEmptySet((com.r3corda.core.contracts.Issued((com.r3corda.contracts.asset.Obligation.Terms.P)))), java.time.Instant, java.time.Duration)/timeTolerance">timeTolerance</span><span class="symbol">:</span>&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/time/Duration.html"><span class="identifier">Duration</span></a>&nbsp;<span class="symbol">=</span>&nbsp;Duration.ofSeconds(30)<span class="symbol">)</span></code><p>Subset of state, containing the elements specified when issuing a new settlement contract.</p>
</td>
</tr>
</tbody>
</table>
<h3>Properties</h3>
<table>
<tbody>
<tr>
<td>
<a href="acceptable-contracts.html">acceptableContracts</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">acceptableContracts</span><span class="symbol">: </span><a href="../../../com.r3corda.core.utilities/-non-empty-set/index.html"><span class="identifier">NonEmptySet</span></a><span class="symbol">&lt;</span><a href="../../../com.r3corda.core.crypto/-secure-hash/index.html"><span class="identifier">SecureHash</span></a><span class="symbol">&gt;</span></code><p>The hash of the asset contract were willing to accept in payment for this debt.</p>
</td>
</tr>
<tr>
<td>
<a href="acceptable-issued-products.html">acceptableIssuedProducts</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">acceptableIssuedProducts</span><span class="symbol">: </span><a href="../../../com.r3corda.core.utilities/-non-empty-set/index.html"><span class="identifier">NonEmptySet</span></a><span class="symbol">&lt;</span><a href="../../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><p>The parties whose assets we are willing to accept in payment for this debt.</p>
</td>
</tr>
<tr>
<td>
<a href="due-before.html">dueBefore</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">dueBefore</span><span class="symbol">: </span><a href="http://docs.oracle.com/javase/6/docs/api/java/time/Instant.html"><span class="identifier">Instant</span></a></code><p>When the contract must be settled by.</p>
</td>
</tr>
<tr>
<td>
<a href="product.html">product</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">product</span><span class="symbol">: </span><span class="identifier">P</span></code></td>
</tr>
<tr>
<td>
<a href="time-tolerance.html">timeTolerance</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">timeTolerance</span><span class="symbol">: </span><a href="http://docs.oracle.com/javase/6/docs/api/java/time/Duration.html"><span class="identifier">Duration</span></a></code></td>
</tr>
</tbody>
</table>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>Obligation.Terms.product - </title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../index.html">Obligation</a>&nbsp;/&nbsp;<a href="index.html">Terms</a>&nbsp;/&nbsp;<a href=".">product</a><br/>
<br/>
<h1>product</h1>
<a name="com.r3corda.contracts.asset.Obligation.Terms$product"></a>
<code><span class="keyword">val </span><span class="identifier">product</span><span class="symbol">: </span><span class="identifier">P</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>Obligation.Terms.timeTolerance - </title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="../index.html">Obligation</a>&nbsp;/&nbsp;<a href="index.html">Terms</a>&nbsp;/&nbsp;<a href=".">timeTolerance</a><br/>
<br/>
<h1>timeTolerance</h1>
<a name="com.r3corda.contracts.asset.Obligation.Terms$timeTolerance"></a>
<code><span class="keyword">val </span><span class="identifier">timeTolerance</span><span class="symbol">: </span><a href="http://docs.oracle.com/javase/6/docs/api/java/time/Duration.html"><span class="identifier">Duration</span></a></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,16 @@
<HTML>
<HEAD>
<title>Obligation.clauses - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="index.html">Obligation</a>&nbsp;/&nbsp;<a href=".">clauses</a><br/>
<br/>
<h1>clauses</h1>
<a name="com.r3corda.contracts.asset.Obligation$clauses"></a>
<code><span class="keyword">val </span><span class="identifier">clauses</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts.clauses/-single-clause.html"><span class="identifier">SingleClause</span></a><span class="symbol">&gt;</span></code><br/>
Overrides <a href="../../com.r3corda.core.contracts.clauses/-clause-verifier/clauses.html">ClauseVerifier.clauses</a><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,16 @@
<HTML>
<HEAD>
<title>Obligation.extractCommands - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.asset</a>&nbsp;/&nbsp;<a href="index.html">Obligation</a>&nbsp;/&nbsp;<a href=".">extractCommands</a><br/>
<br/>
<h1>extractCommands</h1>
<a name="com.r3corda.contracts.asset.Obligation$extractCommands(com.r3corda.core.contracts.TransactionForContract)"></a>
<code><span class="keyword">fun </span><span class="identifier">extractCommands</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.asset.Obligation$extractCommands(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span>&nbsp;<a href="../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol">&lt;</span><a href="../-fungible-asset/-commands/index.html"><span class="identifier">Commands</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><br/>
Overrides <a href="../../com.r3corda.core.contracts.clauses/-clause-verifier/extract-commands.html">ClauseVerifier.extractCommands</a><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,17 @@
<HTML>
<HEAD>
<title>AbstractConserveAmount.<init> - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.clause</a>&nbsp;/&nbsp;<a href="index.html">AbstractConserveAmount</a>&nbsp;/&nbsp;<a href=".">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
<code><span class="identifier">AbstractConserveAmount</span><span class="symbol">(</span><span class="symbol">)</span></code><br/>
<p>Standardised clause for checking input/output balances of fungible assets. Requires that a
Move command is provided, and errors if absent. Must be the last clause under a grouping clause;
errors on no-match, ends on match.</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,20 @@
<HTML>
<HEAD>
<title>AbstractConserveAmount.ifMatched - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.clause</a>&nbsp;/&nbsp;<a href="index.html">AbstractConserveAmount</a>&nbsp;/&nbsp;<a href=".">ifMatched</a><br/>
<br/>
<h1>ifMatched</h1>
<a name="com.r3corda.contracts.clause.AbstractConserveAmount$ifMatched"></a>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">ifMatched</span><span class="symbol">: </span><a href="../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><br/>
Overrides <a href="../../com.r3corda.core.contracts.clauses/-clause/if-matched.html">Clause.ifMatched</a><br/>
<p>Behaviour if this clause is not matches</p>
<p><strong>Getter</strong><br/>
<p>Behaviour if this clause is not matches</p>
</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,20 @@
<HTML>
<HEAD>
<title>AbstractConserveAmount.ifNotMatched - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.clause</a>&nbsp;/&nbsp;<a href="index.html">AbstractConserveAmount</a>&nbsp;/&nbsp;<a href=".">ifNotMatched</a><br/>
<br/>
<h1>ifNotMatched</h1>
<a name="com.r3corda.contracts.clause.AbstractConserveAmount$ifNotMatched"></a>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">ifNotMatched</span><span class="symbol">: </span><a href="../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><br/>
Overrides <a href="../../com.r3corda.core.contracts.clauses/-clause/if-not-matched.html">Clause.ifNotMatched</a><br/>
<p>Behaviour if this clause is matched</p>
<p><strong>Getter</strong><br/>
<p>Behaviour if this clause is matched</p>
</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,86 @@
<HTML>
<HEAD>
<title>AbstractConserveAmount - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.clause</a>&nbsp;/&nbsp;<a href=".">AbstractConserveAmount</a><br/>
<br/>
<h1>AbstractConserveAmount</h1>
<code><span class="keyword">abstract</span> <span class="keyword">class </span><span class="identifier">AbstractConserveAmount</span><span class="symbol">&lt;</span><span class="identifier">S</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../com.r3corda.contracts.asset/-fungible-asset/index.html"><span class="identifier">FungibleAsset</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier">T</span>&nbsp;<span class="symbol">:</span>&nbsp;<span class="identifier">Any</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../com.r3corda.core.contracts.clauses/-group-clause.html"><span class="identifier">GroupClause</span></a><span class="symbol">&lt;</span><span class="identifier">S</span><span class="symbol">,</span>&nbsp;<a href="../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><br/>
<p>Standardised clause for checking input/output balances of fungible assets. Requires that a
Move command is provided, and errors if absent. Must be the last clause under a grouping clause;
errors on no-match, ends on match.</p>
<br/>
<br/>
<h3>Constructors</h3>
<table>
<tbody>
<tr>
<td>
<a href="-init-.html">&lt;init&gt;</a></td>
<td>
<code><span class="identifier">AbstractConserveAmount</span><span class="symbol">(</span><span class="symbol">)</span></code><p>Standardised clause for checking input/output balances of fungible assets. Requires that a
Move command is provided, and errors if absent. Must be the last clause under a grouping clause;
errors on no-match, ends on match.</p>
</td>
</tr>
</tbody>
</table>
<h3>Properties</h3>
<table>
<tbody>
<tr>
<td>
<a href="if-matched.html">ifMatched</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">ifMatched</span><span class="symbol">: </span><a href="../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><p>Behaviour if this clause is not matches</p>
</td>
</tr>
<tr>
<td>
<a href="if-not-matched.html">ifNotMatched</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">ifNotMatched</span><span class="symbol">: </span><a href="../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><p>Behaviour if this clause is matched</p>
</td>
</tr>
<tr>
<td>
<a href="required-commands.html">requiredCommands</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">requiredCommands</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html"><span class="identifier">Class</span></a><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<a href="../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><p>Classes for commands which must ALL be present in transaction for this clause to be triggered</p>
</td>
</tr>
</tbody>
</table>
<h3>Functions</h3>
<table>
<tbody>
<tr>
<td>
<a href="verify.html">verify</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.clause.AbstractConserveAmount$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.clause.AbstractConserveAmount.S)), kotlin.collections.List((com.r3corda.contracts.clause.AbstractConserveAmount.S)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.Issued((com.r3corda.contracts.clause.AbstractConserveAmount.T)))/tx">tx</span><span class="symbol">:</span>&nbsp;<a href="../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.clause.AbstractConserveAmount$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.clause.AbstractConserveAmount.S)), kotlin.collections.List((com.r3corda.contracts.clause.AbstractConserveAmount.S)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.Issued((com.r3corda.contracts.clause.AbstractConserveAmount.T)))/inputs">inputs</span><span class="symbol">:</span>&nbsp;<span class="identifier">List</span><span class="symbol">&lt;</span><span class="identifier">S</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.clause.AbstractConserveAmount$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.clause.AbstractConserveAmount.S)), kotlin.collections.List((com.r3corda.contracts.clause.AbstractConserveAmount.S)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.Issued((com.r3corda.contracts.clause.AbstractConserveAmount.T)))/outputs">outputs</span><span class="symbol">:</span>&nbsp;<span class="identifier">List</span><span class="symbol">&lt;</span><span class="identifier">S</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.clause.AbstractConserveAmount$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.clause.AbstractConserveAmount.S)), kotlin.collections.List((com.r3corda.contracts.clause.AbstractConserveAmount.S)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.Issued((com.r3corda.contracts.clause.AbstractConserveAmount.T)))/commands">commands</span><span class="symbol">:</span>&nbsp;<span class="identifier">Collection</span><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.clause.AbstractConserveAmount$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.clause.AbstractConserveAmount.S)), kotlin.collections.List((com.r3corda.contracts.clause.AbstractConserveAmount.S)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.Issued((com.r3corda.contracts.clause.AbstractConserveAmount.T)))/token">token</span><span class="symbol">:</span>&nbsp;<a href="../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">&gt;</span></code></td>
</tr>
</tbody>
</table>
<h3>Inheritors</h3>
<table>
<tbody>
<tr>
<td>
<a href="../../com.r3corda.contracts.asset/-cash/-clauses/-conserve-amount/index.html">ConserveAmount</a></td>
<td>
<code><span class="keyword">class </span><span class="identifier">ConserveAmount</span>&nbsp;<span class="symbol">:</span>&nbsp;<span class="identifier">AbstractConserveAmount</span><span class="symbol">&lt;</span><a href="../../com.r3corda.contracts.asset/-cash/-state/index.html"><span class="identifier">State</span></a><span class="symbol">,</span>&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Currency.html"><span class="identifier">Currency</span></a><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="../../com.r3corda.contracts.asset/-obligation/-clauses/-conserve-amount/index.html">ConserveAmount</a></td>
<td>
<code><span class="keyword">class </span><span class="identifier">ConserveAmount</span><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<span class="identifier">AbstractConserveAmount</span><span class="symbol">&lt;</span><a href="../../com.r3corda.contracts.asset/-obligation/-state/index.html"><span class="identifier">State</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<a href="../../com.r3corda.contracts.asset/-obligation/-terms/index.html"><span class="identifier">Terms</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><p>Generic move/exit clause for fungible assets</p>
</td>
</tr>
</tbody>
</table>
</BODY>
</HTML>

View File

@ -0,0 +1,20 @@
<HTML>
<HEAD>
<title>AbstractConserveAmount.requiredCommands - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.clause</a>&nbsp;/&nbsp;<a href="index.html">AbstractConserveAmount</a>&nbsp;/&nbsp;<a href=".">requiredCommands</a><br/>
<br/>
<h1>requiredCommands</h1>
<a name="com.r3corda.contracts.clause.AbstractConserveAmount$requiredCommands"></a>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">requiredCommands</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html"><span class="identifier">Class</span></a><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<a href="../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><br/>
Overrides <a href="../../com.r3corda.core.contracts.clauses/-clause/required-commands.html">Clause.requiredCommands</a><br/>
<p>Classes for commands which must ALL be present in transaction for this clause to be triggered</p>
<p><strong>Getter</strong><br/>
<p>Classes for commands which must ALL be present in transaction for this clause to be triggered</p>
</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,18 @@
<HTML>
<HEAD>
<title>AbstractConserveAmount.verify - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.clause</a>&nbsp;/&nbsp;<a href="index.html">AbstractConserveAmount</a>&nbsp;/&nbsp;<a href=".">verify</a><br/>
<br/>
<h1>verify</h1>
<a name="com.r3corda.contracts.clause.AbstractConserveAmount$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.clause.AbstractConserveAmount.S)), kotlin.collections.List((com.r3corda.contracts.clause.AbstractConserveAmount.S)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.Issued((com.r3corda.contracts.clause.AbstractConserveAmount.T)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.clause.AbstractConserveAmount$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.clause.AbstractConserveAmount.S)), kotlin.collections.List((com.r3corda.contracts.clause.AbstractConserveAmount.S)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.Issued((com.r3corda.contracts.clause.AbstractConserveAmount.T)))/tx">tx</span><span class="symbol">:</span>&nbsp;<a href="../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.clause.AbstractConserveAmount$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.clause.AbstractConserveAmount.S)), kotlin.collections.List((com.r3corda.contracts.clause.AbstractConserveAmount.S)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.Issued((com.r3corda.contracts.clause.AbstractConserveAmount.T)))/inputs">inputs</span><span class="symbol">:</span>&nbsp;<span class="identifier">List</span><span class="symbol">&lt;</span><span class="identifier">S</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.clause.AbstractConserveAmount$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.clause.AbstractConserveAmount.S)), kotlin.collections.List((com.r3corda.contracts.clause.AbstractConserveAmount.S)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.Issued((com.r3corda.contracts.clause.AbstractConserveAmount.T)))/outputs">outputs</span><span class="symbol">:</span>&nbsp;<span class="identifier">List</span><span class="symbol">&lt;</span><span class="identifier">S</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.clause.AbstractConserveAmount$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.clause.AbstractConserveAmount.S)), kotlin.collections.List((com.r3corda.contracts.clause.AbstractConserveAmount.S)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.Issued((com.r3corda.contracts.clause.AbstractConserveAmount.T)))/commands">commands</span><span class="symbol">:</span>&nbsp;<span class="identifier">Collection</span><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.clause.AbstractConserveAmount$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.clause.AbstractConserveAmount.S)), kotlin.collections.List((com.r3corda.contracts.clause.AbstractConserveAmount.S)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.Issued((com.r3corda.contracts.clause.AbstractConserveAmount.T)))/token">token</span><span class="symbol">:</span>&nbsp;<a href="../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">&gt;</span></code><br/>
<p><strong>Return</strong><br/>
the set of commands that are consumed IF this clause is matched, and cannot be used to match a
later clause.</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,29 @@
<HTML>
<HEAD>
<title>AbstractIssue.<init> - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.clause</a>&nbsp;/&nbsp;<a href="index.html">AbstractIssue</a>&nbsp;/&nbsp;<a href=".">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
<code><span class="identifier">AbstractIssue</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.clause.AbstractIssue$<init>(kotlin.Function1((kotlin.collections.List((com.r3corda.contracts.clause.AbstractIssue.S)), com.r3corda.core.contracts.Amount((com.r3corda.core.contracts.Issued((com.r3corda.contracts.clause.AbstractIssue.T)))))), kotlin.Function2((kotlin.collections.List((com.r3corda.contracts.clause.AbstractIssue.S)), com.r3corda.core.contracts.Issued((com.r3corda.contracts.clause.AbstractIssue.T)), com.r3corda.core.contracts.Amount(()))))/sum">sum</span><span class="symbol">:</span>&nbsp;<span class="identifier">List</span><span class="symbol">&lt;</span><span class="identifier">S</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="../../com.r3corda.core.contracts/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.clause.AbstractIssue$<init>(kotlin.Function1((kotlin.collections.List((com.r3corda.contracts.clause.AbstractIssue.S)), com.r3corda.core.contracts.Amount((com.r3corda.core.contracts.Issued((com.r3corda.contracts.clause.AbstractIssue.T)))))), kotlin.Function2((kotlin.collections.List((com.r3corda.contracts.clause.AbstractIssue.S)), com.r3corda.core.contracts.Issued((com.r3corda.contracts.clause.AbstractIssue.T)), com.r3corda.core.contracts.Amount(()))))/sumOrZero">sumOrZero</span><span class="symbol">:</span>&nbsp;<span class="identifier">List</span><span class="symbol">&lt;</span><span class="identifier">S</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="symbol">(</span><a href="../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="../../com.r3corda.core.contracts/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">)</span></code><br/>
<p>Standard issue clause for contracts that issue fungible assets.</p>
<h3>Parameters</h3>
<a name="S"></a>
<code>S</code> - the type of contract state which is being issued.<br/>
<br/>
<a name="T"></a>
<code>T</code> - the token underlying the issued state.<br/>
<br/>
<a name="sum"></a>
<code>sum</code> - function to convert a list of states into an amount of the token. Must error if there are no states in
the list.<br/>
<br/>
<a name="sumOrZero"></a>
<code>sumOrZero</code> - function to convert a list of states into an amount of the token, and returns zero if there are
no states in the list. Takes in an instance of the token definition for constructing the zero amount if needed.<br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,20 @@
<HTML>
<HEAD>
<title>AbstractIssue.ifMatched - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.clause</a>&nbsp;/&nbsp;<a href="index.html">AbstractIssue</a>&nbsp;/&nbsp;<a href=".">ifMatched</a><br/>
<br/>
<h1>ifMatched</h1>
<a name="com.r3corda.contracts.clause.AbstractIssue$ifMatched"></a>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">ifMatched</span><span class="symbol">: </span><a href="../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><br/>
Overrides <a href="../../com.r3corda.core.contracts.clauses/-clause/if-matched.html">Clause.ifMatched</a><br/>
<p>Behaviour if this clause is not matches</p>
<p><strong>Getter</strong><br/>
<p>Behaviour if this clause is not matches</p>
</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,20 @@
<HTML>
<HEAD>
<title>AbstractIssue.ifNotMatched - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.clause</a>&nbsp;/&nbsp;<a href="index.html">AbstractIssue</a>&nbsp;/&nbsp;<a href=".">ifNotMatched</a><br/>
<br/>
<h1>ifNotMatched</h1>
<a name="com.r3corda.contracts.clause.AbstractIssue$ifNotMatched"></a>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">ifNotMatched</span><span class="symbol">: </span><a href="../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><br/>
Overrides <a href="../../com.r3corda.core.contracts.clauses/-clause/if-not-matched.html">Clause.ifNotMatched</a><br/>
<p>Behaviour if this clause is matched</p>
<p><strong>Getter</strong><br/>
<p>Behaviour if this clause is matched</p>
</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,107 @@
<HTML>
<HEAD>
<title>AbstractIssue - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.clause</a>&nbsp;/&nbsp;<a href=".">AbstractIssue</a><br/>
<br/>
<h1>AbstractIssue</h1>
<code><span class="keyword">abstract</span> <span class="keyword">class </span><span class="identifier">AbstractIssue</span><span class="symbol">&lt;</span><span class="identifier">S</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../com.r3corda.core.contracts/-contract-state/index.html"><span class="identifier">ContractState</span></a><span class="symbol">, </span><span class="identifier">T</span>&nbsp;<span class="symbol">:</span>&nbsp;<span class="identifier">Any</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../com.r3corda.core.contracts.clauses/-group-clause.html"><span class="identifier">GroupClause</span></a><span class="symbol">&lt;</span><span class="identifier">S</span><span class="symbol">,</span>&nbsp;<a href="../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><br/>
<p>Standard issue clause for contracts that issue fungible assets.</p>
<h3>Parameters</h3>
<a name="S"></a>
<code>S</code> - the type of contract state which is being issued.<br/>
<br/>
<a name="T"></a>
<code>T</code> - the token underlying the issued state.<br/>
<br/>
<a name="sum"></a>
<code>sum</code> - function to convert a list of states into an amount of the token. Must error if there are no states in
the list.<br/>
<br/>
<a name="sumOrZero"></a>
<code>sumOrZero</code> - function to convert a list of states into an amount of the token, and returns zero if there are
no states in the list. Takes in an instance of the token definition for constructing the zero amount if needed.<br/>
<br/>
<br/>
<h3>Constructors</h3>
<table>
<tbody>
<tr>
<td>
<a href="-init-.html">&lt;init&gt;</a></td>
<td>
<code><span class="identifier">AbstractIssue</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.clause.AbstractIssue$<init>(kotlin.Function1((kotlin.collections.List((com.r3corda.contracts.clause.AbstractIssue.S)), com.r3corda.core.contracts.Amount((com.r3corda.core.contracts.Issued((com.r3corda.contracts.clause.AbstractIssue.T)))))), kotlin.Function2((kotlin.collections.List((com.r3corda.contracts.clause.AbstractIssue.S)), com.r3corda.core.contracts.Issued((com.r3corda.contracts.clause.AbstractIssue.T)), com.r3corda.core.contracts.Amount(()))))/sum">sum</span><span class="symbol">:</span>&nbsp;<span class="identifier">List</span><span class="symbol">&lt;</span><span class="identifier">S</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="../../com.r3corda.core.contracts/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.clause.AbstractIssue$<init>(kotlin.Function1((kotlin.collections.List((com.r3corda.contracts.clause.AbstractIssue.S)), com.r3corda.core.contracts.Amount((com.r3corda.core.contracts.Issued((com.r3corda.contracts.clause.AbstractIssue.T)))))), kotlin.Function2((kotlin.collections.List((com.r3corda.contracts.clause.AbstractIssue.S)), com.r3corda.core.contracts.Issued((com.r3corda.contracts.clause.AbstractIssue.T)), com.r3corda.core.contracts.Amount(()))))/sumOrZero">sumOrZero</span><span class="symbol">:</span>&nbsp;<span class="identifier">List</span><span class="symbol">&lt;</span><span class="identifier">S</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="symbol">(</span><a href="../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="../../com.r3corda.core.contracts/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">)</span></code><p>Standard issue clause for contracts that issue fungible assets.</p>
</td>
</tr>
</tbody>
</table>
<h3>Properties</h3>
<table>
<tbody>
<tr>
<td>
<a href="if-matched.html">ifMatched</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">ifMatched</span><span class="symbol">: </span><a href="../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><p>Behaviour if this clause is not matches</p>
</td>
</tr>
<tr>
<td>
<a href="if-not-matched.html">ifNotMatched</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">ifNotMatched</span><span class="symbol">: </span><a href="../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><p>Behaviour if this clause is matched</p>
</td>
</tr>
<tr>
<td>
<a href="sum.html">sum</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">sum</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol">&lt;</span><span class="identifier">S</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="../../com.r3corda.core.contracts/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="sum-or-zero.html">sumOrZero</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">sumOrZero</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol">&lt;</span><span class="identifier">S</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="symbol">(</span><a href="../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="../../com.r3corda.core.contracts/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code></td>
</tr>
</tbody>
</table>
<h3>Functions</h3>
<table>
<tbody>
<tr>
<td>
<a href="verify.html">verify</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.clause.AbstractIssue$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.clause.AbstractIssue.S)), kotlin.collections.List((com.r3corda.contracts.clause.AbstractIssue.S)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.Issued((com.r3corda.contracts.clause.AbstractIssue.T)))/tx">tx</span><span class="symbol">:</span>&nbsp;<a href="../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.clause.AbstractIssue$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.clause.AbstractIssue.S)), kotlin.collections.List((com.r3corda.contracts.clause.AbstractIssue.S)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.Issued((com.r3corda.contracts.clause.AbstractIssue.T)))/inputs">inputs</span><span class="symbol">:</span>&nbsp;<span class="identifier">List</span><span class="symbol">&lt;</span><span class="identifier">S</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.clause.AbstractIssue$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.clause.AbstractIssue.S)), kotlin.collections.List((com.r3corda.contracts.clause.AbstractIssue.S)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.Issued((com.r3corda.contracts.clause.AbstractIssue.T)))/outputs">outputs</span><span class="symbol">:</span>&nbsp;<span class="identifier">List</span><span class="symbol">&lt;</span><span class="identifier">S</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.clause.AbstractIssue$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.clause.AbstractIssue.S)), kotlin.collections.List((com.r3corda.contracts.clause.AbstractIssue.S)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.Issued((com.r3corda.contracts.clause.AbstractIssue.T)))/commands">commands</span><span class="symbol">:</span>&nbsp;<span class="identifier">Collection</span><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.clause.AbstractIssue$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.clause.AbstractIssue.S)), kotlin.collections.List((com.r3corda.contracts.clause.AbstractIssue.S)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.Issued((com.r3corda.contracts.clause.AbstractIssue.T)))/token">token</span><span class="symbol">:</span>&nbsp;<a href="../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">&gt;</span></code></td>
</tr>
</tbody>
</table>
<h3>Inheritors</h3>
<table>
<tbody>
<tr>
<td>
<a href="../../com.r3corda.contracts.asset/-cash/-clauses/-issue/index.html">Issue</a></td>
<td>
<code><span class="keyword">class </span><span class="identifier">Issue</span>&nbsp;<span class="symbol">:</span>&nbsp;<span class="identifier">AbstractIssue</span><span class="symbol">&lt;</span><a href="../../com.r3corda.contracts.asset/-cash/-state/index.html"><span class="identifier">State</span></a><span class="symbol">,</span>&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Currency.html"><span class="identifier">Currency</span></a><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="../../com.r3corda.contracts.asset/-obligation/-clauses/-issue/index.html">Issue</a></td>
<td>
<code><span class="keyword">class </span><span class="identifier">Issue</span><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<span class="identifier">AbstractIssue</span><span class="symbol">&lt;</span><a href="../../com.r3corda.contracts.asset/-obligation/-state/index.html"><span class="identifier">State</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<a href="../../com.r3corda.contracts.asset/-obligation/-terms/index.html"><span class="identifier">Terms</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><p>Generic issuance clause</p>
</td>
</tr>
<tr>
<td>
<a href="../../com.r3corda.contracts/-commercial-paper/-clauses/-issue/index.html">Issue</a></td>
<td>
<code><span class="keyword">class </span><span class="identifier">Issue</span>&nbsp;<span class="symbol">:</span>&nbsp;<span class="identifier">AbstractIssue</span><span class="symbol">&lt;</span><a href="../../com.r3corda.contracts/-commercial-paper/-state/index.html"><span class="identifier">State</span></a><span class="symbol">,</span>&nbsp;<a href="../../com.r3corda.contracts/-commercial-paper/-terms/index.html"><span class="identifier">Terms</span></a><span class="symbol">&gt;</span></code></td>
</tr>
</tbody>
</table>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>AbstractIssue.sumOrZero - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.clause</a>&nbsp;/&nbsp;<a href="index.html">AbstractIssue</a>&nbsp;/&nbsp;<a href=".">sumOrZero</a><br/>
<br/>
<h1>sumOrZero</h1>
<a name="com.r3corda.contracts.clause.AbstractIssue$sumOrZero"></a>
<code><span class="keyword">val </span><span class="identifier">sumOrZero</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol">&lt;</span><span class="identifier">S</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="symbol">(</span><a href="../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="../../com.r3corda.core.contracts/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>AbstractIssue.sum - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.clause</a>&nbsp;/&nbsp;<a href="index.html">AbstractIssue</a>&nbsp;/&nbsp;<a href=".">sum</a><br/>
<br/>
<h1>sum</h1>
<a name="com.r3corda.contracts.clause.AbstractIssue$sum"></a>
<code><span class="keyword">val </span><span class="identifier">sum</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol">&lt;</span><span class="identifier">S</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="../../com.r3corda.core.contracts/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,18 @@
<HTML>
<HEAD>
<title>AbstractIssue.verify - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.clause</a>&nbsp;/&nbsp;<a href="index.html">AbstractIssue</a>&nbsp;/&nbsp;<a href=".">verify</a><br/>
<br/>
<h1>verify</h1>
<a name="com.r3corda.contracts.clause.AbstractIssue$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.clause.AbstractIssue.S)), kotlin.collections.List((com.r3corda.contracts.clause.AbstractIssue.S)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.Issued((com.r3corda.contracts.clause.AbstractIssue.T)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.clause.AbstractIssue$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.clause.AbstractIssue.S)), kotlin.collections.List((com.r3corda.contracts.clause.AbstractIssue.S)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.Issued((com.r3corda.contracts.clause.AbstractIssue.T)))/tx">tx</span><span class="symbol">:</span>&nbsp;<a href="../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.clause.AbstractIssue$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.clause.AbstractIssue.S)), kotlin.collections.List((com.r3corda.contracts.clause.AbstractIssue.S)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.Issued((com.r3corda.contracts.clause.AbstractIssue.T)))/inputs">inputs</span><span class="symbol">:</span>&nbsp;<span class="identifier">List</span><span class="symbol">&lt;</span><span class="identifier">S</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.clause.AbstractIssue$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.clause.AbstractIssue.S)), kotlin.collections.List((com.r3corda.contracts.clause.AbstractIssue.S)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.Issued((com.r3corda.contracts.clause.AbstractIssue.T)))/outputs">outputs</span><span class="symbol">:</span>&nbsp;<span class="identifier">List</span><span class="symbol">&lt;</span><span class="identifier">S</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.clause.AbstractIssue$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.clause.AbstractIssue.S)), kotlin.collections.List((com.r3corda.contracts.clause.AbstractIssue.S)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.Issued((com.r3corda.contracts.clause.AbstractIssue.T)))/commands">commands</span><span class="symbol">:</span>&nbsp;<span class="identifier">Collection</span><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.clause.AbstractIssue$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.clause.AbstractIssue.S)), kotlin.collections.List((com.r3corda.contracts.clause.AbstractIssue.S)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.Issued((com.r3corda.contracts.clause.AbstractIssue.T)))/token">token</span><span class="symbol">:</span>&nbsp;<a href="../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">&gt;</span></code><br/>
<p><strong>Return</strong><br/>
the set of commands that are consumed IF this clause is matched, and cannot be used to match a
later clause.</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,17 @@
<HTML>
<HEAD>
<title>BilateralNetState.<init> - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.clause</a>&nbsp;/&nbsp;<a href="index.html">BilateralNetState</a>&nbsp;/&nbsp;<a href=".">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
<code><span class="identifier">BilateralNetState</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.clause.BilateralNetState$<init>(kotlin.collections.Set((java.security.PublicKey)), com.r3corda.contracts.asset.Obligation.Terms((com.r3corda.contracts.clause.BilateralNetState.P)))/partyKeys">partyKeys</span><span class="symbol">:</span>&nbsp;<span class="identifier">Set</span><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/security/PublicKey.html"><span class="identifier">PublicKey</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.clause.BilateralNetState$<init>(kotlin.collections.Set((java.security.PublicKey)), com.r3corda.contracts.asset.Obligation.Terms((com.r3corda.contracts.clause.BilateralNetState.P)))/template">template</span><span class="symbol">:</span>&nbsp;<a href="../../com.r3corda.contracts.asset/-obligation/-terms/index.html"><span class="identifier">Terms</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">)</span></code><br/>
<p>Subset of state, containing the elements which must match for two obligation transactions to be nettable.
If two obligation state objects produce equal bilateral net states, they are considered safe to net directly.
Bilateral states are used in close-out netting.</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,48 @@
<HTML>
<HEAD>
<title>BilateralNetState - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.clause</a>&nbsp;/&nbsp;<a href=".">BilateralNetState</a><br/>
<br/>
<h1>BilateralNetState</h1>
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">BilateralNetState</span><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../-net-state/index.html"><span class="identifier">NetState</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span></code><br/>
<p>Subset of state, containing the elements which must match for two obligation transactions to be nettable.
If two obligation state objects produce equal bilateral net states, they are considered safe to net directly.
Bilateral states are used in close-out netting.</p>
<br/>
<br/>
<h3>Constructors</h3>
<table>
<tbody>
<tr>
<td>
<a href="-init-.html">&lt;init&gt;</a></td>
<td>
<code><span class="identifier">BilateralNetState</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.clause.BilateralNetState$<init>(kotlin.collections.Set((java.security.PublicKey)), com.r3corda.contracts.asset.Obligation.Terms((com.r3corda.contracts.clause.BilateralNetState.P)))/partyKeys">partyKeys</span><span class="symbol">:</span>&nbsp;<span class="identifier">Set</span><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/security/PublicKey.html"><span class="identifier">PublicKey</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.clause.BilateralNetState$<init>(kotlin.collections.Set((java.security.PublicKey)), com.r3corda.contracts.asset.Obligation.Terms((com.r3corda.contracts.clause.BilateralNetState.P)))/template">template</span><span class="symbol">:</span>&nbsp;<a href="../../com.r3corda.contracts.asset/-obligation/-terms/index.html"><span class="identifier">Terms</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">)</span></code><p>Subset of state, containing the elements which must match for two obligation transactions to be nettable.
If two obligation state objects produce equal bilateral net states, they are considered safe to net directly.
Bilateral states are used in close-out netting.</p>
</td>
</tr>
</tbody>
</table>
<h3>Properties</h3>
<table>
<tbody>
<tr>
<td>
<a href="party-keys.html">partyKeys</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">partyKeys</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/security/PublicKey.html"><span class="identifier">PublicKey</span></a><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="template.html">template</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">template</span><span class="symbol">: </span><a href="../../com.r3corda.contracts.asset/-obligation/-terms/index.html"><span class="identifier">Terms</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span></code></td>
</tr>
</tbody>
</table>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>BilateralNetState.partyKeys - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.clause</a>&nbsp;/&nbsp;<a href="index.html">BilateralNetState</a>&nbsp;/&nbsp;<a href=".">partyKeys</a><br/>
<br/>
<h1>partyKeys</h1>
<a name="com.r3corda.contracts.clause.BilateralNetState$partyKeys"></a>
<code><span class="keyword">val </span><span class="identifier">partyKeys</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/security/PublicKey.html"><span class="identifier">PublicKey</span></a><span class="symbol">&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,16 @@
<HTML>
<HEAD>
<title>BilateralNetState.template - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.clause</a>&nbsp;/&nbsp;<a href="index.html">BilateralNetState</a>&nbsp;/&nbsp;<a href=".">template</a><br/>
<br/>
<h1>template</h1>
<a name="com.r3corda.contracts.clause.BilateralNetState$template"></a>
<code><span class="keyword">val </span><span class="identifier">template</span><span class="symbol">: </span><a href="../../com.r3corda.contracts.asset/-obligation/-terms/index.html"><span class="identifier">Terms</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span></code><br/>
Overrides <a href="../-net-state/template.html">NetState.template</a><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,20 @@
<HTML>
<HEAD>
<title>MultilateralNetState.<init> - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.clause</a>&nbsp;/&nbsp;<a href="index.html">MultilateralNetState</a>&nbsp;/&nbsp;<a href=".">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
<code><span class="identifier">MultilateralNetState</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.clause.MultilateralNetState$<init>(com.r3corda.contracts.asset.Obligation.Terms((com.r3corda.contracts.clause.MultilateralNetState.P)))/template">template</span><span class="symbol">:</span>&nbsp;<a href="../../com.r3corda.contracts.asset/-obligation/-terms/index.html"><span class="identifier">Terms</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">)</span></code><br/>
<p>Subset of state, containing the elements which must match for two or more obligation transactions to be candidates
for netting (this does not include the checks to enforce that everyones amounts received are the same at the end,
which is handled under the verify() function).
In comparison to <a href="../-bilateral-net-state/index.html">BilateralNetState</a>, this doesnt include the parties keys, as ensuring balances match on
input and output is handled elsewhere.
Used in cases where all parties (or their proxies) are signing, such as central clearing.</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,48 @@
<HTML>
<HEAD>
<title>MultilateralNetState - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.clause</a>&nbsp;/&nbsp;<a href=".">MultilateralNetState</a><br/>
<br/>
<h1>MultilateralNetState</h1>
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">MultilateralNetState</span><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../-net-state/index.html"><span class="identifier">NetState</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span></code><br/>
<p>Subset of state, containing the elements which must match for two or more obligation transactions to be candidates
for netting (this does not include the checks to enforce that everyones amounts received are the same at the end,
which is handled under the verify() function).
In comparison to <a href="../-bilateral-net-state/index.html">BilateralNetState</a>, this doesnt include the parties keys, as ensuring balances match on
input and output is handled elsewhere.
Used in cases where all parties (or their proxies) are signing, such as central clearing.</p>
<br/>
<br/>
<h3>Constructors</h3>
<table>
<tbody>
<tr>
<td>
<a href="-init-.html">&lt;init&gt;</a></td>
<td>
<code><span class="identifier">MultilateralNetState</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.clause.MultilateralNetState$<init>(com.r3corda.contracts.asset.Obligation.Terms((com.r3corda.contracts.clause.MultilateralNetState.P)))/template">template</span><span class="symbol">:</span>&nbsp;<a href="../../com.r3corda.contracts.asset/-obligation/-terms/index.html"><span class="identifier">Terms</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">)</span></code><p>Subset of state, containing the elements which must match for two or more obligation transactions to be candidates
for netting (this does not include the checks to enforce that everyones amounts received are the same at the end,
which is handled under the verify() function).
In comparison to <a href="../-bilateral-net-state/index.html">BilateralNetState</a>, this doesnt include the parties keys, as ensuring balances match on
input and output is handled elsewhere.
Used in cases where all parties (or their proxies) are signing, such as central clearing.</p>
</td>
</tr>
</tbody>
</table>
<h3>Properties</h3>
<table>
<tbody>
<tr>
<td>
<a href="template.html">template</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">template</span><span class="symbol">: </span><a href="../../com.r3corda.contracts.asset/-obligation/-terms/index.html"><span class="identifier">Terms</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span></code></td>
</tr>
</tbody>
</table>
</BODY>
</HTML>

View File

@ -0,0 +1,16 @@
<HTML>
<HEAD>
<title>MultilateralNetState.template - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.clause</a>&nbsp;/&nbsp;<a href="index.html">MultilateralNetState</a>&nbsp;/&nbsp;<a href=".">template</a><br/>
<br/>
<h1>template</h1>
<a name="com.r3corda.contracts.clause.MultilateralNetState$template"></a>
<code><span class="keyword">val </span><span class="identifier">template</span><span class="symbol">: </span><a href="../../com.r3corda.contracts.asset/-obligation/-terms/index.html"><span class="identifier">Terms</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span></code><br/>
Overrides <a href="../-net-state/template.html">NetState.template</a><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>NetClause.<init> - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.clause</a>&nbsp;/&nbsp;<a href="index.html">NetClause</a>&nbsp;/&nbsp;<a href=".">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
<code><span class="identifier">NetClause</span><span class="symbol">(</span><span class="symbol">)</span></code><br/>
<p>Clause for netting contract states. Currently only supports obligation contract.</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,20 @@
<HTML>
<HEAD>
<title>NetClause.ifMatched - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.clause</a>&nbsp;/&nbsp;<a href="index.html">NetClause</a>&nbsp;/&nbsp;<a href=".">ifMatched</a><br/>
<br/>
<h1>ifMatched</h1>
<a name="com.r3corda.contracts.clause.NetClause$ifMatched"></a>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">ifMatched</span><span class="symbol">: </span><a href="../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><br/>
Overrides <a href="../../com.r3corda.core.contracts.clauses/-clause/if-matched.html">Clause.ifMatched</a><br/>
<p>Behaviour if this clause is not matches</p>
<p><strong>Getter</strong><br/>
<p>Behaviour if this clause is not matches</p>
</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,20 @@
<HTML>
<HEAD>
<title>NetClause.ifNotMatched - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.clause</a>&nbsp;/&nbsp;<a href="index.html">NetClause</a>&nbsp;/&nbsp;<a href=".">ifNotMatched</a><br/>
<br/>
<h1>ifNotMatched</h1>
<a name="com.r3corda.contracts.clause.NetClause$ifNotMatched"></a>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">ifNotMatched</span><span class="symbol">: </span><a href="../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><br/>
Overrides <a href="../../com.r3corda.core.contracts.clauses/-clause/if-not-matched.html">Clause.ifNotMatched</a><br/>
<p>Behaviour if this clause is matched</p>
<p><strong>Getter</strong><br/>
<p>Behaviour if this clause is matched</p>
</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,86 @@
<HTML>
<HEAD>
<title>NetClause - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.clause</a>&nbsp;/&nbsp;<a href=".">NetClause</a><br/>
<br/>
<h1>NetClause</h1>
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">NetClause</span><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../com.r3corda.core.contracts.clauses/-single-clause.html"><span class="identifier">SingleClause</span></a></code><br/>
<p>Clause for netting contract states. Currently only supports obligation contract.</p>
<br/>
<br/>
<h3>Constructors</h3>
<table>
<tbody>
<tr>
<td>
<a href="-init-.html">&lt;init&gt;</a></td>
<td>
<code><span class="identifier">NetClause</span><span class="symbol">(</span><span class="symbol">)</span></code><p>Clause for netting contract states. Currently only supports obligation contract.</p>
</td>
</tr>
</tbody>
</table>
<h3>Properties</h3>
<table>
<tbody>
<tr>
<td>
<a href="if-matched.html">ifMatched</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">ifMatched</span><span class="symbol">: </span><a href="../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><p>Behaviour if this clause is not matches</p>
</td>
</tr>
<tr>
<td>
<a href="if-not-matched.html">ifNotMatched</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">ifNotMatched</span><span class="symbol">: </span><a href="../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><p>Behaviour if this clause is matched</p>
</td>
</tr>
<tr>
<td>
<a href="required-commands.html">requiredCommands</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">requiredCommands</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html"><span class="identifier">Class</span></a><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<a href="../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><p>Classes for commands which must ALL be present in transaction for this clause to be triggered</p>
</td>
</tr>
</tbody>
</table>
<h3>Functions</h3>
<table>
<tbody>
<tr>
<td>
<a href="verify.html">verify</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.clause.NetClause$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))))/tx">tx</span><span class="symbol">:</span>&nbsp;<a href="../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.clause.NetClause$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))))/commands">commands</span><span class="symbol">:</span>&nbsp;<span class="identifier">Collection</span><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">&gt;</span></code><p>Verify the transaction matches the conditions from this clause. For example, a "no zero amount output" clause
would check each of the output states that it applies to, looking for a zero amount, and throw IllegalStateException
if any matched.</p>
</td>
</tr>
<tr>
<td>
<a href="verify-net-command.html">verifyNetCommand</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">verifyNetCommand</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.clause.NetClause$verifyNetCommand(kotlin.collections.List((com.r3corda.contracts.asset.Obligation.State((com.r3corda.contracts.clause.NetClause.P)))), kotlin.collections.List((com.r3corda.contracts.asset.Obligation.State((com.r3corda.contracts.clause.NetClause.P)))), com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.contracts.asset.Obligation.Commands.Net)), com.r3corda.contracts.clause.NetState((com.r3corda.contracts.clause.NetClause.P)))/inputs">inputs</span><span class="symbol">:</span>&nbsp;<span class="identifier">List</span><span class="symbol">&lt;</span><a href="../../com.r3corda.contracts.asset/-obligation/-state/index.html"><span class="identifier">State</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.clause.NetClause$verifyNetCommand(kotlin.collections.List((com.r3corda.contracts.asset.Obligation.State((com.r3corda.contracts.clause.NetClause.P)))), kotlin.collections.List((com.r3corda.contracts.asset.Obligation.State((com.r3corda.contracts.clause.NetClause.P)))), com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.contracts.asset.Obligation.Commands.Net)), com.r3corda.contracts.clause.NetState((com.r3corda.contracts.clause.NetClause.P)))/outputs">outputs</span><span class="symbol">:</span>&nbsp;<span class="identifier">List</span><span class="symbol">&lt;</span><a href="../../com.r3corda.contracts.asset/-obligation/-state/index.html"><span class="identifier">State</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.clause.NetClause$verifyNetCommand(kotlin.collections.List((com.r3corda.contracts.asset.Obligation.State((com.r3corda.contracts.clause.NetClause.P)))), kotlin.collections.List((com.r3corda.contracts.asset.Obligation.State((com.r3corda.contracts.clause.NetClause.P)))), com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.contracts.asset.Obligation.Commands.Net)), com.r3corda.contracts.clause.NetState((com.r3corda.contracts.clause.NetClause.P)))/command">command</span><span class="symbol">:</span>&nbsp;<a href="../../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol">&lt;</span><a href="../../com.r3corda.contracts.asset/-obligation/-commands/-net/index.html"><span class="identifier">Net</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.clause.NetClause$verifyNetCommand(kotlin.collections.List((com.r3corda.contracts.asset.Obligation.State((com.r3corda.contracts.clause.NetClause.P)))), kotlin.collections.List((com.r3corda.contracts.asset.Obligation.State((com.r3corda.contracts.clause.NetClause.P)))), com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.contracts.asset.Obligation.Commands.Net)), com.r3corda.contracts.clause.NetState((com.r3corda.contracts.clause.NetClause.P)))/netState">netState</span><span class="symbol">:</span>&nbsp;<a href="../-net-state/index.html"><span class="identifier">NetState</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><p>Verify a netting command. This handles both close-out and payment netting.</p>
</td>
</tr>
</tbody>
</table>
<h3>Inheritors</h3>
<table>
<tbody>
<tr>
<td>
<a href="../../com.r3corda.contracts.asset/-obligation/-clauses/-net/index.html">Net</a></td>
<td>
<code><span class="keyword">class </span><span class="identifier">Net</span><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<span class="identifier">NetClause</span><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span></code><p>Clause for supporting netting of obligations.</p>
</td>
</tr>
</tbody>
</table>
</BODY>
</HTML>

View File

@ -0,0 +1,20 @@
<HTML>
<HEAD>
<title>NetClause.requiredCommands - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.clause</a>&nbsp;/&nbsp;<a href="index.html">NetClause</a>&nbsp;/&nbsp;<a href=".">requiredCommands</a><br/>
<br/>
<h1>requiredCommands</h1>
<a name="com.r3corda.contracts.clause.NetClause$requiredCommands"></a>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">requiredCommands</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html"><span class="identifier">Class</span></a><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<a href="../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><br/>
Overrides <a href="../../com.r3corda.core.contracts.clauses/-clause/required-commands.html">Clause.requiredCommands</a><br/>
<p>Classes for commands which must ALL be present in transaction for this clause to be triggered</p>
<p><strong>Getter</strong><br/>
<p>Classes for commands which must ALL be present in transaction for this clause to be triggered</p>
</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,16 @@
<HTML>
<HEAD>
<title>NetClause.verifyNetCommand - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.clause</a>&nbsp;/&nbsp;<a href="index.html">NetClause</a>&nbsp;/&nbsp;<a href=".">verifyNetCommand</a><br/>
<br/>
<h1>verifyNetCommand</h1>
<a name="com.r3corda.contracts.clause.NetClause$verifyNetCommand(kotlin.collections.List((com.r3corda.contracts.asset.Obligation.State((com.r3corda.contracts.clause.NetClause.P)))), kotlin.collections.List((com.r3corda.contracts.asset.Obligation.State((com.r3corda.contracts.clause.NetClause.P)))), com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.contracts.asset.Obligation.Commands.Net)), com.r3corda.contracts.clause.NetState((com.r3corda.contracts.clause.NetClause.P)))"></a>
<code><span class="keyword">fun </span><span class="identifier">verifyNetCommand</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.clause.NetClause$verifyNetCommand(kotlin.collections.List((com.r3corda.contracts.asset.Obligation.State((com.r3corda.contracts.clause.NetClause.P)))), kotlin.collections.List((com.r3corda.contracts.asset.Obligation.State((com.r3corda.contracts.clause.NetClause.P)))), com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.contracts.asset.Obligation.Commands.Net)), com.r3corda.contracts.clause.NetState((com.r3corda.contracts.clause.NetClause.P)))/inputs">inputs</span><span class="symbol">:</span>&nbsp;<span class="identifier">List</span><span class="symbol">&lt;</span><a href="../../com.r3corda.contracts.asset/-obligation/-state/index.html"><span class="identifier">State</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.clause.NetClause$verifyNetCommand(kotlin.collections.List((com.r3corda.contracts.asset.Obligation.State((com.r3corda.contracts.clause.NetClause.P)))), kotlin.collections.List((com.r3corda.contracts.asset.Obligation.State((com.r3corda.contracts.clause.NetClause.P)))), com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.contracts.asset.Obligation.Commands.Net)), com.r3corda.contracts.clause.NetState((com.r3corda.contracts.clause.NetClause.P)))/outputs">outputs</span><span class="symbol">:</span>&nbsp;<span class="identifier">List</span><span class="symbol">&lt;</span><a href="../../com.r3corda.contracts.asset/-obligation/-state/index.html"><span class="identifier">State</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.clause.NetClause$verifyNetCommand(kotlin.collections.List((com.r3corda.contracts.asset.Obligation.State((com.r3corda.contracts.clause.NetClause.P)))), kotlin.collections.List((com.r3corda.contracts.asset.Obligation.State((com.r3corda.contracts.clause.NetClause.P)))), com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.contracts.asset.Obligation.Commands.Net)), com.r3corda.contracts.clause.NetState((com.r3corda.contracts.clause.NetClause.P)))/command">command</span><span class="symbol">:</span>&nbsp;<a href="../../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol">&lt;</span><a href="../../com.r3corda.contracts.asset/-obligation/-commands/-net/index.html"><span class="identifier">Net</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.clause.NetClause$verifyNetCommand(kotlin.collections.List((com.r3corda.contracts.asset.Obligation.State((com.r3corda.contracts.clause.NetClause.P)))), kotlin.collections.List((com.r3corda.contracts.asset.Obligation.State((com.r3corda.contracts.clause.NetClause.P)))), com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.contracts.asset.Obligation.Commands.Net)), com.r3corda.contracts.clause.NetState((com.r3corda.contracts.clause.NetClause.P)))/netState">netState</span><span class="symbol">:</span>&nbsp;<a href="../-net-state/index.html"><span class="identifier">NetState</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/>
<p>Verify a netting command. This handles both close-out and payment netting.</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,24 @@
<HTML>
<HEAD>
<title>NetClause.verify - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.clause</a>&nbsp;/&nbsp;<a href="index.html">NetClause</a>&nbsp;/&nbsp;<a href=".">verify</a><br/>
<br/>
<h1>verify</h1>
<a name="com.r3corda.contracts.clause.NetClause$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.clause.NetClause$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))))/tx">tx</span><span class="symbol">:</span>&nbsp;<a href="../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.clause.NetClause$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))))/commands">commands</span><span class="symbol">:</span>&nbsp;<span class="identifier">Collection</span><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">&gt;</span></code><br/>
Overrides <a href="../../com.r3corda.core.contracts.clauses/-single-verify/verify.html">SingleVerify.verify</a><br/>
<p>Verify the transaction matches the conditions from this clause. For example, a "no zero amount output" clause
would check each of the output states that it applies to, looking for a zero amount, and throw IllegalStateException
if any matched.</p>
<p><strong>Return</strong><br/>
the set of commands that are consumed IF this clause is matched, and cannot be used to match a
later clause. This would normally be all commands matching "requiredCommands" for this clause, but some
verify() functions may do further filtering on possible matches, and return a subset. This may also include
commands that were not required (for example the Exit command for fungible assets is optional).</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,53 @@
<HTML>
<HEAD>
<title>NetState - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.clause</a>&nbsp;/&nbsp;<a href=".">NetState</a><br/>
<br/>
<h1>NetState</h1>
<code><span class="keyword">interface </span><span class="identifier">NetState</span><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span></code><br/>
<p>Common interface for the state subsets used when determining nettability of two or more states. Exposes the
underlying issued thing.</p>
<br/>
<br/>
<h3>Properties</h3>
<table>
<tbody>
<tr>
<td>
<a href="template.html">template</a></td>
<td>
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">template</span><span class="symbol">: </span><a href="../../com.r3corda.contracts.asset/-obligation/-terms/index.html"><span class="identifier">Terms</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span></code></td>
</tr>
</tbody>
</table>
<h3>Inheritors</h3>
<table>
<tbody>
<tr>
<td>
<a href="../-bilateral-net-state/index.html">BilateralNetState</a></td>
<td>
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">BilateralNetState</span><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<span class="identifier">NetState</span><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span></code><p>Subset of state, containing the elements which must match for two obligation transactions to be nettable.
If two obligation state objects produce equal bilateral net states, they are considered safe to net directly.
Bilateral states are used in close-out netting.</p>
</td>
</tr>
<tr>
<td>
<a href="../-multilateral-net-state/index.html">MultilateralNetState</a></td>
<td>
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">MultilateralNetState</span><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<span class="identifier">NetState</span><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span></code><p>Subset of state, containing the elements which must match for two or more obligation transactions to be candidates
for netting (this does not include the checks to enforce that everyones amounts received are the same at the end,
which is handled under the verify() function).
In comparison to <a href="../-bilateral-net-state/index.html">BilateralNetState</a>, this doesnt include the parties keys, as ensuring balances match on
input and output is handled elsewhere.
Used in cases where all parties (or their proxies) are signing, such as central clearing.</p>
</td>
</tr>
</tbody>
</table>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>NetState.template - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.clause</a>&nbsp;/&nbsp;<a href="index.html">NetState</a>&nbsp;/&nbsp;<a href=".">template</a><br/>
<br/>
<h1>template</h1>
<a name="com.r3corda.contracts.clause.NetState$template"></a>
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">template</span><span class="symbol">: </span><a href="../../com.r3corda.contracts.asset/-obligation/-terms/index.html"><span class="identifier">Terms</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,16 @@
<HTML>
<HEAD>
<title>NoZeroSizedOutputs.<init> - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.clause</a>&nbsp;/&nbsp;<a href="index.html">NoZeroSizedOutputs</a>&nbsp;/&nbsp;<a href=".">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
<code><span class="identifier">NoZeroSizedOutputs</span><span class="symbol">(</span><span class="symbol">)</span></code><br/>
<p>Clause for fungible asset contracts, which enforces that no output state should have
a balance of zero.</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,20 @@
<HTML>
<HEAD>
<title>NoZeroSizedOutputs.ifMatched - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.clause</a>&nbsp;/&nbsp;<a href="index.html">NoZeroSizedOutputs</a>&nbsp;/&nbsp;<a href=".">ifMatched</a><br/>
<br/>
<h1>ifMatched</h1>
<a name="com.r3corda.contracts.clause.NoZeroSizedOutputs$ifMatched"></a>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">ifMatched</span><span class="symbol">: </span><a href="../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><br/>
Overrides <a href="../../com.r3corda.core.contracts.clauses/-clause/if-matched.html">Clause.ifMatched</a><br/>
<p>Behaviour if this clause is not matches</p>
<p><strong>Getter</strong><br/>
<p>Behaviour if this clause is not matches</p>
</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,20 @@
<HTML>
<HEAD>
<title>NoZeroSizedOutputs.ifNotMatched - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.clause</a>&nbsp;/&nbsp;<a href="index.html">NoZeroSizedOutputs</a>&nbsp;/&nbsp;<a href=".">ifNotMatched</a><br/>
<br/>
<h1>ifNotMatched</h1>
<a name="com.r3corda.contracts.clause.NoZeroSizedOutputs$ifNotMatched"></a>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">ifNotMatched</span><span class="symbol">: </span><a href="../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><br/>
Overrides <a href="../../com.r3corda.core.contracts.clauses/-clause/if-not-matched.html">Clause.ifNotMatched</a><br/>
<p>Behaviour if this clause is matched</p>
<p><strong>Getter</strong><br/>
<p>Behaviour if this clause is matched</p>
</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,66 @@
<HTML>
<HEAD>
<title>NoZeroSizedOutputs - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.clause</a>&nbsp;/&nbsp;<a href=".">NoZeroSizedOutputs</a><br/>
<br/>
<h1>NoZeroSizedOutputs</h1>
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">NoZeroSizedOutputs</span><span class="symbol">&lt;</span><span class="identifier">S</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../com.r3corda.contracts.asset/-fungible-asset/index.html"><span class="identifier">FungibleAsset</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier">T</span>&nbsp;<span class="symbol">:</span>&nbsp;<span class="identifier">Any</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../com.r3corda.core.contracts.clauses/-group-clause.html"><span class="identifier">GroupClause</span></a><span class="symbol">&lt;</span><span class="identifier">S</span><span class="symbol">,</span>&nbsp;<a href="../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><br/>
<p>Clause for fungible asset contracts, which enforces that no output state should have
a balance of zero.</p>
<br/>
<br/>
<h3>Constructors</h3>
<table>
<tbody>
<tr>
<td>
<a href="-init-.html">&lt;init&gt;</a></td>
<td>
<code><span class="identifier">NoZeroSizedOutputs</span><span class="symbol">(</span><span class="symbol">)</span></code><p>Clause for fungible asset contracts, which enforces that no output state should have
a balance of zero.</p>
</td>
</tr>
</tbody>
</table>
<h3>Properties</h3>
<table>
<tbody>
<tr>
<td>
<a href="if-matched.html">ifMatched</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">ifMatched</span><span class="symbol">: </span><a href="../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><p>Behaviour if this clause is not matches</p>
</td>
</tr>
<tr>
<td>
<a href="if-not-matched.html">ifNotMatched</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">ifNotMatched</span><span class="symbol">: </span><a href="../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><p>Behaviour if this clause is matched</p>
</td>
</tr>
<tr>
<td>
<a href="required-commands.html">requiredCommands</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">requiredCommands</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html"><span class="identifier">Class</span></a><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><p>Classes for commands which must ALL be present in transaction for this clause to be triggered</p>
</td>
</tr>
</tbody>
</table>
<h3>Functions</h3>
<table>
<tbody>
<tr>
<td>
<a href="verify.html">verify</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.clause.NoZeroSizedOutputs$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.clause.NoZeroSizedOutputs.S)), kotlin.collections.List((com.r3corda.contracts.clause.NoZeroSizedOutputs.S)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.Issued((com.r3corda.contracts.clause.NoZeroSizedOutputs.T)))/tx">tx</span><span class="symbol">:</span>&nbsp;<a href="../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.clause.NoZeroSizedOutputs$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.clause.NoZeroSizedOutputs.S)), kotlin.collections.List((com.r3corda.contracts.clause.NoZeroSizedOutputs.S)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.Issued((com.r3corda.contracts.clause.NoZeroSizedOutputs.T)))/inputs">inputs</span><span class="symbol">:</span>&nbsp;<span class="identifier">List</span><span class="symbol">&lt;</span><span class="identifier">S</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.clause.NoZeroSizedOutputs$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.clause.NoZeroSizedOutputs.S)), kotlin.collections.List((com.r3corda.contracts.clause.NoZeroSizedOutputs.S)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.Issued((com.r3corda.contracts.clause.NoZeroSizedOutputs.T)))/outputs">outputs</span><span class="symbol">:</span>&nbsp;<span class="identifier">List</span><span class="symbol">&lt;</span><span class="identifier">S</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.clause.NoZeroSizedOutputs$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.clause.NoZeroSizedOutputs.S)), kotlin.collections.List((com.r3corda.contracts.clause.NoZeroSizedOutputs.S)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.Issued((com.r3corda.contracts.clause.NoZeroSizedOutputs.T)))/commands">commands</span><span class="symbol">:</span>&nbsp;<span class="identifier">Collection</span><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.clause.NoZeroSizedOutputs$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.clause.NoZeroSizedOutputs.S)), kotlin.collections.List((com.r3corda.contracts.clause.NoZeroSizedOutputs.S)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.Issued((com.r3corda.contracts.clause.NoZeroSizedOutputs.T)))/token">token</span><span class="symbol">:</span>&nbsp;<a href="../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">&gt;</span></code></td>
</tr>
</tbody>
</table>
</BODY>
</HTML>

View File

@ -0,0 +1,20 @@
<HTML>
<HEAD>
<title>NoZeroSizedOutputs.requiredCommands - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.clause</a>&nbsp;/&nbsp;<a href="index.html">NoZeroSizedOutputs</a>&nbsp;/&nbsp;<a href=".">requiredCommands</a><br/>
<br/>
<h1>requiredCommands</h1>
<a name="com.r3corda.contracts.clause.NoZeroSizedOutputs$requiredCommands"></a>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">requiredCommands</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html"><span class="identifier">Class</span></a><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><br/>
Overrides <a href="../../com.r3corda.core.contracts.clauses/-clause/required-commands.html">Clause.requiredCommands</a><br/>
<p>Classes for commands which must ALL be present in transaction for this clause to be triggered</p>
<p><strong>Getter</strong><br/>
<p>Classes for commands which must ALL be present in transaction for this clause to be triggered</p>
</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,18 @@
<HTML>
<HEAD>
<title>NoZeroSizedOutputs.verify - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.contracts.clause</a>&nbsp;/&nbsp;<a href="index.html">NoZeroSizedOutputs</a>&nbsp;/&nbsp;<a href=".">verify</a><br/>
<br/>
<h1>verify</h1>
<a name="com.r3corda.contracts.clause.NoZeroSizedOutputs$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.clause.NoZeroSizedOutputs.S)), kotlin.collections.List((com.r3corda.contracts.clause.NoZeroSizedOutputs.S)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.Issued((com.r3corda.contracts.clause.NoZeroSizedOutputs.T)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.clause.NoZeroSizedOutputs$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.clause.NoZeroSizedOutputs.S)), kotlin.collections.List((com.r3corda.contracts.clause.NoZeroSizedOutputs.S)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.Issued((com.r3corda.contracts.clause.NoZeroSizedOutputs.T)))/tx">tx</span><span class="symbol">:</span>&nbsp;<a href="../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.clause.NoZeroSizedOutputs$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.clause.NoZeroSizedOutputs.S)), kotlin.collections.List((com.r3corda.contracts.clause.NoZeroSizedOutputs.S)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.Issued((com.r3corda.contracts.clause.NoZeroSizedOutputs.T)))/inputs">inputs</span><span class="symbol">:</span>&nbsp;<span class="identifier">List</span><span class="symbol">&lt;</span><span class="identifier">S</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.clause.NoZeroSizedOutputs$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.clause.NoZeroSizedOutputs.S)), kotlin.collections.List((com.r3corda.contracts.clause.NoZeroSizedOutputs.S)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.Issued((com.r3corda.contracts.clause.NoZeroSizedOutputs.T)))/outputs">outputs</span><span class="symbol">:</span>&nbsp;<span class="identifier">List</span><span class="symbol">&lt;</span><span class="identifier">S</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.clause.NoZeroSizedOutputs$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.clause.NoZeroSizedOutputs.S)), kotlin.collections.List((com.r3corda.contracts.clause.NoZeroSizedOutputs.S)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.Issued((com.r3corda.contracts.clause.NoZeroSizedOutputs.T)))/commands">commands</span><span class="symbol">:</span>&nbsp;<span class="identifier">Collection</span><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.clause.NoZeroSizedOutputs$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.clause.NoZeroSizedOutputs.S)), kotlin.collections.List((com.r3corda.contracts.clause.NoZeroSizedOutputs.S)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.Issued((com.r3corda.contracts.clause.NoZeroSizedOutputs.T)))/token">token</span><span class="symbol">:</span>&nbsp;<a href="../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">&gt;</span></code><br/>
<p><strong>Return</strong><br/>
the set of commands that are consumed IF this clause is matched, and cannot be used to match a
later clause.</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,76 @@
<HTML>
<HEAD>
<title>com.r3corda.contracts.clause - </title>
<link rel="stylesheet" href="../style.css">
</HEAD>
<BODY>
<a href=".">com.r3corda.contracts.clause</a><br/>
<br/>
<h2>Package com.r3corda.contracts.clause</h2>
<h3>Types</h3>
<table>
<tbody>
<tr>
<td>
<a href="-abstract-conserve-amount/index.html">AbstractConserveAmount</a></td>
<td>
<code><span class="keyword">abstract</span> <span class="keyword">class </span><span class="identifier">AbstractConserveAmount</span><span class="symbol">&lt;</span><span class="identifier">S</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../com.r3corda.contracts.asset/-fungible-asset/index.html"><span class="identifier">FungibleAsset</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier">T</span>&nbsp;<span class="symbol">:</span>&nbsp;<span class="identifier">Any</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../com.r3corda.core.contracts.clauses/-group-clause.html"><span class="identifier">GroupClause</span></a><span class="symbol">&lt;</span><span class="identifier">S</span><span class="symbol">,</span>&nbsp;<a href="../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><p>Standardised clause for checking input/output balances of fungible assets. Requires that a
Move command is provided, and errors if absent. Must be the last clause under a grouping clause;
errors on no-match, ends on match.</p>
</td>
</tr>
<tr>
<td>
<a href="-abstract-issue/index.html">AbstractIssue</a></td>
<td>
<code><span class="keyword">abstract</span> <span class="keyword">class </span><span class="identifier">AbstractIssue</span><span class="symbol">&lt;</span><span class="identifier">S</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../com.r3corda.core.contracts/-contract-state/index.html"><span class="identifier">ContractState</span></a><span class="symbol">, </span><span class="identifier">T</span>&nbsp;<span class="symbol">:</span>&nbsp;<span class="identifier">Any</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../com.r3corda.core.contracts.clauses/-group-clause.html"><span class="identifier">GroupClause</span></a><span class="symbol">&lt;</span><span class="identifier">S</span><span class="symbol">,</span>&nbsp;<a href="../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><p>Standard issue clause for contracts that issue fungible assets.</p>
</td>
</tr>
<tr>
<td>
<a href="-bilateral-net-state/index.html">BilateralNetState</a></td>
<td>
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">BilateralNetState</span><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="-net-state/index.html"><span class="identifier">NetState</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span></code><p>Subset of state, containing the elements which must match for two obligation transactions to be nettable.
If two obligation state objects produce equal bilateral net states, they are considered safe to net directly.
Bilateral states are used in close-out netting.</p>
</td>
</tr>
<tr>
<td>
<a href="-multilateral-net-state/index.html">MultilateralNetState</a></td>
<td>
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">MultilateralNetState</span><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="-net-state/index.html"><span class="identifier">NetState</span></a><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span></code><p>Subset of state, containing the elements which must match for two or more obligation transactions to be candidates
for netting (this does not include the checks to enforce that everyones amounts received are the same at the end,
which is handled under the verify() function).
In comparison to <a href="-bilateral-net-state/index.html">BilateralNetState</a>, this doesnt include the parties keys, as ensuring balances match on
input and output is handled elsewhere.
Used in cases where all parties (or their proxies) are signing, such as central clearing.</p>
</td>
</tr>
<tr>
<td>
<a href="-net-clause/index.html">NetClause</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">NetClause</span><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../com.r3corda.core.contracts.clauses/-single-clause.html"><span class="identifier">SingleClause</span></a></code><p>Clause for netting contract states. Currently only supports obligation contract.</p>
</td>
</tr>
<tr>
<td>
<a href="-net-state/index.html">NetState</a></td>
<td>
<code><span class="keyword">interface </span><span class="identifier">NetState</span><span class="symbol">&lt;</span><span class="identifier">P</span><span class="symbol">&gt;</span></code><p>Common interface for the state subsets used when determining nettability of two or more states. Exposes the
underlying issued thing.</p>
</td>
</tr>
<tr>
<td>
<a href="-no-zero-sized-outputs/index.html">NoZeroSizedOutputs</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">NoZeroSizedOutputs</span><span class="symbol">&lt;</span><span class="identifier">S</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../com.r3corda.contracts.asset/-fungible-asset/index.html"><span class="identifier">FungibleAsset</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier">T</span>&nbsp;<span class="symbol">:</span>&nbsp;<span class="identifier">Any</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../com.r3corda.core.contracts.clauses/-group-clause.html"><span class="identifier">GroupClause</span></a><span class="symbol">&lt;</span><span class="identifier">S</span><span class="symbol">,</span>&nbsp;<a href="../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><p>Clause for fungible asset contracts, which enforces that no output state should have
a balance of zero.</p>
</td>
</tr>
</tbody>
</table>
</BODY>
</HTML>

View File

@ -0,0 +1,17 @@
<HTML>
<HEAD>
<title>CP_LEGACY_PROGRAM_ID - </title>
<link rel="stylesheet" href="../style.css">
</HEAD>
<BODY>
<a href="index.html">com.r3corda.contracts</a>&nbsp;/&nbsp;<a href=".">CP_LEGACY_PROGRAM_ID</a><br/>
<br/>
<h1>CP_LEGACY_PROGRAM_ID</h1>
<a name="com.r3corda.contracts$CP_LEGACY_PROGRAM_ID"></a>
<code><span class="keyword">val </span><span class="identifier">CP_LEGACY_PROGRAM_ID</span><span class="symbol">: </span><a href="-commercial-paper-legacy/index.html"><span class="identifier">CommercialPaperLegacy</span></a></code><br/>
<p>Legacy version of <a href="-commercial-paper/index.html">CommercialPaper</a> that includes the full verification logic itself, rather than breaking it
into clauses. This is here just as an example for the contract tutorial.</p>
<br/>
<br/>
</BODY>
</HTML>

Some files were not shown because too many files have changed in this diff Show More