|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PublicCertificateI
| Field Summary |
|---|
| Fields inherited from interface rails.game.move.Moveable |
|---|
AT_END |
| Method Summary | |
|---|---|
PublicCertificateI |
copy()
Clone this certificate |
boolean |
equals(PublicCertificateI cert)
Compare certificates |
float |
getCertificateCount()
|
PublicCompanyI |
getCompany()
|
int |
getIndexInCompany()
|
int |
getShare()
Get the percentage of ownership that this certificate represents. |
int |
getShares()
Get the number of shares that this certificate represents. |
java.lang.String |
getTypeId()
|
java.lang.String |
getUniqueId()
Set the certificate's unique ID |
boolean |
isInitiallyAvailable()
|
boolean |
isPresidentShare()
|
void |
setCertificateCount(float certificateCount)
|
void |
setCompany(PublicCompanyI companyI)
|
void |
setInitiallyAvailable(boolean initiallyAvailable)
Get the current price of this certificate. |
void |
setPortfolio(Portfolio portfolio)
|
void |
setPresident(boolean b)
|
void |
setUniqueId(java.lang.String name,
int index)
Set the certificate's unique ID, for use in deserializing |
| Methods inherited from interface rails.game.Certificate |
|---|
getName, getPortfolio |
| Methods inherited from interface rails.game.move.Moveable |
|---|
getHolder, moveTo |
| Method Detail |
|---|
void setUniqueId(java.lang.String name,
int index)
java.lang.String getUniqueId()
int getIndexInCompany()
boolean isPresidentShare()
int getShares()
int getShare()
void setInitiallyAvailable(boolean initiallyAvailable)
boolean isInitiallyAvailable()
b - float getCertificateCount()
void setCertificateCount(float certificateCount)
void setPortfolio(Portfolio portfolio)
portfolio - void setPresident(boolean b)
b - PublicCompanyI getCompany()
void setCompany(PublicCompanyI companyI)
companyI - java.lang.String getTypeId()
PublicCertificateI copy()
boolean equals(PublicCertificateI cert)
cert - Another publoc certificate.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||