SortAttribute.Custom - corda

corda / net.corda.core.node.services.vault / SortAttribute / Custom

# Custom

`data class Custom : SortAttribute`

entityStateClass should reference a persistent state entity entityStateColumnName should reference an entity attribute name as defined by the associated mapped schema (for example, CashSchemaV1.PersistentCashState::currency.name)

### Constructors

#### <init> | entityStateClass should reference a persistent state entity entityStateColumnName should reference an entity attribute name as defined by the associated mapped schema (for example, CashSchemaV1.PersistentCashState::currency.name) `Custom(entityStateClass: Class<out StatePersistable>, entityStateColumnName: String)`

### Properties

#### entityStateClass | `val entityStateClass: Class<out StatePersistable>`
#### entityStateColumnName | `val entityStateColumnName: String`