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

[SLI-0118] Make all java generated objects to implement a single interface #118

Open
thewillyhuman opened this issue May 6, 2020 · 1 comment

Comments

@thewillyhuman
Copy link
Member

thewillyhuman commented May 6, 2020

Introduction

In the framework of the ASIO project of the University of Murcia, the company IZERTIS proposes that the objects generated in java, through a parameter, can implement a common interface.

Proposed by: @rgavilan

Motivation

The IZERTIS company is in charge of realizing the domain model in java for the data intances of an ontology. Therefore they use shex-lite to translate shapes expressions from the ontology to java objects. However, a problem that appears to them is that they have the need for the generated objects to implement an empty interface, without methods.

Proposed solution

As a proposal, they indicate that they can configure some parameter in the CLI or in the API to indicate the name of the interface that they want all the generated classes to implement. Regarding the code generation, it would only be necessary to modify that if this parameter were present, implements <<INTERFACE_NAME>> should be added and, of course, carry out the corresponding import.

@thewillyhuman thewillyhuman added type/roadmap A proposal for the roadmap of the project. status/awaiting-review labels May 6, 2020
@weso-bot weso-bot changed the title Make all java generated objects to implement a single interface [SLI-0118] Make all java generated objects to implement a single interface May 6, 2020
@thewillyhuman thewillyhuman added type/proposal and removed type/roadmap A proposal for the roadmap of the project. labels May 6, 2020
@thewillyhuman
Copy link
Member Author

This proposal has been scheduled for review for June 15...June 26, 2020.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant