Commit 4609418
FIX: Complete WebView inheritance pattern for architectural consistency
Fixed missing inheritance in WebView to complete the base type architecture
pattern across all MetaObjects type families.
## Changes Made
### MetaView.java (metadata module)
• Added @MetaDataType annotation for consistency with other base types
• Maintains existing view.base registration and attributes
• Provides clear annotation-based type identification
### WebView.java (web module)
• Added missing inheritance from "view.base" in type registration
• WebView now inherits common view attributes from base type
• Follows same cross-module inheritance pattern used by key types
• Added documentation comments explaining inheritance structure
## Architectural Impact
✅ **Inheritance Consistency**: All view types now properly inherit from view.base
✅ **Cross-Module Pattern**: Demonstrates string-based inheritance working between modules
✅ **Plugin Extensibility**: WebView provides web-specific extension point while inheriting base capabilities
✅ **Architecture Alignment**: Completes the base type pattern across all 5 core type families
## Inheritance Chain Now Complete
```
MetaView (view.base)
├── WebView (view.web) → inherits from view.base ✅
│ └── HtmlView → TextView, DateView, etc. ✅
└── Other view types inheriting directly from view.base ✅
```
This fix ensures view inheritance follows the same clean patterns as field, object,
attr, validator, and key type families for complete architectural consistency.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 782e15a commit 4609418
2 files changed
Lines changed: 8 additions & 0 deletions
File tree
- metadata/src/main/java/com/draagon/meta/view
- web/src/main/java/com/draagon/meta/web/view
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
34 | 39 | | |
| 40 | + | |
35 | 41 | | |
36 | 42 | | |
37 | 43 | | |
| |||
0 commit comments