ActiveAnno

Web-based responsive document annotation tool

View the Project on GitHub MaxMello/ActiveAnno

activeannoservice / document / Document / <init>

<init>

Document(@BsonId id: DocumentID = newId<Document>().toString(), storeTimestamp: Long, originalDocument: ObjectNode, restrictedProjectID: String? = null, projectAnnotationData: MutableMap<String, ProjectAnnotationData> = mutableMapOf())

The data class representing a document with some originalDocument, a unique id, optionally a restrictedProjectID (marking the document to belong only to that one project), and the projectAnnotationData holding all the annotations for every project related to the document.