corda / net.corda.client.model

## Package net.corda.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
FlowStatus | `data class FlowStatus`
GatheredTransactionData | `data class GatheredTransactionData`
Models | `object Models`
NetworkIdentityModel | `class NetworkIdentityModel`
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`
StateMachineData | `data class StateMachineData`
StateMachineStatus | `sealed class StateMachineStatus`
TrackedDelegate | `sealed class TrackedDelegate<M : Any>`
TransactionCreateStatus | `sealed class TransactionCreateStatus`
TransactionDataModel | `class TransactionDataModel` This model provides an observable list of transactions and what state machines/flows recorded them

### 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) -> Observable<T>): ObservableDelegate<M, T>` 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) -> Observer<T>): ObserverDelegate<M, T>`
subject | `fun <M : Any, T> subject(subjectProperty: (M) -> Subject<T, T>): SubjectDelegate<M, T>`
writableValue | `fun <M : Any, T> writableValue(writableValueProperty: (M) -> WritableValue<T>): WritableValueDelegate<M, T>`