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

Tommaso Teofili commented on CLEREZZA-537:
------------------------------------------

extending GraphNode with generics (i.e.: GraphNode<T extends Resource>) could 
be a solution to make the "accepted" subjects configurable.

Just let's discuss about this deeply to evaluate impacts (advantates, 
disadvantages) as it's a very important API change.

> Change Node in GraphNode to be of type NonLiteral
> -------------------------------------------------
>
>                 Key: CLEREZZA-537
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-537
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Henry Story
>
>       public GraphNode(Resource resource, TripleCollection graph) 
>         public Resource getNode() 
> Can a Graph node have a literal subject? (I am not against it, and I suppose 
> with getInverseProperties and setInverseProperties this even makes sense)
> Just if this is not to be allowed then one should restrict the node to be 
> NonLiteral, as that would make a lot of code need fewer casts

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to