You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2016/10/06 13:56:20 UTC

[jira] [Resolved] (JENA-1238) Add methods on Resource class that look for Properties in a specific language

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

Andy Seaborne resolved JENA-1238.
---------------------------------
       Resolution: Fixed
         Assignee: Andy Seaborne
    Fix Version/s: Jena 3.1.1

PR from [~ramiromagalhaes] applied.

Thanks!


> Add methods on Resource class that look for Properties in a specific language
> -----------------------------------------------------------------------------
>
>                 Key: JENA-1238
>                 URL: https://issues.apache.org/jira/browse/JENA-1238
>             Project: Apache Jena
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: Jena 3.1.0
>            Reporter: Ramiro Pereira de Magalhães
>            Assignee: Andy Seaborne
>             Fix For: Jena 3.1.1
>
>
> It would be very convenient to have in the {{org.apache.jena.rdf.model.Resource}} interface methods such as:
> {code}
>     public Statement getProperty( Property p, String lang );
>     public Statement getRequiredProperty( Property p, String lang );
> {code}
> They'd work like very much like {{org.apache.jena.rdf.model.ModelCon.listStatements(Resource, Property, String, String)}}.
> This would simplify queries to a Resource's language-specific properties.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)