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.PersistentCashStatecurrency.name)
SortAttribute.Custom, SortAttribute.Standard
Constructor and Description |
---|
Custom(java.lang.Class<? extends net.corda.core.schemas.StatePersistable> entityStateClass,
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.PersistentCashStatecurrency.name)
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends net.corda.core.schemas.StatePersistable> |
component1() |
java.lang.String |
component2() |
SortAttribute.Custom |
copy(java.lang.Class<? extends net.corda.core.schemas.StatePersistable> entityStateClass,
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.PersistentCashStatecurrency.name)
|
boolean |
equals(java.lang.Object p) |
java.lang.Class<? extends net.corda.core.schemas.StatePersistable> |
getEntityStateClass() |
java.lang.String |
getEntityStateColumnName() |
int |
hashCode() |
java.lang.String |
toString() |
public Custom(java.lang.Class<? extends net.corda.core.schemas.StatePersistable> entityStateClass, 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.PersistentCashStatecurrency.name)
public java.lang.Class<? extends net.corda.core.schemas.StatePersistable> getEntityStateClass()
public java.lang.String getEntityStateColumnName()
public java.lang.Class<? extends net.corda.core.schemas.StatePersistable> component1()
public java.lang.String component2()
public SortAttribute.Custom copy(java.lang.Class<? extends net.corda.core.schemas.StatePersistable> entityStateClass, 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.PersistentCashStatecurrency.name)
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)