P
- the type of product underlying the definition, for example Currency.public class Issued<P>
Definition for an issued product, which can be cash, a cash-like thing, assets, or generally anything else that's quantifiable with integer quantities.
Constructor and Description |
---|
Issued(PartyAndReference issuer,
P product)
Definition for an issued product, which can be cash, a cash-like thing, assets, or generally anything else that's
quantifiable with integer quantities.
|
Modifier and Type | Method and Description |
---|---|
PartyAndReference |
component1() |
P |
component2() |
Issued<P> |
copy(PartyAndReference issuer,
P product)
Definition for an issued product, which can be cash, a cash-like thing, assets, or generally anything else that's
quantifiable with integer quantities.
|
boolean |
equals(java.lang.Object p) |
PartyAndReference |
getIssuer() |
P |
getProduct() |
int |
hashCode() |
java.lang.String |
toString() |
public Issued(PartyAndReference issuer, P product)
Definition for an issued product, which can be cash, a cash-like thing, assets, or generally anything else that's quantifiable with integer quantities.
public java.lang.String toString()
public PartyAndReference getIssuer()
public P getProduct()
public PartyAndReference component1()
public P component2()
public Issued<P> copy(PartyAndReference issuer, P product)
Definition for an issued product, which can be cash, a cash-like thing, assets, or generally anything else that's quantifiable with integer quantities.
public int hashCode()
public boolean equals(java.lang.Object p)