public static class CommonSchemaV1.FungibleState extends PersistentState
Constructor and Description |
---|
FungibleState(java.util.Set<net.corda.core.identity.AbstractParty> participants,
AbstractParty owner,
long quantity,
AbstractParty issuer,
byte[] issuerRef) |
Modifier and Type | Method and Description |
---|---|
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 |
getQuantity()
Amount attributes
|
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 |
setQuantity(long p)
Amount attributes
|
getStateRef, setStateRef
getStateRef
public FungibleState(java.util.Set<net.corda.core.identity.AbstractParty> participants, AbstractParty owner, long quantity, AbstractParty issuer, byte[] issuerRef)
participants
- X500Name of participant partiesowner
- X500Name of owner partyquantity
- Amount attributesissuer
- 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 getQuantity()
Amount attributes
public void setQuantity(long p)
Amount attributes
p
- Amount attributespublic 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)