test_class.file: server/src/test/java/io/spine/server/entity/storage/EntityRecordWithColumnsTest.java
test_class.identifier: EntityRecordWithColumnsTest
test_case.body: @Test
      @DisplayName("support equality")
      void supportEquality() {
          ColumnName columnName = ColumnName.of(archived.name());
          Object value = false;
          EntityRecordWithColumns emptyFieldsEnvelope = EntityRecordWithColumns.of(
                  EntityRecord.getDefaultInstance(),
                  Collections.emptyMap()
          );
          EntityRecordWithColumns notEmptyFieldsEnvelope =
                  EntityRecordWithColumns.of(
                          EntityRecord.getDefaultInstance(),
                          singletonMap(columnName, value)
                  );
          new EqualsTester()
                  .addEqualityGroup(emptyFieldsEnvelope, notEmptyFieldsEnvelope)
                  .addEqualityGroup(newRecord())
                  .addEqualityGroup(newRecord()) // Each one has different EntityRecord
                  .testEquals();
      }
test_case.class_method_signature: EntityRecordWithColumnsTest.supportEquality()
test_case.full_signature: @Test @DisplayName("support equality") void supportEquality()
test_case.identifier: supportEquality
test_case.invocations: of name of getDefaultInstance emptyMap of getDefaultInstance singletonMap testEquals addEqualityGroup addEqualityGroup addEqualityGroup newRecord newRecord
test_case.modifiers: @Test @DisplayName("support equality")
test_case.parameters: ()
test_case.return: void
test_case.signature: void supportEquality()
focal_class.declarator: record
focal_class.modifier: private final
focal_class.original_string: private final EntityRecord record;
focal_class.type: EntityRecord
focal_class.var_name: record
focal_class.declarator: storageFields
focal_class.modifier: private final
focal_class.original_string: private final Map<ColumnName, @Nullable Object> storageFields;
focal_class.type: Map<ColumnName, @Nullable Object>
focal_class.var_name: storageFields
focal_class.declarator: hasStorageFields
focal_class.modifier: private final
focal_class.original_string: private final boolean hasStorageFields;
focal_class.type: boolean
focal_class.var_name: hasStorageFields
focal_class.file: server/src/main/java/io/spine/server/entity/storage/EntityRecordWithColumns.java
focal_class.identifier: EntityRecordWithColumns
focal_class.interfaces: implements WithLifecycle
focal_class.class_method_signature: EntityRecordWithColumns.EntityRecordWithColumns(EntityRecord record, Map<ColumnName, Object> storageFields)
focal_class.full_signature: private  EntityRecordWithColumns(EntityRecord record, Map<ColumnName, Object> storageFields)
focal_class.identifier: EntityRecordWithColumns
focal_class.modifiers: private
focal_class.parameters: (EntityRecord record, Map<ColumnName, Object> storageFields)
focal_class.signature:  EntityRecordWithColumns(EntityRecord record, Map<ColumnName, Object> storageFields)
focal_class.class_method_signature: EntityRecordWithColumns.create(EntityRecord record,
                                                   Entity<?, ?> entity,
                                                   RecordStorage<?> recordStorage)
focal_class.full_signature: public static EntityRecordWithColumns create(EntityRecord record,
                                                   Entity<?, ?> entity,
                                                   RecordStorage<?> recordStorage)
focal_class.identifier: create
focal_class.modifiers: public static
focal_class.parameters: (EntityRecord record,
                                                   Entity<?, ?> entity,
                                                   RecordStorage<?> recordStorage)
focal_class.return: EntityRecordWithColumns
focal_class.signature: EntityRecordWithColumns create(EntityRecord record,
                                                   Entity<?, ?> entity,
                                                   RecordStorage<?> recordStorage)
