[ 
https://issues.apache.org/jira/browse/JENA-1082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15052790#comment-15052790
 ] 

Ramiro Pereira de Magalhães commented on JENA-1082:
---------------------------------------------------

It doesn't, but I managed to do a similar query with 
{{listResourcesWithProperty}} combined with 
{{ResourceFactory.createTypedLiteral}}.

As you have already noted, this is just a request for improvement since, 
clearly, the {{listLiteralStatements}} methods are a convenience for the API 
users, but it lacks a type that is used a lot and is consistently present in 
other methods.

> Add to org.apache.jena.rdf.model.ModelCon interface a listLiteralStatements 
> method that accepts ints.
> -----------------------------------------------------------------------------------------------------
>
>                 Key: JENA-1082
>                 URL: https://issues.apache.org/jira/browse/JENA-1082
>             Project: Apache Jena
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: Jena 3.0.0
>            Reporter: Ramiro Pereira de Magalhães
>            Priority: Minor
>
> Add to org.apache.jena.rdf.model.ModelCon interface a {{StmtIterator 
> listLiteralStatements(Resource subject, Property predicate, int object );}} 
> method.
> Implement such method in classes that implement such interface. This method 
> should be able to list literal integer statements, like the other 
> listLiteralStatement methods do to other types.



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

Reply via email to