[
https://issues.apache.org/jira/browse/JENA-1688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jan Martin Keil updated JENA-1688:
----------------------------------
Summary: Add methods Node#asBlank, Node#asConcret, Node#asLiteral,
Node#asURI, Node#asVariable (was: Add methods Node#asBlank, Node#asConcret,
Node#asLitera, Node#asURI, Node#asVariable)
> Add methods Node#asBlank, Node#asConcret, Node#asLiteral, Node#asURI,
> Node#asVariable
> -------------------------------------------------------------------------------------
>
> Key: JENA-1688
> URL: https://issues.apache.org/jira/browse/JENA-1688
> Project: Apache Jena
> Issue Type: Improvement
> Reporter: Jan Martin Keil
> Priority: Major
>
> I propose to add the methods Node#asBlank, Node#asConcret, Node#asLitera,
> Node#asURI, Node#asVariable returning the Node as the specific type or throw
> an exception. This makes the developers life easier, as there is no need to
> use unhandy type casting.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)