public static class CommonSchemaV1.FungibleState extends PersistentState
Constructor and Description |
---|
FungibleState(java.util.Set<net.corda.core.schemas.CommonSchemaV1.Party> participants,
CommonSchemaV1.Party ownerKey,
long quantity,
CommonSchemaV1.Party issuerParty,
byte[] issuerRef) |
FungibleState(java.util.Set<? extends net.corda.core.identity.AbstractParty> _participants,
AbstractParty _ownerKey,
long _quantity,
AbstractParty _issuerParty,
byte[] _issuerRef) |
Modifier and Type | Method and Description |
---|---|
CommonSchemaV1.Party |
getIssuerParty()
Issuer attributes
|
byte[] |
getIssuerRef() |
CommonSchemaV1.Party |
getOwnerKey()
|
java.util.Set<net.corda.core.schemas.CommonSchemaV1.Party> |
getParticipants()
|
long |
getQuantity()
Amount attributes
|
void |
setIssuerParty(CommonSchemaV1.Party p)
Issuer attributes
|
void |
setIssuerRef(byte[] p) |
void |
setOwnerKey(CommonSchemaV1.Party p)
|
void |
setParticipants(java.util.Set<net.corda.core.schemas.CommonSchemaV1.Party> p)
|
void |
setQuantity(long p)
Amount attributes
|
getStateRef, setStateRef
public FungibleState(java.util.Set<net.corda.core.schemas.CommonSchemaV1.Party> participants, CommonSchemaV1.Party ownerKey, long quantity, CommonSchemaV1.Party issuerParty, byte[] issuerRef)
participants
- interface ContractState
attributesownerKey
- interface OwnableState
attributesquantity
- Amount attributesissuerParty
- Issuer attributespublic FungibleState(java.util.Set<? extends net.corda.core.identity.AbstractParty> _participants, AbstractParty _ownerKey, long _quantity, AbstractParty _issuerParty, byte[] _issuerRef)
public java.util.Set<net.corda.core.schemas.CommonSchemaV1.Party> getParticipants()
attributes
interface ContractState
public void setParticipants(java.util.Set<net.corda.core.schemas.CommonSchemaV1.Party> p)
attributes
p
- interface ContractState
attributesinterface ContractState
public CommonSchemaV1.Party getOwnerKey()
attributes
interface OwnableState
public void setOwnerKey(CommonSchemaV1.Party p)
attributes
p
- interface OwnableState
attributesinterface OwnableState
public long getQuantity()
Amount attributes
public void setQuantity(long p)
Amount attributes
p
- Amount attributespublic CommonSchemaV1.Party getIssuerParty()
Issuer attributes
public void setIssuerParty(CommonSchemaV1.Party p)
Issuer attributes
p
- Issuer attributespublic byte[] getIssuerRef()
public void setIssuerRef(byte[] p)