focal_class.class_method_signature: EntityRecordWithColumns.of(EntityRecord record)
focal_class.full_signature: public static EntityRecordWithColumns of(EntityRecord record)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (EntityRecord record)
focal_class.return: EntityRecordWithColumns
focal_class.signature: EntityRecordWithColumns of(EntityRecord record)
focal_class.class_method_signature: EntityRecordWithColumns.of(EntityRecord record, Map<ColumnName, Object> storageFields)
focal_class.full_signature: @VisibleForTesting public static EntityRecordWithColumns of(EntityRecord record, Map<ColumnName, Object> storageFields)
focal_class.identifier: of
focal_class.modifiers: @VisibleForTesting public static
focal_class.parameters: (EntityRecord record, Map<ColumnName, Object> storageFields)
focal_class.return: EntityRecordWithColumns
focal_class.signature: EntityRecordWithColumns of(EntityRecord record, Map<ColumnName, Object> storageFields)
focal_class.class_method_signature: EntityRecordWithColumns.record()
focal_class.full_signature: public EntityRecord record()
focal_class.identifier: record
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: EntityRecord
focal_class.signature: EntityRecord record()
focal_class.class_method_signature: EntityRecordWithColumns.columnNames()
focal_class.full_signature: public ImmutableSet<ColumnName> columnNames()
focal_class.identifier: columnNames
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: ImmutableSet<ColumnName>
focal_class.signature: ImmutableSet<ColumnName> columnNames()
focal_class.class_method_signature: EntityRecordWithColumns.columnValue(ColumnName columnName)
focal_class.full_signature: public @Nullable Object columnValue(ColumnName columnName)
focal_class.identifier: columnValue
focal_class.modifiers: public @Nullable
focal_class.parameters: (ColumnName columnName)
focal_class.return: Object
focal_class.signature: Object columnValue(ColumnName columnName)
focal_class.class_method_signature: EntityRecordWithColumns.columnValue(ColumnName columnName, ColumnMapping<R> columnMapping)
focal_class.full_signature: public R columnValue(ColumnName columnName, ColumnMapping<R> columnMapping)
focal_class.identifier: columnValue
focal_class.modifiers: public
focal_class.parameters: (ColumnName columnName, ColumnMapping<R> columnMapping)
focal_class.return: R
focal_class.signature: R columnValue(ColumnName columnName, ColumnMapping<R> columnMapping)
focal_class.class_method_signature: EntityRecordWithColumns.hasColumns()
focal_class.full_signature: public boolean hasColumns()
focal_class.identifier: hasColumns
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean hasColumns()
focal_class.class_method_signature: EntityRecordWithColumns.hasColumn(ColumnName name)
focal_class.full_signature: @SuppressWarnings("BooleanMethodIsAlwaysInverted") public boolean hasColumn(ColumnName name)
focal_class.identifier: hasColumn
focal_class.modifiers: @SuppressWarnings("BooleanMethodIsAlwaysInverted") public
focal_class.parameters: (ColumnName name)
focal_class.return: boolean
focal_class.signature: boolean hasColumn(ColumnName name)
focal_class.class_method_signature: EntityRecordWithColumns.getLifecycleFlags()
focal_class.full_signature: @Override public LifecycleFlags getLifecycleFlags()
focal_class.identifier: getLifecycleFlags
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: LifecycleFlags
focal_class.signature: LifecycleFlags getLifecycleFlags()
focal_class.class_method_signature: EntityRecordWithColumns.isArchived()
focal_class.full_signature: @Override public boolean isArchived()
focal_class.identifier: isArchived
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isArchived()
focal_class.class_method_signature: EntityRecordWithColumns.isDeleted()
focal_class.full_signature: @Override public boolean isDeleted()
focal_class.identifier: isDeleted
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isDeleted()
focal_class.class_method_signature: EntityRecordWithColumns.isActive()
focal_class.full_signature: @Override public boolean isActive()
focal_class.identifier: isActive
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isActive()
focal_class.class_method_signature: EntityRecordWithColumns.equals(Object o)
focal_class.full_signature: @Override public boolean equals(Object o)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (Object o)
focal_class.return: boolean
focal_class.signature: boolean equals(Object o)
focal_class.class_method_signature: EntityRecordWithColumns.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_method.body: public static EntityRecordWithColumns of(EntityRecord record) {
          return new EntityRecordWithColumns(record, Collections.emptyMap());
      }
focal_method.class_method_signature: EntityRecordWithColumns.of(EntityRecord record)
focal_method.full_signature: public static EntityRecordWithColumns of(EntityRecord record)
focal_method.identifier: of
focal_method.invocations: emptyMap
focal_method.modifiers: public static
focal_method.parameters: (EntityRecord record)
focal_method.return: EntityRecordWithColumns
focal_method.signature: EntityRecordWithColumns of(EntityRecord record)