You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Jan Martin Keil (Jira)" <ji...@apache.org> on 2019/09/03 10:12:00 UTC

[jira] [Updated] (JENA-1751) Enable inline use of Element Subclasses

     [ https://issues.apache.org/jira/browse/JENA-1751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Martin Keil updated JENA-1751:
----------------------------------
    Summary: Enable inline use of Element Subclasses  (was: Enable inline use of ElementTriplesBlock)

> Enable inline use of Element Subclasses
> ---------------------------------------
>
>                 Key: JENA-1751
>                 URL: https://issues.apache.org/jira/browse/JENA-1751
>             Project: Apache Jena
>          Issue Type: Improvement
>            Reporter: Jan Martin Keil
>            Priority: Major
>
> To enable the inline use of {{org.apache.jena.sparql.syntax.ElementTriplesBlock}} during query generation, I propose to:
>  * add constructor {{public ElementTriplesBlock(Triple triple)}}
>  * add constructor {{public ElementTriplesBlock(Node s, Node p, Node o)}}
>  * add {{return this}} to
>  ** {{addTriple(Triple t)}}
>  ** {{addTriple(int index, Triple t)}}
>  ** {{addTriplePath(TriplePath path)}}
>  ** {{addTriplePath(int index, TriplePath path)}}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)