Constants¶
Constants is a static holder class that centralizes fixed literal values used across the policy domain: the SAIF service-center contact identifiers used for routing correspondence/notifications, the earliest allowable submission-entry date, and the string flag values that represent boolean true/false in database-backed fields.
Purpose¶
- Provide a single source of truth for the service center's email address and mail identifier so callers do not hard-code these values.
- Define the minimum valid submission entry date (
1/1/1900) used as a floor/sentinel value in date validation.* - Define the canonical string representations (
"Y"/"N") used for flag-style fields persisted as strings rather than native booleans.
Context¶
- Namespace:
SAIF.Business.Policy - Assembly/package:
SAIF.Business.Policy
Public members¶
| Member | Signature | Purpose |
|---|---|---|
SERVICE_CENTER_EMAIL_ADDRESS |
Public Const SERVICE_CENTER_EMAIL_ADDRESS As String = "servicecenter@saif.com" |
The email address used to route correspondence to the SAIF service center.* |
SERVICE_CENTER_MAIL_ID |
Public Const SERVICE_CENTER_MAIL_ID As String = "SERVIC" |
The internal mail/routing identifier for the SAIF service center.* |
MininumSubmissionEntryDate |
Public Const MininumSubmissionEntryDate As Date = #1/1/1900# |
The earliest date considered valid for a submission entry; used as a floor value when validating or defaulting submission dates.* |
TRUE_FLAG |
Public Const TRUE_FLAG As String = "Y" |
The string value that represents a boolean "true" in flag-style fields persisted as Y/N characters. |
FALSE_FLAG |
Public Const FALSE_FLAG As String = "N" |
The string value that represents a boolean "false" in flag-style fields persisted as Y/N characters. |
Behavioral notes¶
- Source declaration:
Business\SAIF.Business.Policy\Constants.vb. - Related operations, rules, and SQL are cross-referenced from the library-level documentation.
Constraints and usage notes¶
- Consumers should rely on the declared public surface rather than internal implementation details.
Note: Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with ** could not be confirmed; treat as unknown until verified.
Sources¶
Business\SAIF.Business.Policy\Constants.vb