QueryCriteria.FungibleAssetQueryCriteria - corda

corda / net.corda.core.node.services.vault / QueryCriteria / FungibleAssetQueryCriteria

# FungibleAssetQueryCriteria

`data class FungibleAssetQueryCriteria : CommonQueryCriteria`

FungibleStateQueryCriteria: provides query by attributes defined in VaultSchema.VaultFungibleStates

### Constructors

#### <init> | `FungibleAssetQueryCriteria(participants: List<AbstractParty>? = null, owner: List<AbstractParty>? = null, quantity: ColumnPredicate<Long>? = null, issuer: List<AbstractParty>? = null, issuerRef: List<OpaqueBytes>? = null, status: StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes: Set<Class<out ContractState>>? = null, relevancyStatus: RelevancyStatus)` `FungibleAssetQueryCriteria(participants: List<AbstractParty>? = null, owner: List<AbstractParty>? = null, quantity: ColumnPredicate<Long>? = null, issuer: List<AbstractParty>? = null, issuerRef: List<OpaqueBytes>? = null, status: StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes: Set<Class<out ContractState>>? = null)` FungibleStateQueryCriteria: provides query by attributes defined in VaultSchema.VaultFungibleStates `FungibleAssetQueryCriteria(participants: List<AbstractParty>? = null, owner: List<AbstractParty>? = null, quantity: ColumnPredicate<Long>? = null, issuer: List<AbstractParty>? = null, issuerRef: List<OpaqueBytes>? = null, status: StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes: Set<Class<out ContractState>>? = null, relevancyStatus: RelevancyStatus, exactParticipants: List<AbstractParty>? = null)`

### Properties

#### contractStateTypes | `val contractStateTypes: Set<Class<out ContractState>>?`
#### exactParticipants | `val exactParticipants: List<AbstractParty>?`
#### issuer | `val issuer: List<AbstractParty>?`
#### issuerRef | `val issuerRef: List<OpaqueBytes>?`
#### owner | `val owner: List<AbstractParty>?`
#### participants | `val participants: List<AbstractParty>?`
#### quantity | `val quantity: ColumnPredicate<Long>?`
#### relevancyStatus | `val relevancyStatus: RelevancyStatus`
#### status | `val status: StateStatus`

### Functions

#### copy | `fun copy(participants: List<AbstractParty>? = this.participants, owner: List<AbstractParty>? = this.owner, quantity: ColumnPredicate<Long>? = this.quantity, issuer: List<AbstractParty>? = this.issuer, issuerRef: List<OpaqueBytes>? = this.issuerRef, status: StateStatus = this.status, contractStateTypes: Set<Class<out ContractState>>? = this.contractStateTypes, relevancyStatus: RelevancyStatus = this.relevancyStatus): FungibleAssetQueryCriteria` `fun copy(participants: List<AbstractParty>? = this.participants, owner: List<AbstractParty>? = this.owner, quantity: ColumnPredicate<Long>? = this.quantity, issuer: List<AbstractParty>? = this.issuer, issuerRef: List<OpaqueBytes>? = this.issuerRef, status: StateStatus = this.status, contractStateTypes: Set<Class<out ContractState>>? = this.contractStateTypes): FungibleAssetQueryCriteria`
#### visit | `fun visit(parser: IQueryCriteriaParser): Collection<Predicate>`
#### withContractStateTypes | `fun withContractStateTypes(contractStateTypes: Set<Class<out ContractState>>): FungibleAssetQueryCriteria`
#### withExactParticipants | `fun withExactParticipants(exactParticipants: List<AbstractParty>): FungibleAssetQueryCriteria`
#### withIssuer | `fun withIssuer(issuer: List<AbstractParty>): FungibleAssetQueryCriteria`
#### withissuerRef | `fun withissuerRef(issuerRef: List<OpaqueBytes>): FungibleAssetQueryCriteria`
#### withOwner | `fun withOwner(owner: List<AbstractParty>): FungibleAssetQueryCriteria`
#### withParticipants | `fun withParticipants(participants: List<AbstractParty>): FungibleAssetQueryCriteria`
#### withQuantity | `fun withQuantity(quantity: ColumnPredicate<Long>): FungibleAssetQueryCriteria`
#### withRelevancyStatus | `fun withRelevancyStatus(relevancyStatus: RelevancyStatus): FungibleAssetQueryCriteria`
#### withStatus | `fun withStatus(status: StateStatus): FungibleAssetQueryCriteria`