Uses of Interface
rails.game.PublicCertificateI

Packages that use PublicCertificateI
rails.game   
rails.game.action   
 

Uses of PublicCertificateI in rails.game
 

Classes in rails.game that implement PublicCertificateI
 class PublicCertificate
           
 

Fields in rails.game with type parameters of type PublicCertificateI
protected  java.util.ArrayList<PublicCertificateI> PublicCompany.certificates
          The certificates of this company (minimum 1)
protected  java.util.List<PublicCertificateI> Portfolio.certificates
          Owned public company certificates
protected static java.util.Map<java.lang.String,PublicCertificateI> PublicCertificate.certMap
          A map allowing to find certificates by unique id
protected  java.util.Map<java.lang.String,java.util.List<PublicCertificateI>> Portfolio.certPerCompany
          Owned public company certificates, organised in a HashMap per company
protected  java.util.Map<java.lang.String,java.util.List<PublicCertificateI>> Portfolio.certsPerType
          Owned public company certificates, organised in a HashMap per unique certificate type (company, share percentage, presidency).
 

Methods in rails.game that return PublicCertificateI
 PublicCertificateI PublicCertificateI.copy()
          Clone this certificate
 PublicCertificateI PublicCertificate.copy()
           
 PublicCertificateI Portfolio.findCertificate(PublicCompanyI company, boolean president)
          Find a certificate for a given company.
 PublicCertificateI Portfolio.findCertificate(PublicCompanyI company, int shares, boolean president)
          Find a certificate for a given company.
static PublicCertificateI PublicCertificate.getByUniqueId(java.lang.String certId)
           
 PublicCertificateI Portfolio.getCertOfType(java.lang.String certTypeId)
           
 PublicCertificateI PublicCompanyI.getPresidentsShare()
           
 PublicCertificateI PublicCompany.getPresidentsShare()
           
 

Methods in rails.game that return types with arguments of type PublicCertificateI
 java.util.List<PublicCertificateI> PublicCompanyI.getCertificates()
          Get a list of this company's certificates.
 java.util.List<PublicCertificateI> PublicCompany.getCertificates()
          Get a list of this company's certificates.
 java.util.List<PublicCertificateI> Portfolio.getCertificates()
           
 java.util.List<PublicCertificateI> Portfolio.getCertificatesPerCompany(java.lang.String compName)
           
 java.util.List<PublicCertificateI> Portfolio.getCertsOfType(java.lang.String certTypeId)
           
 java.util.Map<java.lang.String,java.util.List<PublicCertificateI>> Portfolio.getCertsPerCompanyMap()
           
 java.util.Map<java.lang.String,java.util.List<PublicCertificateI>> Portfolio.getCertsPerType()
           
 java.util.List<PublicCertificateI> Portfolio.swapPresidentCertificate(PublicCompanyI company, Portfolio other)
          Swap this Portfolio's President certificate for common shares in another Portfolio.
 

Methods in rails.game with parameters of type PublicCertificateI
 void PublicCompanyI.addCertificate(PublicCertificateI certificate)
          Add a certificate to the end of this company's list of certificates.
 void PublicCompany.addCertificate(PublicCertificateI certificate)
          Add a certificate to the end of this company's list of certificates.
 void Portfolio.addCertificate(PublicCertificateI certificate)
           
 void Portfolio.addCertificate(PublicCertificateI certificate, int[] position)
           
protected  boolean Round.certCountsAsSold(PublicCertificateI cert)
          Can be subclassed for games with special rules
 boolean PublicCertificateI.equals(PublicCertificateI cert)
          Compare certificates
 boolean PublicCertificate.equals(PublicCertificateI cert)
          Two certificates are "equal" if they both belong to the same company, represent the same share percentage, and are not a president share.
protected  CashHolder OperatingRound.getBeneficiary(PublicCertificateI cert)
          Who gets the per-share revenue?
 boolean PublicCompanyI.paysOutToTreasury(PublicCertificateI cert)
           
 boolean PublicCompany.paysOutToTreasury(PublicCertificateI cert)
           
 void Portfolio.removeCertificate(PublicCertificateI certificate)
           
 

Method parameters in rails.game with type arguments of type PublicCertificateI
protected  void StockRound.executeShareTransfer(PublicCompanyI company, java.util.List<PublicCertificateI> certsToSell, Player dumpedPlayer, int presSharesToSell)
           
 void PublicCompanyI.setCertificates(java.util.List<PublicCertificateI> list)
          Assign a predefined array of certificates to this company.
 void PublicCompany.setCertificates(java.util.List<PublicCertificateI> list)
          Assign a predefined list of certificates to this company.
 

Constructors in rails.game with parameters of type PublicCertificateI
PublicCertificate(PublicCertificateI oldCert)
           
 

Uses of PublicCertificateI in rails.game.action
 

Fields in rails.game.action declared as PublicCertificateI
protected  PublicCertificateI BuyCertificate.certificate