P
- the class type of product underlying the definition, for example java.util.Currency.public class Issued<P>
The class Issued
data class holds the details of an on ledger digital asset.
In particular it gives the public credentials of the entity that created these digital tokens
and the particular product represented.
class Issued
Constructor and Description |
---|
Issued(PartyAndReference issuer,
P product)
The
class Issued data class holds the details of an on ledger digital asset.
In particular it gives the public credentials of the entity that created these digital tokens
and the particular product represented. |
Modifier and Type | Method and Description |
---|---|
PartyAndReference |
component1()
The
|
P |
component2()
The details of the specific product represented by these digital tokens.
|
Issued<P> |
copy(PartyAndReference issuer,
P product)
The
class Issued data class holds the details of an on ledger digital asset.
In particular it gives the public credentials of the entity that created these digital tokens
and the particular product represented. |
boolean |
equals(java.lang.Object p) |
PartyAndReference |
getIssuer()
The
|
P |
getProduct()
The details of the specific product represented by these digital tokens.
|
int |
hashCode() |
java.lang.String |
toString() |
public Issued(PartyAndReference issuer, P product)
The class Issued
data class holds the details of an on ledger digital asset.
In particular it gives the public credentials of the entity that created these digital tokens
and the particular product represented.
issuer
- The class AbstractParty
details of the entity which issued the assetand a reference blob, which can contain other details related to the token creation e.g. serial number,warehouse location, etc.The issuer is the gatekeeper for creating, or destroying the tokens on the digital ledger andonly their PrivateKey signature can authorise transactions that do not conserve the total numberof tokens on the ledger.Other identities may own the tokens, but they can only create transactions that conserve the total token count.Typically the issuer is also a well know organisation that can convert digital tokens to external assetsand thus underwrites the digital tokens.Different issuer values may coexist for a particular product, but these cannot be merged.product
- The details of the specific product represented by these digital tokens. The valueof product may differentiate different kinds of asset within the same logical class e.g the currency, orit may just be a type marker for a single custom asset.class Issued
public java.lang.String toString()
public PartyAndReference getIssuer()
The
class AbstractParty
details of the entity which issued the assetand a reference blob, which can contain other details related to the token creation e.g. serial number,warehouse location, etc.The issuer is the gatekeeper for creating, or destroying the tokens on the digital ledger andonly their PrivateKey signature can authorise transactions that do not conserve the total numberof tokens on the ledger.Other identities may own the tokens, but they can only create transactions that conserve the total token count.Typically the issuer is also a well know organisation that can convert digital tokens to external assetsand thus underwrites the digital tokens.Different issuer values may coexist for a particular product, but these cannot be merged.
class AbstractParty
,
PrivateKeypublic P getProduct()
The details of the specific product represented by these digital tokens.
The valueof product may differentiate different kinds of asset within the same logical class e.g the currency, orit may just be a type marker for a single custom asset.
public PartyAndReference component1()
The
class AbstractParty
details of the entity which issued the assetand a reference blob, which can contain other details related to the token creation e.g. serial number,warehouse location, etc.The issuer is the gatekeeper for creating, or destroying the tokens on the digital ledger andonly their PrivateKey signature can authorise transactions that do not conserve the total numberof tokens on the ledger.Other identities may own the tokens, but they can only create transactions that conserve the total token count.Typically the issuer is also a well know organisation that can convert digital tokens to external assetsand thus underwrites the digital tokens.Different issuer values may coexist for a particular product, but these cannot be merged.
class AbstractParty
,
PrivateKeypublic P component2()
The details of the specific product represented by these digital tokens.
The valueof product may differentiate different kinds of asset within the same logical class e.g the currency, orit may just be a type marker for a single custom asset.
public Issued<P> copy(PartyAndReference issuer, P product)
The class Issued
data class holds the details of an on ledger digital asset.
In particular it gives the public credentials of the entity that created these digital tokens
and the particular product represented.
class Issued
public int hashCode()
public boolean equals(java.lang.Object p)