aac.plugins.aac_primitives.aac_primitive_constraints_impl¶
The AaC AaC primitive constraints plugin implementation module.
Functions
|
Business logic for the Check bool constraint. |
|
Business logic for the Check dataref constraint. |
|
Business logic for the Check date constraint. |
|
Business logic for the Check directory constraint. |
|
Business logic for the Check file constraint. |
|
Business logic for the Check int constraint. |
|
Business logic for the Check number constraint. |
|
Business logic for the Check string constraint. |
|
Business logic for the Check typeref constraint. |
- aac.plugins.aac_primitives.aac_primitive_constraints_impl.check_bool(value: str, type_declaration: str, source: AaCFile, location: SourceLocation) ExecutionResult [source]¶
Business logic for the Check bool constraint.
- Parameters:
value (str)
type_declaration (str)
source (AaCFile)
location (SourceLocation)
- Return type:
- aac.plugins.aac_primitives.aac_primitive_constraints_impl.check_dataref(value: str, type_declaration: str, source: AaCFile, location: SourceLocation) ExecutionResult [source]¶
Business logic for the Check dataref constraint.
- Parameters:
value (str)
type_declaration (str)
source (AaCFile)
location (SourceLocation)
- Return type:
- aac.plugins.aac_primitives.aac_primitive_constraints_impl.check_date(value: str, type_declaration: str, source: AaCFile, location: SourceLocation) ExecutionResult [source]¶
Business logic for the Check date constraint.
- Parameters:
value (str)
type_declaration (str)
source (AaCFile)
location (SourceLocation)
- Return type:
- aac.plugins.aac_primitives.aac_primitive_constraints_impl.check_directory(value: str, type_declaration: str, source: AaCFile, location: SourceLocation) ExecutionResult [source]¶
Business logic for the Check directory constraint.
- Parameters:
value (str)
type_declaration (str)
source (AaCFile)
location (SourceLocation)
- Return type:
- aac.plugins.aac_primitives.aac_primitive_constraints_impl.check_file(value: str, type_declaration: str, source: AaCFile, location: SourceLocation) ExecutionResult [source]¶
Business logic for the Check file constraint.
- Parameters:
value (str)
type_declaration (str)
source (AaCFile)
location (SourceLocation)
- Return type:
- aac.plugins.aac_primitives.aac_primitive_constraints_impl.check_int(value: str, type_declaration: str, source: AaCFile, location: SourceLocation) ExecutionResult [source]¶
Business logic for the Check int constraint.
- Parameters:
value (str)
type_declaration (str)
source (AaCFile)
location (SourceLocation)
- Return type:
- aac.plugins.aac_primitives.aac_primitive_constraints_impl.check_number(value: str, type_declaration: str, source: AaCFile, location: SourceLocation) ExecutionResult [source]¶
Business logic for the Check number constraint.
- Parameters:
value (str)
type_declaration (str)
source (AaCFile)
location (SourceLocation)
- Return type:
- aac.plugins.aac_primitives.aac_primitive_constraints_impl.check_string(value: str, type_declaration: str, source: AaCFile, location: SourceLocation) ExecutionResult [source]¶
Business logic for the Check string constraint.
- Parameters:
value (str)
type_declaration (str)
source (AaCFile)
location (SourceLocation)
- Return type:
- aac.plugins.aac_primitives.aac_primitive_constraints_impl.check_typeref(value: str, type_declaration: str, source: AaCFile, location: SourceLocation) ExecutionResult [source]¶
Business logic for the Check typeref constraint.
- Parameters:
value (str)
type_declaration (str)
source (AaCFile)
location (SourceLocation)
- Return type: