public static class SortAttribute.Custom extends 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)
public Custom(@NotNull java.lang.Class<? extends net.corda.core.schemas.StatePersistable> entityStateClass, @NotNull java.lang.String entityStateColumnName)
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)
@NotNull public java.lang.Class<? extends net.corda.core.schemas.StatePersistable> getEntityStateClass()
@NotNull public java.lang.String getEntityStateColumnName()
@NotNull public java.lang.Class<? extends net.corda.core.schemas.StatePersistable> component1()
@NotNull public java.lang.String component2()
@NotNull public net.corda.core.node.services.vault.SortAttribute.Custom copy(@NotNull java.lang.Class<? extends net.corda.core.schemas.StatePersistable> entityStateClass, @NotNull java.lang.String entityStateColumnName)
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)
@NotNull public java.lang.String toString()
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)
public int hashCode()
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)
public boolean equals(@Nullable java.lang.Object p)
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)