public static class SampleCashSchemaV3.PersistentCashState extends PersistentState
Constructor and Description |
---|
PersistentCashState(java.util.Set<net.corda.core.identity.AbstractParty> participants,
AbstractParty owner,
long pennies,
java.lang.String currency,
AbstractParty issuer,
byte[] issuerRef) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCurrency() |
AbstractParty |
getIssuer()
X500Name of issuer party
|
byte[] |
getIssuerRef() |
AbstractParty |
getOwner()
X500Name of owner party
|
java.util.Set<net.corda.core.identity.AbstractParty> |
getParticipants()
X500Name of participant parties
|
long |
getPennies() |
void |
setCurrency(java.lang.String p) |
void |
setIssuer(AbstractParty p)
X500Name of issuer party
|
void |
setIssuerRef(byte[] p) |
void |
setOwner(AbstractParty p)
X500Name of owner party
|
void |
setParticipants(java.util.Set<net.corda.core.identity.AbstractParty> p)
X500Name of participant parties
|
void |
setPennies(long p) |
getStateRef, setStateRef
getStateRef
public PersistentCashState(java.util.Set<net.corda.core.identity.AbstractParty> participants, AbstractParty owner, long pennies, java.lang.String currency, AbstractParty issuer, byte[] issuerRef)
participants
- X500Name of participant partiesowner
- X500Name of owner partyissuer
- X500Name of issuer partypublic java.util.Set<net.corda.core.identity.AbstractParty> getParticipants()
X500Name of participant parties
public void setParticipants(java.util.Set<net.corda.core.identity.AbstractParty> p)
X500Name of participant parties
p
- X500Name of participant partiespublic AbstractParty getOwner()
X500Name of owner party
public void setOwner(AbstractParty p)
X500Name of owner party
p
- X500Name of owner partypublic long getPennies()
public void setPennies(long p)
public java.lang.String getCurrency()
public void setCurrency(java.lang.String p)
public AbstractParty getIssuer()
X500Name of issuer party
public void setIssuer(AbstractParty p)
X500Name of issuer party
p
- X500Name of issuer partypublic byte[] getIssuerRef()
public void setIssuerRef(byte[] p)