OpenPetra
Free Administration Software for Non-Profits
Ict.Petra.Server.MFinance.Common.TLedgerInitFlag Class Reference

LedgerInitFlag is a table wich holds properties for each Ledger. More...

Public Member Functions

 TLedgerInitFlag (int ALedgerNumber, String AFlag, TDataBase ADataBase=null)
 This Constructor only takes and stores the initial parameters. No Database request is done by this routine. More...
 
void SetOrRemoveFlag (String AFlag, Boolean AddIt)
 
String GetFlagValue (String AFlag)
 This more conventional string-based ValueStore is intended to replace the limited and over-complicated binary flag approach (which is preserved above, but no longer used for Reval, or anything else.) More...
 
void SetFlagComponent (String AFlag, String AComponent)
 The named AFlag is a composite value (internally stored as CSV) This method adds the component, if it's not already present. More...
 
void RemoveFlagComponent (String AFlag, String AComponent)
 The named AFlag is a composite value (internally stored as CSV) This method removes the component, if it's present in AFlag. (If AFlag was not found, it's not created.) More...
 
void SetFlagValue (String AFlag, String AValue)
 

Properties

bool IsSet [get, set]
 The IsSet property controls database requests. More...
 

Detailed Description

LedgerInitFlag is a table wich holds properties for each Ledger.

Constructor & Destructor Documentation

◆ TLedgerInitFlag()

Ict.Petra.Server.MFinance.Common.TLedgerInitFlag.TLedgerInitFlag ( int  ALedgerNumber,
String  AFlag,
TDataBase  ADataBase = null 
)
inline

This Constructor only takes and stores the initial parameters. No Database request is done by this routine.

Parameters
ALedgerNumberA valid ledger number
AFlagName of the flag
ADataBase

Member Function Documentation

◆ GetFlagValue()

String Ict.Petra.Server.MFinance.Common.TLedgerInitFlag.GetFlagValue ( String  AFlag)
inline

This more conventional string-based ValueStore is intended to replace the limited and over-complicated binary flag approach (which is preserved above, but no longer used for Reval, or anything else.)

Parameters
AFlag
Returns

◆ RemoveFlagComponent()

void Ict.Petra.Server.MFinance.Common.TLedgerInitFlag.RemoveFlagComponent ( String  AFlag,
String  AComponent 
)
inline

The named AFlag is a composite value (internally stored as CSV) This method removes the component, if it's present in AFlag. (If AFlag was not found, it's not created.)

Parameters
AFlag
AComponent

◆ SetFlagComponent()

void Ict.Petra.Server.MFinance.Common.TLedgerInitFlag.SetFlagComponent ( String  AFlag,
String  AComponent 
)
inline

The named AFlag is a composite value (internally stored as CSV) This method adds the component, if it's not already present.

Parameters
AFlag
AComponent

◆ SetFlagValue()

void Ict.Petra.Server.MFinance.Common.TLedgerInitFlag.SetFlagValue ( String  AFlag,
String  AValue 
)
inline

Parameters
AFlag
AValue

◆ SetOrRemoveFlag()

void Ict.Petra.Server.MFinance.Common.TLedgerInitFlag.SetOrRemoveFlag ( String  AFlag,
Boolean  AddIt 
)
inline

Parameters
AFlag
AddIt

Property Documentation

◆ IsSet

bool Ict.Petra.Server.MFinance.Common.TLedgerInitFlag.IsSet
getset

The IsSet property controls database requests.


The documentation for this class was generated from the following file: