-
Notifications
You must be signed in to change notification settings - Fork 155
Closed
Labels
Low severityIssue could cause delays or confusion but a user can work aroundIssue could cause delays or confusion but a user can work aroundenhancementNew feature or requestNew feature or request
Description
Current BiologicalEntity class in LinkML yaml:
BiologicalEntity:
mixins:
- AuditedObject
description: >-
A high-level entity. # TODO: make a better description here
abstract: true
slots:
- curie
- taxon
slot_usage:
taxon:
required: true
Current java class:
package org.alliancegenome.curation.model;
import java.util.List;
import lombok.*;
/**
A high-level entity.
**/
@Data
@EqualsAndHashCode(callSuper=false)
public class BiologicalEntity {
private String curie;
private String taxon;
private Integer tableKey;
private Person producedBy;
private String creationDate;
private Person modifiedBy;
private String dateLastModified;
}
Would it be possible that the generated Java class has an abstract flag, ie:
package org.alliancegenome.curation.model;
import java.util.List;
import lombok.*;
/**
A high-level entity.
**/
@Data
@EqualsAndHashCode(callSuper=false)
public abstract class BiologicalEntity {
private String curie;
private String taxon;
private Integer tableKey;
private Person producedBy;
private String creationDate;
private Person modifiedBy;
private String dateLastModified;
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Low severityIssue could cause delays or confusion but a user can work aroundIssue could cause delays or confusion but a user can work aroundenhancementNew feature or requestNew feature or request