Vault.StateMetadata - corda

corda / net.corda.core.node.services / Vault / StateMetadata

# StateMetadata

`data class StateMetadata`

### Constructors

#### <init> | `StateMetadata(ref: StateRef, contractStateClassName: String, recordedTime: Instant, consumedTime: Instant?, status: StateStatus, notary: AbstractParty?, lockId: String?, lockUpdateTime: Instant?, relevancyStatus: RelevancyStatus? = null, constraintInfo: ConstraintInfo? = null)`

### Properties

#### constraintInfo | `val constraintInfo: ConstraintInfo?`
#### consumedTime | `val consumedTime: Instant?`
#### contractStateClassName | `val contractStateClassName: String`
#### lockId | `val lockId: String?`
#### lockUpdateTime | `val lockUpdateTime: Instant?`
#### notary | `val notary: AbstractParty?`
#### recordedTime | `val recordedTime: Instant`
#### ref | `val ref: StateRef`
#### relevancyStatus | `val relevancyStatus: RelevancyStatus?`
#### status | `val status: StateStatus`

### Functions

#### copy | `fun copy(ref: StateRef = this.ref, contractStateClassName: String = this.contractStateClassName, recordedTime: Instant = this.recordedTime, consumedTime: Instant? = this.consumedTime, status: StateStatus = this.status, notary: AbstractParty? = this.notary, lockId: String? = this.lockId, lockUpdateTime: Instant? = this.lockUpdateTime): StateMetadata` `fun copy(ref: StateRef = this.ref, contractStateClassName: String = this.contractStateClassName, recordedTime: Instant = this.recordedTime, consumedTime: Instant? = this.consumedTime, status: StateStatus = this.status, notary: AbstractParty? = this.notary, lockId: String? = this.lockId, lockUpdateTime: Instant? = this.lockUpdateTime, relevancyStatus: RelevancyStatus?): StateMetadata`