# canticum/oe26 architecture

> Architecture diagram of the GitHub repository canticum/oe26, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-14). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/canticum/oe26
- Repository: https://github.com/canticum/oe26

## Overview

This repository is a set of standalone Java teaching examples, not a single integrated application. Its examples demonstrate student/person modeling, collections and generics, CSV-based student-record analysis, basic exception handling, and RDF triple construction. The CSV examples read the bundled student dataset; the other examples are independently launched from their own main methods. Source excerpts show the student-model relationships and the CSV data flow; the RDF resource file is present in the tree, but its relationship to the Java example is not established by the excerpts.

Main entry points: [`src/main/java/io/ertyu/oe26/lab2/InspectingAdvisors.java`](https://github.com/canticum/oe26/blob/main/src/main/java/io/ertyu/oe26/lab2/InspectingAdvisors.java) (Advisor analysis), [`src/main/java/io/ertyu/oe26/lab2/CsvExample.java`](https://github.com/canticum/oe26/blob/main/src/main/java/io/ertyu/oe26/lab2/CsvExample.java) (CSV transcript parser), [`src/main/java/io/ertyu/oe26/wk5/Student.java`](https://github.com/canticum/oe26/blob/main/src/main/java/io/ertyu/oe26/wk5/Student.java) (Student), [`src/main/java/io/ertyu/oe26/wk5/Main.java`](https://github.com/canticum/oe26/blob/main/src/main/java/io/ertyu/oe26/wk5/Main.java) (Student demo)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_student_model["Student model"]
  node_main_demo["Student demo<br/>[Main.java]"]
  node_student["Student<br/>[Student.java]"]
  node_person["Person<br/>[Person.java]"]
  node_gender["Gender enum<br/>[Gender.java]"]
end

subgraph group_collections["Collections and generics"]
  node_collections_demo["Collections example"]
  node_generic_demo["Generic example"]
  node_triple_demo["RDF triples<br/>[Triple.java]"]
end

subgraph group_csv_analysis["CSV analysis"]
  node_csv_demo["CSV transcript parser<br/>[CsvExample.java]"]
  node_advisor_analysis["Advisor analysis"]
  node_student_data["Student CSV"]
end

subgraph group_basics["Language examples"]
  node_exception_demo["Try-catch example"]
end

node_learner(("Java user"))
node_console["Console"]

node_learner -->|"runs"| node_main_demo
node_main_demo -->|"creates"| node_student
node_main_demo -->|"sets gender"| node_gender
node_student -->|"extends"| node_person
node_person -->|"uses type"| node_gender
node_learner -->|"runs"| node_collections_demo
node_collections_demo -->|"creates"| node_student
node_learner -->|"runs"| node_generic_demo
node_generic_demo -->|"creates"| node_student
node_learner -->|"runs"| node_triple_demo
node_triple_demo -->|"writes Turtle"| node_console
node_learner -->|"runs"| node_csv_demo
node_csv_demo -->|"reads"| node_student_data
node_csv_demo -->|"prints records"| node_console
node_learner -->|"runs"| node_advisor_analysis
node_advisor_analysis -->|"uses header"| node_csv_demo
node_advisor_analysis -->|"reads"| node_student_data
node_advisor_analysis -->|"prints summary"| node_console
node_learner -->|"runs"| node_exception_demo
node_exception_demo -->|"prints errors"| node_console

click node_main_demo "https://github.com/canticum/oe26/blob/main/src/main/java/io/ertyu/oe26/wk5/Main.java"
click node_student "https://github.com/canticum/oe26/blob/main/src/main/java/io/ertyu/oe26/wk5/Student.java"
click node_person "https://github.com/canticum/oe26/blob/main/src/main/java/io/ertyu/oe26/wk5/Person.java"
click node_gender "https://github.com/canticum/oe26/blob/main/src/main/java/io/ertyu/oe26/wk5/Gender.java"
click node_collections_demo "https://github.com/canticum/oe26/blob/main/src/main/java/io/ertyu/oe26/wk6/CollectionsExample.java"
click node_generic_demo "https://github.com/canticum/oe26/blob/main/src/main/java/io/ertyu/oe26/wk6/GenericExample.java"
click node_triple_demo "https://github.com/canticum/oe26/blob/main/src/main/java/io/ertyu/oe26/wk6/Triple.java"
click node_csv_demo "https://github.com/canticum/oe26/blob/main/src/main/java/io/ertyu/oe26/lab2/CsvExample.java"
click node_advisor_analysis "https://github.com/canticum/oe26/blob/main/src/main/java/io/ertyu/oe26/lab2/InspectingAdvisors.java"
click node_student_data "https://github.com/canticum/oe26/blob/main/src/main/resources/lab2_students_1000.csv"
click node_exception_demo "https://github.com/canticum/oe26/blob/main/src/main/java/io/ertyu/oe26/wk5/TryCatchExample.java"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_main_demo,node_student,node_person,node_gender,node_learner toneBlue
class node_collections_demo,node_generic_demo,node_triple_demo toneAmber
class node_csv_demo,node_advisor_analysis,node_student_data toneMint
class node_exception_demo toneRose
class node_console toneIndigo
```

## Components

### Student model

- [Student demo](https://github.com/canticum/oe26/blob/main/src/main/java/io/ertyu/oe26/wk5/Main.java): `src/main/java/io/ertyu/oe26/wk5/Main.java`
- [Student](https://github.com/canticum/oe26/blob/main/src/main/java/io/ertyu/oe26/wk5/Student.java): `src/main/java/io/ertyu/oe26/wk5/Student.java`
- [Person](https://github.com/canticum/oe26/blob/main/src/main/java/io/ertyu/oe26/wk5/Person.java): `src/main/java/io/ertyu/oe26/wk5/Person.java`
- [Gender enum](https://github.com/canticum/oe26/blob/main/src/main/java/io/ertyu/oe26/wk5/Gender.java): `src/main/java/io/ertyu/oe26/wk5/Gender.java`

### Collections and generics

- [Collections example](https://github.com/canticum/oe26/blob/main/src/main/java/io/ertyu/oe26/wk6/CollectionsExample.java): `src/main/java/io/ertyu/oe26/wk6/CollectionsExample.java`
- [Generic example](https://github.com/canticum/oe26/blob/main/src/main/java/io/ertyu/oe26/wk6/GenericExample.java): `src/main/java/io/ertyu/oe26/wk6/GenericExample.java`
- [RDF triples](https://github.com/canticum/oe26/blob/main/src/main/java/io/ertyu/oe26/wk6/Triple.java): `src/main/java/io/ertyu/oe26/wk6/Triple.java`

### CSV analysis

- [CSV transcript parser](https://github.com/canticum/oe26/blob/main/src/main/java/io/ertyu/oe26/lab2/CsvExample.java): `src/main/java/io/ertyu/oe26/lab2/CsvExample.java`
- [Advisor analysis](https://github.com/canticum/oe26/blob/main/src/main/java/io/ertyu/oe26/lab2/InspectingAdvisors.java): `src/main/java/io/ertyu/oe26/lab2/InspectingAdvisors.java`
- [Student CSV](https://github.com/canticum/oe26/blob/main/src/main/resources/lab2_students_1000.csv): `src/main/resources/lab2_students_1000.csv`

### Language examples

- [Try-catch example](https://github.com/canticum/oe26/blob/main/src/main/java/io/ertyu/oe26/wk5/TryCatchExample.java): `src/main/java/io/ertyu/oe26/wk5/TryCatchExample.java`

### Other components

- **Java user**
- **Console**

## Connections

- Java user → Student demo: runs (evidence: `src/main/java/io/ertyu/oe26/wk5/Main.java`)
- Student demo → Student: creates (evidence: `src/main/java/io/ertyu/oe26/wk5/Main.java`)
- Student demo → Gender enum: sets gender (evidence: `src/main/java/io/ertyu/oe26/wk5/Main.java`)
- Student → Person: extends (evidence: `src/main/java/io/ertyu/oe26/wk5/Student.java`)
- Person → Gender enum: uses type (evidence: `src/main/java/io/ertyu/oe26/wk5/Person.java`)
- Java user → Collections example: runs (evidence: `src/main/java/io/ertyu/oe26/wk6/CollectionsExample.java`)
- Collections example → Student: creates (evidence: `src/main/java/io/ertyu/oe26/wk6/CollectionsExample.java`)
- Java user → Generic example: runs (evidence: `src/main/java/io/ertyu/oe26/wk6/GenericExample.java`)
- Generic example → Student: creates (evidence: `src/main/java/io/ertyu/oe26/wk6/GenericExample.java`)
- Java user → RDF triples: runs (evidence: `src/main/java/io/ertyu/oe26/wk6/Triple.java`)
- RDF triples → Console: writes Turtle (evidence: `src/main/java/io/ertyu/oe26/wk6/Triple.java`)
- Java user → CSV transcript parser: runs (evidence: `src/main/java/io/ertyu/oe26/lab2/CsvExample.java`)
- CSV transcript parser → Student CSV: reads (evidence: `src/main/java/io/ertyu/oe26/lab2/CsvExample.java`)
- CSV transcript parser → Console: prints records (evidence: `src/main/java/io/ertyu/oe26/lab2/CsvExample.java`)
- Java user → Advisor analysis: runs (evidence: `src/main/java/io/ertyu/oe26/lab2/InspectingAdvisors.java`)
- Advisor analysis → CSV transcript parser: uses header (evidence: `src/main/java/io/ertyu/oe26/lab2/InspectingAdvisors.java`)
- Advisor analysis → Student CSV: reads (evidence: `src/main/java/io/ertyu/oe26/lab2/InspectingAdvisors.java`)
- Advisor analysis → Console: prints summary (evidence: `src/main/java/io/ertyu/oe26/lab2/InspectingAdvisors.java`)
- Java user → Try-catch example: runs (evidence: `src/main/java/io/ertyu/oe26/wk5/TryCatchExample.java`)
- Try-catch example → Console: prints errors (evidence: `src/main/java/io/ertyu/oe26/wk5/TryCatchExample.java`)
