incubator-clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tommaso Teofili (JIRA)" <>
Subject [jira] [Commented] (CLEREZZA-537) Change Node in GraphNode to be of type NonLiteral
Date Thu, 19 May 2011 11:24:47 GMT


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:
>             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:

View raw message