@Test void testToEditorEntityTypeParentNull() { assertNull(entityTypeParentMapper.toEditorEntityTypeParent(null)); }
EditorEntityTypeParent toEditorEntityTypeParent(EntityType entityType) { if (entityType == null) { return null; } String id = entityType.getId(); String label = entityType.getLabel(); ImmutableList<EditorAttributeIdentifier> attributes = attributeReferenceMapper.toEditorAttributeIdentifiers(entityType.getOwnAllAttributes()); EditorEntityTypeParent parent = toEditorEntityTypeParent(entityType.getExtends()); return EditorEntityTypeParent.create(id, label, attributes, parent); }
EntityTypeParentMapper { EditorEntityTypeParent toEditorEntityTypeParent(EntityType entityType) { if (entityType == null) { return null; } String id = entityType.getId(); String label = entityType.getLabel(); ImmutableList<EditorAttributeIdentifier> attributes = attributeReferenceMapper.toEditorAttributeIdentifiers(entityType.getOwnAllAttributes()); EditorEntityTypeParent parent = toEditorEntityTypeParent(entityType.getExtends()); return EditorEntityTypeParent.create(id, label, attributes, parent); } }
EntityTypeParentMapper { EditorEntityTypeParent toEditorEntityTypeParent(EntityType entityType) { if (entityType == null) { return null; } String id = entityType.getId(); String label = entityType.getLabel(); ImmutableList<EditorAttributeIdentifier> attributes = attributeReferenceMapper.toEditorAttributeIdentifiers(entityType.getOwnAllAttributes()); EditorEntityTypeParent parent = toEditorEntityTypeParent(entityType.getExtends()); return EditorEntityTypeParent.create(id, label, attributes, parent); } EntityTypeParentMapper(
      AttributeReferenceMapper attributeReferenceMapper,
      EntityTypeMetadata entityTypeMetadata,
      DataService dataService); }
EntityTypeParentMapper { EditorEntityTypeParent toEditorEntityTypeParent(EntityType entityType) { if (entityType == null) { return null; } String id = entityType.getId(); String label = entityType.getLabel(); ImmutableList<EditorAttributeIdentifier> attributes = attributeReferenceMapper.toEditorAttributeIdentifiers(entityType.getOwnAllAttributes()); EditorEntityTypeParent parent = toEditorEntityTypeParent(entityType.getExtends()); return EditorEntityTypeParent.create(id, label, attributes, parent); } EntityTypeParentMapper(
      AttributeReferenceMapper attributeReferenceMapper,
      EntityTypeMetadata entityTypeMetadata,
      DataService dataService);  }
EntityTypeParentMapper { EditorEntityTypeParent toEditorEntityTypeParent(EntityType entityType) { if (entityType == null) { return null; } String id = entityType.getId(); String label = entityType.getLabel(); ImmutableList<EditorAttributeIdentifier> attributes = attributeReferenceMapper.toEditorAttributeIdentifiers(entityType.getOwnAllAttributes()); EditorEntityTypeParent parent = toEditorEntityTypeParent(entityType.getExtends()); return EditorEntityTypeParent.create(id, label, attributes, parent); } EntityTypeParentMapper(
      AttributeReferenceMapper attributeReferenceMapper,
      EntityTypeMetadata entityTypeMetadata,
      DataService dataService);   }