Package-level declarations

Types

Link copied to clipboard
@Serializable
data class AddNewChildNodeOpData(val parentNode: NodeId, val role: String?, val index: Int = -1, val concept: String?, val childId: NodeId) : OperationData
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Serializable
data class AndFilter(val filters: List<Filter>) : LogicalOperatorFilter
Link copied to clipboard
Link copied to clipboard
typealias ChangeSetId = Int
Link copied to clipboard
Link copied to clipboard
@Serializable
data class ContainsOperator(val substring: String) : StringOperator
Link copied to clipboard
@Serializable
data class DeleteNodeOpData(val nodeId: NodeId) : OperationData
Link copied to clipboard
Link copied to clipboard
@Serializable
data class EndsWithOperator(val suffix: String) : StringOperator
Link copied to clipboard
@Serializable
data class EqualsOperator(val value: String) : StringOperator
Link copied to clipboard
@Serializable
data class ExceptionData(val message: String, val stacktrace: List<String>, val cause: ExceptionData? = null)
Link copied to clipboard
@Serializable
sealed class Filter
Link copied to clipboard
@Serializable
data class FilterByConceptId(val conceptUID: String?) : Filter
Link copied to clipboard
@Serializable
data class FilterByConceptLongName(val operator: StringOperator) : Filter
Link copied to clipboard
@Serializable
class FilterByProperty(val role: String, val operator: StringOperator) : Filter
Link copied to clipboard
Link copied to clipboard
@Serializable
object IsNotNullOperator : StringOperator
Link copied to clipboard
@Serializable
object IsNullOperator : StringOperator
Link copied to clipboard
Link copied to clipboard
@Serializable
data class MatchesRegexOperator(val pattern: String) : StringOperator
Link copied to clipboard
@Serializable
data class MessageFromClient(val changeSetId: ChangeSetId? = null, val operations: List<OperationData>? = null, val query: ModelQuery? = null, val baseVersionHash: String? = null, val baseChangeSet: ChangeSetId? = null)
Link copied to clipboard
@Serializable
data class MessageFromServer(val version: VersionData? = null, val replacedIds: Map<String, String>? = null, val appliedChangeSet: ChangeSetId? = null, val exception: ExceptionData? = null)
Link copied to clipboard
@Serializable
data class ModelQuery(val queries: List<RootQuery>) : QueryOwner
Link copied to clipboard
Link copied to clipboard
@Serializable
data class MoveNodeOpData(val newParentNode: NodeId, val newRole: String?, val newIndex: Int = -1, val childId: NodeId) : OperationData
Link copied to clipboard
@Serializable
data class NodeData(val nodeId: NodeId, val concept: String? = null, val parent: NodeId? = null, val role: String? = null, val properties: Map<String, String> = emptyMap(), val references: Map<String, String> = emptyMap(), val children: Map<String?, List<NodeId>> = emptyMap())
Link copied to clipboard
typealias NodeId = String
Link copied to clipboard
@Serializable
data class NodeUpdateData(val nodeId: NodeId? = null, val temporaryNodeId: NodeId? = null, val concept: String? = null, val references: Map<String, String?>? = null, val properties: Map<String, String?>? = null, val children: Map<String?, List<NodeId>>? = null)
Link copied to clipboard
@Serializable
data class NotFilter(val filter: Filter) : Filter
Link copied to clipboard
@Serializable
sealed class OperationData
Link copied to clipboard
@Serializable
data class OrFilter(val filters: List<Filter>) : LogicalOperatorFilter
Link copied to clipboard
Link copied to clipboard
@Serializable
data class QueryAllChildren(val queries: List<Subquery> = emptyList(), val filters: List<Filter> = emptyList()) : Subquery
Link copied to clipboard
@Serializable
data class QueryAncestors(val queries: List<Subquery> = emptyList(), val filters: List<Filter> = emptyList()) : Subquery
Link copied to clipboard
@Serializable
data class QueryById(val nodeId: NodeId, val queries: List<Subquery> = emptyList()) : RootQuery
Link copied to clipboard
@Serializable
data class QueryChildren(val role: String?, val queries: List<Subquery> = emptyList(), val filters: List<Filter> = emptyList()) : Subquery
Link copied to clipboard
@Serializable
data class QueryDescendants(val queries: List<Subquery> = emptyList(), val filters: List<Filter> = emptyList()) : Subquery
Link copied to clipboard
@Serializable
sealed class QueryOwner
Link copied to clipboard
Link copied to clipboard
@Serializable
data class QueryParent(val queries: List<Subquery> = emptyList(), val filters: List<Filter> = emptyList()) : Subquery
Link copied to clipboard
@Serializable
data class QueryReference(val role: String, val queries: List<Subquery> = emptyList(), val filters: List<Filter> = emptyList()) : Subquery
Link copied to clipboard
@Serializable
data class QueryReferences(val queries: List<Subquery> = emptyList(), val filters: List<Filter> = emptyList()) : Subquery
Link copied to clipboard
@Serializable
data class QueryReferencesAndChildren(val recursive: Boolean = false, val queries: List<Subquery> = emptyList(), val filters: List<Filter> = emptyList()) : Subquery
Link copied to clipboard
@Serializable
data class QueryRootNode(val queries: List<Subquery> = emptyList()) : RootQuery
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
sealed class RootOrSubquery : QueryOwner
Link copied to clipboard
@Serializable
sealed class RootQuery : RootOrSubquery
Link copied to clipboard
Link copied to clipboard
@Serializable
data class SetPropertyOpData(val node: NodeId, val role: String, val value: String?) : OperationData
Link copied to clipboard
@Serializable
data class SetReferenceOpData(val node: NodeId, val role: String, val target: NodeId?) : OperationData
Link copied to clipboard
@Serializable
data class StartsWithOperator(val prefix: String) : StringOperator
Link copied to clipboard
@Serializable
sealed class StringOperator
Link copied to clipboard
@Serializable
sealed class Subquery : RootOrSubquery
Link copied to clipboard
Link copied to clipboard
@Serializable
data class VersionData(val repositoryId: String? = null, val versionHash: String? = null, val rootNodeId: String? = null, val usesRoleIds: Boolean = false, val nodes: List<NodeData>)

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun NodeData.replaceContainment(newParent: NodeId?, newRole: String?): NodeData
Link copied to clipboard
Link copied to clipboard