aac.context.definition¶
Definition class for Architecture-as-Code.
Classes
|
An Architecture-as-Code definition. |
- class aac.context.definition.Definition(name: str, package: str, content: str, source: AaCFile, lexemes: list[Lexeme] = NOTHING, structure: dict = NOTHING, instance: Any = attr_dict['instance'].default)[source]¶
An Architecture-as-Code definition.
- Parameters:
- uid¶
A unique identifier for selecting the specific definition.
- Type:
UUID
- name¶
The name of the definition.
- Type:
str
- package¶
The package of the definition.
- Type:
str
- content¶
The original source textual representation of the definition.
- Type:
str
- structure¶
The dictionary representation of the definition.
- Type:
dict
- instance¶
A Python class instance of the definition.
- Type:
Any
- get_fully_qualified_name() str [source]¶
Return the fully qualified name of the definition.
- Return type:
str
- get_python_class_name() str [source]¶
Return the python class name for the definition.
- Return type:
str
- get_python_module_name() str [source]¶
Return the python module name for the definition.
- Return type:
str