cyberborean / rdfbeans

Java persistence with RDF
Other
11 stars 12 forks source link

Support of `Optional` #42

Open cyberborean opened 4 years ago

cyberborean commented 4 years ago

The framework should support instances of Optional class in getter return and setter argument types.

@RDF("urn:someTitle")
Optional<String> getTitle(); 
void setTitle(Optional<String> title);