﻿---
title: clsPremiumRatingRulePriority
summary: API reference for clsPremiumRatingRulePriority.
status: draft
owner: Technical Writer
last_reviewed: 2026-07-31
library: SAIF.Business.Policy.Premium
reference_type: package
---

# clsPremiumRatingRulePriority

Represents a rating rule priority record; holds the priority sequence number and associated rating rule master reference for ordered rule evaluation by the premium rating engine.*

## Purpose
- Persists and retrieves rating rule priority data (sequence, rule master reference) for ordered rating rule application.*
- Consumed by the premium rating engine to determine the sequence in which rating rules are evaluated during premium calculation.*

## Context
- Namespace: `SAIF.Business.Policy.Premium.Rating`
- Assembly/package: `SAIF.Business.Policy.Premium`

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| RatingRuleMasterID | `Public ReadOnly Property RatingRuleMasterID() As Decimal` | Identifier used to correlate this row with related premium records.* |
| PriorityNumber | `Public ReadOnly Property PriorityNumber() As Decimal` | Business value exposed as priority number for callers of this API.* |
| PremiumAdjustmentTypeCode | `Public ReadOnly Property PremiumAdjustmentTypeCode() As String` | Stores the Oracle code value that classifies this cls Premium Rating Rule Priority. |
| RatingRuleFunctionCode | `Public ReadOnly Property RatingRuleFunctionCode() As String` | Stores the Oracle code value that classifies this cls Premium Rating Rule Priority. |
| IsIncludedInBilling | `Public ReadOnly Property IsIncludedInBilling() As Boolean` | Indicates whether included in billing applies to this cls Premium Rating Rule Priority.* |
| IsIncludeInStandardPremium | `Public ReadOnly Property IsIncludeInStandardPremium() As Boolean` | Indicates whether include in standard premium applies to this cls Premium Rating Rule Priority. |
| IsBasicPremium | `Public ReadOnly Property IsBasicPremium() As Boolean` | Indicates whether basic premium applies to this cls Premium Rating Rule Priority. |
| GetAdjustmentSQL | `Public ReadOnly Property GetAdjustmentSQL() As String` | Indicates whether get adjustment sql applies to this cls Premium Rating Rule Priority. |
| GetAdjustmentIndividualCombinationSQL | `Public ReadOnly Property GetAdjustmentIndividualCombinationSQL() As String` | Indicates whether get adjustment individual combination sql applies to this cls Premium Rating Rule Priority. |
| GetAdjustmentCombinationSQL | `Public ReadOnly Property GetAdjustmentCombinationSQL() As String` | Indicates whether get adjustment combination sql applies to this cls Premium Rating Rule Priority. |
| GetAdjustmentIndividualNotCombinationSQL | `Public ReadOnly Property GetAdjustmentIndividualNotCombinationSQL() As String` | Indicates whether get adjustment individual not combination sql applies to this cls Premium Rating Rule Priority. |
| GetMaximumAdjustmentSQL | `Public ReadOnly Property GetMaximumAdjustmentSQL() As String` | Indicates whether get maximum adjustment sql applies to this cls Premium Rating Rule Priority. |
| GetMaximumBasisSQL | `Public ReadOnly Property GetMaximumBasisSQL() As String` | Indicates whether get maximum basis sql applies to this cls Premium Rating Rule Priority. |
| GetMinimumAdjustmentSQL | `Public ReadOnly Property GetMinimumAdjustmentSQL() As String` | Indicates whether get minimum adjustment sql applies to this cls Premium Rating Rule Priority. |
| MinimumBasisSQL | `Public ReadOnly Property MinimumBasisSQL() As String` | Indicates whether minimum basis sql applies to this cls Premium Rating Rule Priority. |
| AdjustedRateDocumentPriorityNumber | `Public ReadOnly Property AdjustedRateDocumentPriorityNumber() As Decimal` | Indicates whether adjusted rate document priority number applies to this cls Premium Rating Rule Priority. |
| PremiumCalculationMethodCode | `Public ReadOnly Property PremiumCalculationMethodCode() As String` | Indicates whether premium calculation method code applies to this cls Premium Rating Rule Priority. |
| PayrollReportCalculationCode | `Public ReadOnly Property PayrollReportCalculationCode() As String` | Indicates whether payroll report calculation code applies to this cls Premium Rating Rule Priority. |
| PremiumRatingRuleBasis | `Public ReadOnly Property PremiumRatingRuleBasis() As clsPremiumRatingRuleBasisCollection` | Numeric premium rating rule basis value used by this type's rating, billing, or reporting logic.* |
| IsValid | `Public Overrides ReadOnly Property IsValid() As Boolean` | Returns True when all registered business rules pass; delegates to the framework rule engine. |
| IsDirty | `Public Overrides ReadOnly Property IsDirty() As Boolean` | Returns True when one or more tracked properties have been modified since the last save or MarkOld() call. |
| IsGetAdjustmentSQLNull | `Public Function IsGetAdjustmentSQLNull() As Boolean` | Tests whether `GetAdjustmentSQL` is null/unset in the backing Oracle column; returns True when the value has not been populated.* |
| IsGetAdjustmentIndividualCombinationSQLNull | `Public Function IsGetAdjustmentIndividualCombinationSQLNull() As Boolean` | Tests whether `GetAdjustmentIndividualCombinationSQL` is null/unset in the backing Oracle column; returns True when the value has not been populated.* |
| IsGetAdjustmentCombinationSQLNull | `Public Function IsGetAdjustmentCombinationSQLNull() As Boolean` | Tests whether `GetAdjustmentCombinationSQL` is null/unset in the backing Oracle column; returns True when the value has not been populated.* |
| IsGetAdjustmentIndividualNotCombinationSQLNull | `Public Function IsGetAdjustmentIndividualNotCombinationSQLNull() As Boolean` | Tests whether `GetAdjustmentIndividualNotCombinationSQL` is null/unset in the backing Oracle column; returns True when the value has not been populated.* |
| AreAllGetAdjustmentSQLsNull | `Public Function AreAllGetAdjustmentSQLsNull() As Boolean` | Executes the are all get adjustment sq ls null behavior defined by this type. |
| IsGetMaximumAdjustmentSQLNull | `Public Function IsGetMaximumAdjustmentSQLNull() As Boolean` | Tests whether `GetMaximumAdjustmentSQL` is null/unset in the backing Oracle column; returns True when the value has not been populated.* |
| IsGetMaximumBasisSQLNull | `Public Function IsGetMaximumBasisSQLNull() As Boolean` | Tests whether `GetMaximumBasisSQL` is null/unset in the backing Oracle column; returns True when the value has not been populated.* |
| IsGetMinimumAdjustmentSQLNull | `Public Function IsGetMinimumAdjustmentSQLNull() As Boolean` | Tests whether `GetMinimumAdjustmentSQL` is null/unset in the backing Oracle column; returns True when the value has not been populated.* |
| IsMinimumBasisSQLNull | `Public Function IsMinimumBasisSQLNull() As Boolean` | Tests whether `MinimumBasisSQL` is null/unset in the backing Oracle column; returns True when the value has not been populated.* |
| IsAdjustedRateDocumentPriorityNumberNull | `Public Function IsAdjustedRateDocumentPriorityNumberNull() As Boolean` | Tests whether `AdjustedRateDocumentPriorityNumber` is null/unset in the backing Oracle column; returns True when the value has not been populated.* |
| IsPremiumCalculationMethodCodeNull | `Public Function IsPremiumCalculationMethodCodeNull() As Boolean` | Tests whether `PremiumCalculationMethodCode` is null/unset in the backing Oracle column; returns True when the value has not been populated.* |
| IsPayrollReportCalculationCodeNull | `Public Function IsPayrollReportCalculationCodeNull() As Boolean` | Tests whether `PayrollReportCalculationCode` is null/unset in the backing Oracle column; returns True when the value has not been populated.* |
| Equals | `Public Overloads Shared Function Equals(ByVal objA As Object, ByVal objB As Object) As Boolean` | Static overload: compares two Object references for equality using value-equality semantics.* |
| Equals | `Public Overloads Overrides Function Equals(ByVal inObject As Object) As Boolean` | Compares this instance with another `Object` instance for value equality.* |
| Equals | `Public Overloads Function Equals(ByVal inObject As clsPremiumRatingRulePriority) As Boolean` | Compares this instance with another `clsPremiumRatingRulePriority` instance for value equality.* |
| GetHashCode | `Public Overrides Function GetHashCode() As Integer` | Returns a hash code consistent with the value-equality implementation. |
| ToString | `Public Overrides Function ToString() As String` | Returns a string representation of this instance, typically for diagnostics.* |
| GetPremiumRatingRulePriority | `Public Shared Function GetPremiumRatingRulePriority(ByVal inDataportal As IDataPortalInfo, ByVal inRatingRuleMasterID As Decimal, ByVal inPremiumAdjustmentTypeCode As String) As clsPremiumRatingRulePriority` | Loads a cls premium rating rule priority that matches the supplied lookup criteria. |
## Inherited public members

| Member | Signature | Purpose | Origin |
| --- | --- | --- | --- |
| Rules | `Property Rules As clsRulesManager` | Framework rules manager used to register, evaluate, and surface broken rules on the object.† | `SAIF.Framework.Core — clsBusinessBase` |
| BeginEdit | `Sub BeginEdit()` | Starts an n-level edit session so callers can stage changes.† | `SAIF.Framework.Core — clsBusinessBase` |
| CancelEdit | `Sub CancelEdit()` | Rolls back the active edit session.† | `SAIF.Framework.Core — clsBusinessBase` |
| ApplyEdit | `Sub ApplyEdit()` | Commits the active edit session.† | `SAIF.Framework.Core — clsBusinessBase` |

## Behavioral notes
- Source file: `Business\SAIF.Business.Policy.Premium\Rating\clsPremiumRatingRulePriority.vb`.

## Constraints and usage notes
- Priority sequences must be unique within a rule set; the rule master reference must point to a valid `clsRatingRuleMaster`.*


> **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.Premium\Rating\clsPremiumRatingRulePriority.vb`