Naming¶
We have decided to change some classes and properties name so they make more sense when trying to understand what they actually are. The following tables shows the original names, the new names and a short description of each item.
Template¶
Most of the classes have been added the prefix Template
The following naming changes were made to Template:
LTS | Suite | Description |
---|---|---|
Section | TemplateSection | Class. Property of Template. |
Item | TemplateItem | Class. Property of TemplateSection. |
ItemText | TemplateTextItem | Class. Inherits from Item. |
ItemAnswer | TemplateQuestionItem | Class. Inherits from Item. |
AnswerGroup | TemplateResponseSet | Class. Property of QuestionItem. |
PossibleAnswers | TemplatePossibleResponses | A set of Responses. Property of ResponseSet |
Answer | TemplateResponse | Class. |
Inspection¶
Most of the classes have their suffix Instance
replaced with the prefix Inspection
The following naming changes were made to Inspection:
LTS | Suite | Description |
---|---|---|
SectionInstance | InspectionSection | Class. Property of Inspection. |
ItemInstance | InspectionItem | Class. Property of InspectionSection. |
ItemInstanceText | InspectionTextItem | Class. Inherits from InspectionItem. |
ItemInstanceAnswer | InspectionQuestionItem | Class. Inherits from InspectionItem. |
AnswerGroupInstance | InspectionResponseSet | Class. Mirror of ResponseSet. Property of InspectionQuestionItem |
AnswerInstance | InspectionResponse | Class. Mirror of Response. |
Grade¶
Basically all the grade classes from LTS were ItemGradeType
and now are
TypeItemGrade
. Also other classes were renamed:
LTS | Suite | Description |
---|---|---|
ItemGradeAnswer | QuestionItemGrade | Class. Inherits from ItemGrade. |
ItemGradeText | TextItemGrade | Class. Inherits from ItemGrade. |
ItemAnswerAnswer | QuestionItemGradeResponse | Table. Many-to-many relation between QuestionItemGrade and ResponseInstance |
Department¶
The departments in Suite are a combination of iInspector Departments
and AIMS Trades
.
More information about departments naming can be found in Department documentation
Common¶
Other naming changes:
LTS | Suite | Description |
---|---|---|
PredefinedAnswers | Question | Value from the enum ItemType. |