FIMAS

Name
  TFMSNewsAutoGenerator

Parent
  FMSSimulatedActivityClasses

Class Hierarchy
  TFMSUpdateAble

Visibility
  PUBLIC

Description
  A class that alows to automaticly generate news.

Members
  Fields
 
Field Description
FClassificatorNews (-)  
FCompaniesNews (-)  
FDontGenerateNewsForClassificators (-)  
FDontGenerateNewsForRoles (-)  
FGenerateNewsForAllClassificators (-)  
FGenerateNewsForAllClassificatorsParams (-)  
FGenerateNewsForAllCompanies (-)  
FGenerateNewsForAllCompaniesParams (-)  
FKeepNewsAheadForDays (-)  
FLastTimeNewsWereGenerated (-)  
FPeriodInDays (-)  
FWorld (-)  

Methods
 
Method Description
Create (+) Constructor.
CreateInitialized (+) Prefered Constructor.
Destroy (+)  
GenerateClassificatorRandomNews (+) News are spread over all classificators, each is chosen at random.
GenerateRandomNewsForAllCompanies (+) News are spread over all companies, each is chosen at random.
GenerateRandomNewsForOneClassificator (+) All news are generated only for this classificator.
GenerateRandomNewsForOneCompany (+) All news are generated only for this company.
SetClassificatorNews (-)  
SetCompaniesNews (-)  
SetDontGenerateNewsForClassificators (-)  
SetDontGenerateNewsForRoles (-)  
SetGenerateNewsForAllClassificatorsParams (-)  
SetGenerateNewsForAllCompaniesParams (-)  
Step (#)  

Properties
 
Property Description
ClassificatorNews (*) Used to generate news for single classificators.
CompaniesNews (*) Used to generate news for single companies.
DontGenerateNewsForClassificators (*) Used if GenerateNewsForAllClassificators is True.
DontGenerateNewsForRoles (*) Used if GenerateNewsForAllCompanies is True.
GenerateNewsForAllClassificators (*) Do we need to Generate News For All Classificators?
GenerateNewsForAllClassificatorsParams (*) Used if GenerateNewsForAllClassificators is True.
GenerateNewsForAllCompanies (*) Do we need to Generate News For All Companies?
GenerateNewsForAllCompaniesParams (*) Used if GenerateNewsForAllCompanies is True.
KeepNewsAheadForDays (*) We always have news, that are ahead of current time for this number of days. Default is 7 Days.
PeriodInDays (*) Number of days that news are generated for. Default is 7 Days.
World (*) Link to World.


Legend
 
Symbol Visibility
- Private
# Protected
+ Public
* Published
A Automated
S Strict

FIMAS


Copyright Alexander Federyakov aka Da Stranger
Created with DelphiCodeToDoc. To obtain the latest revision, please visit http://dephicodetodoc.sourceforge.net/