Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make obsolete status exportable #1

Open
pikatech opened this issue Apr 10, 2018 · 0 comments
Open

Make obsolete status exportable #1

pikatech opened this issue Apr 10, 2018 · 0 comments
Assignees

Comments

@pikatech
Copy link
Contributor

To make the 'obsolete' status of ontology classes exportable, some changes have to be applied.
The following changes have been applied to v1.7.1 and should also find their way into v1.8.0.

  1. de.julielab.neo4j.plugins.constants.semedico.ConceptConstants.java needs a field
    public static final String PROP_OBSOLETE = "obsolete";

  2. de.julielab.neo4j.plugins.datarepresentation.ImportConcept needs a new constructor to deal with the new field

public ImportConcept(String preferredName, List<String> synonyms, List<String> descriptions,
		ConceptCoordinates coordinates, List<ConceptCoordinates> parentCoordinates, Boolean obsolete) {
	this(preferredName, synonyms, descriptions, coordinates);
	this.parentCoordinates = parentCoordinates;
	this.obsolete = obsolete;
}

and a corresponding variable

@SerializedName(ConceptConstants.PROP_OBSOLETE)
public Boolean obsolete;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants