incubator-clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "franco fallica (JIRA)" <>
Subject [jira] [Created] (CLEREZZA-567) Enum Support for LiteralFactory
Date Wed, 15 Jun 2011 15:45:47 GMT
Enum Support for LiteralFactory

                 Key: CLEREZZA-567
             Project: Clerezza
          Issue Type: Improvement
            Reporter: franco fallica
            Priority: Minor

Supposed you have the following enum: 

public static enum SOURCE { WEB , SMS } 

and make: 

GraphNode node = new GraphNode ( resource, graph);
node.addPropertyValue( SMSPAYMENT.source, SOURCE.WEB);

you'll get a org.apache.clerezza.rdf.core.NoConvertorException. 

if you'd use:
node.addPropertyValue( SMSPAYMENT.source, SOURCE.WEB.toString());

it would work. 

IMO LiteralFactory should support ENUMs, but don't know if this is possible. 

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message