aac.plugins.aac_primitives.aac_primitive_constraints_impl

The AaC AaC primitive constraints plugin implementation module.

Functions

check_bool(value, type_declaration, source, ...)

Business logic for the Check bool constraint.

check_dataref(value, type_declaration, ...)

Business logic for the Check dataref constraint.

check_date(value, type_declaration, source, ...)

Business logic for the Check date constraint.

check_directory(value, type_declaration, ...)

Business logic for the Check directory constraint.

check_file(value, type_declaration, source, ...)

Business logic for the Check file constraint.

check_int(value, type_declaration, source, ...)

Business logic for the Check int constraint.

check_number(value, type_declaration, ...)

Business logic for the Check number constraint.

check_string(value, type_declaration, ...)

Business logic for the Check string constraint.

check_typeref(value, type_declaration, ...)

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:
Return type:

ExecutionResult

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:
Return type:

ExecutionResult

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:
Return type:

ExecutionResult

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:
Return type:

ExecutionResult

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:
Return type:

ExecutionResult

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:
Return type:

ExecutionResult

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:
Return type:

ExecutionResult

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:
Return type:

ExecutionResult

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:
Return type:

ExecutionResult