com.r3corda.client.model

## Package com.r3corda.client.model

### Types

ContractStateModel | `class ContractStateModel` This model exposes the list of owned contract states.
Diff | `data class Diff<out T : ContractState>`
ExchangeRate | `interface ExchangeRate`
ExchangeRateModel | `class ExchangeRateModel` This model provides an exchange rate from arbitrary currency to arbitrary currency. TODO hook up an actual oracle
GatheredTransactionData | `data class GatheredTransactionData`
GatheredTransactionDataModel | `class GatheredTransactionDataModel` This model provides an observable list of transactions and what state machines/protocols recorded them
Models | `object Models`
NodeMonitorModel | `class NodeMonitorModel` This model exposes raw event streams to and from the node.
PartiallyResolvedTransaction | `data class PartiallyResolvedTransaction` PartiallyResolvedTransaction holds a SignedTransaction that has zero or more inputs resolved. The intent is to prepare clients for cases where an input can only be resolved in the future/cannot be resolved at all (for example because of permissioning)
ProgressTrackingEvent | `data class ProgressTrackingEvent`
ProtocolStatus | `data class ProtocolStatus`
StateMachineData | `data class StateMachineData`
StateMachineStatus | `sealed class StateMachineStatus`
TrackedDelegate | `sealed class TrackedDelegate<M : Any>`
TransactionCreateStatus | `sealed class TransactionCreateStatus`

### Functions

eventSink | `fun <M : Any, T> eventSink(sinkProperty: (M) -> <ERROR CLASS><T>): <ERROR CLASS>`
eventStream | `fun <M : Any, T> eventStream(streamProperty: (M) -> <ERROR CLASS><T>): <ERROR CLASS>`
exchangeAmount | `fun ExchangeRate.exchangeAmount(amount: Amount<Currency>, to: Currency): Amount<Currency>`
exchangeDouble | `fun ExchangeRate.exchangeDouble(amount: Amount<Currency>, to: Currency): Double`
objectProperty | `fun <M : Any, T> objectProperty(objectProperty: (M) -> ObjectProperty<T>): ObjectPropertyDelegate<M, T>`
observable | `fun <M : Any, T> observable(observableProperty: (M) -> <ERROR CLASS><T>): <ERROR CLASS>` This file defines a global Models store and delegates to inject event streams/sinks. Note that all streams here are global.
observableList | `fun <M : Any, T> observableList(observableListProperty: (M) -> ObservableList<T>): ObservableListDelegate<M, T>`
observableListReadOnly | `fun <M : Any, T> observableListReadOnly(observableListProperty: (M) -> ObservableList<out T>): ObservableListReadOnlyDelegate<M, T>`
observableValue | `fun <M : Any, T> observableValue(observableValueProperty: (M) -> ObservableValue<T>): ObservableValueDelegate<M, T>`
observer | `fun <M : Any, T> observer(observerProperty: (M) -> <ERROR CLASS><T>): <ERROR CLASS>`
subject | `fun <M : Any, T> subject(subjectProperty: (M) -> <ERROR CLASS><T, T>): <ERROR CLASS>`
writableValue | `fun <M : Any, T> writableValue(writableValueProperty: (M) -> WritableValue<T>): WritableValueDelegate<M, T>`