<< lib/gui/version-thual/SLGuiIntegration.sleela SLeeLa Standard Library Definition. Definition: Defines SLGuiIntegration — the recommended combined architecture from gui/INTEGRATION.md. The three complementary paths are not mutually exclusive: SLeeLa owns business logic, state transitions, and the meaning of events; Java owns Swing/JavaFX presentation and desktop lifecycle; the native bridge provides a stable low-level boundary to the C/C++ core. >> #sleela 2.5 material; < SLeeLa gui front-end contract — the three-path integration posture. > < Family: gui. Intentionally asymmetric: Java is a native desktop host for > < SLeeLa, not a second business-logic implementation. > class SLGuiIntegration { < ---- Descriptive metadata (version 1.11 nested-friendly accessors) ---- > << Eleven catalogued attributes with getter/setter pairs, so a GUI, loader, or catalog can read and (where appropriate) override this record. Values are faithful to the subject's real origin where publicly known. >> String metaVersion = "1.0.0"; int metaId = 11237; String metaAuthor = "Kiro Agent"; String metaDate = "2026-10-16"; String metaCopyright = "SLeeLa project"; String metaTrademark = "none"; String metaCorporation = "none"; < metaOrigin: National | | International | Galactic > String metaOrigin = "International"; String metaBirthDate = "2026-10-16"; < metaScienceRating: maturity/robustness on a 1..10 scale > int metaScienceRating = 9; < metaNationalSchedule: a real, citable instrument or "none" > String metaNationalSchedule = "none"; String getMetaVersion() { return metaVersion; } void setMetaVersion(String v) { metaVersion = v; } int getMetaId() { return metaId; } void setMetaId(int v) { metaId = v; } String getAuthor() { return metaAuthor; } void setAuthor(String v) { metaAuthor = v; } String getDate() { return metaDate; } void setDate(String v) { metaDate = v; } String getCopyright() { return metaCopyright; } void setCopyright(String v) { metaCopyright = v; } String getTrademark() { return metaTrademark; } void setTrademark(String v) { metaTrademark = v; } String getCorporation() { return metaCorporation; } void setCorporation(String v) { metaCorporation = v; } String getOrigin() { return metaOrigin; } void setOrigin(String v) { metaOrigin = v; } String getBirthDate() { return metaBirthDate; } void setBirthDate(String v) { metaBirthDate = v; } int getScienceRating() { return metaScienceRating; } void setScienceRating(int v) { metaScienceRating = v; } String getNationalSchedule() { return metaNationalSchedule; } void setNationalSchedule(String v) { metaNationalSchedule = v; } < Path 1: Java host -> SLeeLa business logic > int PATH_JAVA_HOST = 1; < Path 2: SLeeLa intent -> Java GUI > int PATH_SLEELA_INTENT = 2; < Path 3: shared native ABI bridge > int PATH_NATIVE_ABI = 3; < enabled flags for the three paths > int path1; int path2; int path3; void configure() { path1 = 0; path2 = 0; path3 = 0; } void enableJavaHost() { path1 = 1; } void enableSleelaIntent() { path2 = 1; } void enableNativeAbi() { path3 = 1; } boolean javaHost() { return path1 == 1; } boolean sleelaIntent() { return path2 == 1; } boolean nativeAbi() { return path3 == 1; } < The preferred long-term architecture uses all three layers. > boolean recommended() { return path1 == 1 && path2 == 1 && path3 == 1; } int enabledPaths() { return path1 + path2 + path3; } < Who owns business logic in this posture (always SLeeLa, by contract). > String businessLogicOwner() { return "sleela"; } < Who owns presentation / desktop lifecycle. > String presentationOwner() { return "java"; } < Who owns the low-level boundary to the execution core. > String nativeBoundaryOwner() { return "native-bridge"; } }