← Files GoodMemARCHIVED FILE
skills/goodmem-sdk/references/java/models/SubjectPrincipalId.md
804 Bytes · Oct 4, 2026 · 12:23 UTC
<!-- sdk-ref package=ai.pairsys:goodmem-java registry=maven version=0.2.2 --> # SubjectPrincipalId Typed handle for a subject principal id (UUID). Wire format is the bare id string (typically a UUID), so SubjectPrincipalId is drop-in compatible with the `String`-typed id fields on the server. Prefer this over a bare `String` so the compiler catches cross-resource mixups (passing a `MemoryId` where a `SpaceId` is expected). The backing field is `String` (not `UUID`) so test fixtures and dev environments using non-UUID identifiers still work. Production ids are UUIDs by server contract; call `asUuid()` when you need the parsed form. - `value` (`String`): [Java](../../java.md) Related types — open only those used by your request: - [MemoryId](MemoryId.md) - [SpaceId](SpaceId.md)
SHA-256: 1b287ef069c340115214c6b36cc9ce3bd497a1bea6014e7ada0a103a633a4d57