webfunds.ricardian
Class Share

java.lang.Object
  |
  +--webfunds.utils.Debug
        |
        +--webfunds.ricardian.Contract
              |
              +--webfunds.ricardian.Share

public class Share
extends Contract


Fields inherited from class webfunds.ricardian.Contract
BEGIN, BOND_TYPE, BOND_WORD, CANHASH_CURRENT, CANHASH_WHITE_BUG, contractData, CURRENCY_TYPE, CURRENCY_WORD, decimalFormat, decimalFormatPattern, END, errors, factor, FIELD_CONTRACT, FIELD_OPERATOR, FIELD_SERVER, FIELD_TOP_LEVEL, fields, fileName, id, localData, logfix, mixedModeErrors, myFile, name, PGP_BEGIN, PGP_END, power, SECT_APPL, SECT_ISSUE, SECT_KEYS, SECT_LOCAL, SERVER_TYPE, SERVER_WORD, SHARE_TYPE, SHARE_WORD, type, UNKNOWN_TYPE, userData, USERID_CONTRACT, USERID_OPERATOR, USERID_SERVER, USERID_TOP_LEVEL, X509_BEGIN, X509_END
 
Fields inherited from class webfunds.utils.Debug
bug, debugAll, logfix
 
Constructor Summary
Share(byte[] contractD, byte[] localD, byte[] userD)
           
 
Method Summary
 java.lang.String getSymbol()
          Get the symbol for the share.
 int getType()
          getType - returns type of this contract.
 
Methods inherited from class webfunds.ricardian.Contract
doCanonicalDigest, doCanonicalDigest, equals, error, fileNameFromDigest, flushMyFile, getAllNames, getAmount, getApplicationName, getArray, getBase, getContentErrors, getContents, getContract, getContract, getContract, getDecimalFormat, getDecimalFormatPattern, getErrors, getFactor, getField, getFileName, getId, getItemId, getName, getNameOfUnitOfAccount, getNameOfUnitOfContract, getOpenPGPCertFromString, getPower, getPrintableAmount, getRoot, getSectionItems, getSectionNames, getServerCert, getType, getUniqueName, getUnits, getUnitsOfAccount, getUnitsOfContract, getX509CertFromString, hashCode, isChanged, isPower, main, prepareContractForCanonicalDigest, prepareContractForCanonicalDigest2, readAndSetPower, removeFiles, removeFiles, removeFiles, reSaveAsFile, reSaveAsFile, resetErrors, saveAsFile, saveAsFile, saveFile, setApplicationName, setDecimalFormat, setDecimalFormatPattern, setField, setPower, toString, verifyContract, verifyOpenPGPSignatures, verifyX509Signatures
 
Methods inherited from class webfunds.utils.Debug
debug, debug, debug, debug, err, getDebug, logend, logmsg, logstart, logword
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Share

public Share(byte[] contractD,
             byte[] localD,
             byte[] userD)
      throws ContractException
Method Detail

getType

public int getType()
Description copied from class: Contract
getType - returns type of this contract. Should be extended by subclasses.
Overrides:
getType in class Contract

getSymbol

public java.lang.String getSymbol()
Get the symbol for the share.
Overrides:
getSymbol in class Contract