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

Support disabling automatic generation of label and description in OWL2Java #170

Closed
blcham opened this issue Jun 5, 2023 · 0 comments · Fixed by #172
Closed

Support disabling automatic generation of label and description in OWL2Java #170

blcham opened this issue Jun 5, 2023 · 0 comments · Fixed by #172

Comments

@blcham
Copy link

blcham commented Jun 5, 2023

Currently, jopa-maven-plugin generates by default java fields name, and description :

@OWLClass(iri = Vocabulary.s_c_Thing)
public class Thing
    implements Serializable
{

    @Id(generated = true)
    protected String id;
    @OWLAnnotationProperty(iri = RDFS.LABEL)
    protected String name;
    @OWLAnnotationProperty(iri = cz.cvut.kbss.jopa.vocabulary.DC.Elements.DESCRIPTION)
    protected String description;

It would be nice if this behavior could be opt-out in pom.xml configuration.

@blcham blcham changed the title Option in jopa-maven-plugin to exclude generation of label and description Add option in jopa-maven-plugin to exclude generation of label and description Jun 5, 2023
@blcham blcham changed the title Add option in jopa-maven-plugin to exclude generation of label and description Support option in jopa-maven-plugin to exclude generation of label and description Jun 5, 2023
@ledsoft ledsoft changed the title Support option in jopa-maven-plugin to exclude generation of label and description Support excluding automatic generation of label and description in OWL2Java Jun 6, 2023
@ledsoft ledsoft changed the title Support excluding automatic generation of label and description in OWL2Java Support disabling automatic generation of label and description in OWL2Java Jun 6, 2023
ledsoft added a commit that referenced this issue Jun 6, 2023
ledsoft added a commit that referenced this issue Jun 6, 2023
ledsoft added a commit that referenced this issue Jun 6, 2023
ledsoft added a commit that referenced this issue Jun 6, 2023
@ledsoft ledsoft linked a pull request Jun 6, 2023 that will close this issue
@ledsoft ledsoft closed this as completed Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants