Skip to content

Instantly share code, notes, and snippets.

@kovax
Last active September 30, 2016 06:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kovax/bc7e06fbc53b80cdd848d2a0fd3c3088 to your computer and use it in GitHub Desktop.
Save kovax/bc7e06fbc53b80cdd848d2a0fd3c3088 to your computer and use it in GitHub Desktop.
Document structure of CRISTAL-iSE XMLDB module implemented in eXistDB
@startuml
set namespaceSeparator none
"uuid\n/domain/paths" "1" *--> "*" ViewPoint.schemaName.viewName
"uuid\n/domain/paths" "1" *--> "*" AuditTrail.eventId
"uuid\n/domain/paths" "1" *--> "*" Outcome.schemaName.schemaVersion.eventID
"uuid\n/domain/paths" "1" *--> "*" Property.name
"uuid\n/domain/paths" "1" *--> "*" Collection.name.version
"uuid\n/domain/paths" "1" *--> "1" Lifecycle.workflow
Collection.name.version "1" *--> "*" Member
Class Lifecycle.workflow <<Workflow>>
Class "uuid\n/domain/paths" <<Item>>
Class Property.name {
+String name
+boolean mutable
+String value
}
Class Collection.name.version {
...
}
Class Member {
+uuid
}
Class AuditTrail.eventId <<Event>> {
+itemUUID
+agentUUID
+stepName
+stepPath
+stepType
+schemaName
+schemaVersion
+stateMachineName
+stateMachineVersion
+originState
+targetState
+transition
+agentRole
+timeStamp
}
Class Outcome.schemaName.schemaVersion.eventID {
... - depends on schema
}
note bottom: produced during Workflow execution
Class ViewPoint.schemaName.viewName {
+itemUUID
+schemaName
+name
+schemaVersion
+last <<eventId>>
}
note bottom: named shortcut to an Outcome\nusing .schemaName.schemaVersion.last
note as CollectionXMLNote
Versioned link to Item
end note
Member .. CollectionXMLNote
@enduml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment