MetamodelDiffDto

data class MetamodelDiffDto(val fromVersionHash: String, val toVersionHash: String, val empty: Boolean, val addedEntityTypes: List<String>, val removedEntityTypes: List<String>, val modifiedEntityTypes: List<String>, val renamedEntityTypes: List<TypeRenameDto>, val changedProperties: List<PropertyChangeDto>, val addedRelationships: List<String>, val removedRelationships: List<String>)

A comparison of two declared schema versions, flattened to names an operator can read.

The two version hashes are here so a report can be tied back to the exact stamps it was judged between; everything else is the change itself, grouped by what it does to stored data.

Constructors

Link copied to clipboard
constructor(fromVersionHash: String, toVersionHash: String, empty: Boolean, addedEntityTypes: List<String>, removedEntityTypes: List<String>, modifiedEntityTypes: List<String>, renamedEntityTypes: List<TypeRenameDto>, changedProperties: List<PropertyChangeDto>, addedRelationships: List<String>, removedRelationships: List<String>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Entity types the newer version declares and the older one did not.

Link copied to clipboard

Rendered From-[name]->To descriptors the newer version adds.

Link copied to clipboard

Properties whose shape moved, whether or not they were renamed too.

Link copied to clipboard

true when the two versions describe the same shape.

Link copied to clipboard

The older stamp's content hash.

Link copied to clipboard

Names of types that kept their name and gained or lost labels or properties.

Link copied to clipboard

Entity types the older version declared and the newer one drops.

Link copied to clipboard

Descriptors the newer version drops.

Link copied to clipboard

Types that changed name, with both spellings.

Link copied to clipboard

The newer stamp's content hash.