toDefinition abstract method

  1. @protected
Map<String, Object> toDefinition()

Returns a JSON that changes when SchemeElement properties change.

A class derived from SchemeElement provides a description of a certain aspect of a Scheme. As an application evolves, the Scheme it uses may need to change to meet application requirements. The return value of this method reflects changes to the description provided by a derived class. It is used by this library to automatically trigger scheme migrations.

Implementation

@protected
Map<String, Object> toDefinition();