Package thewebsemantic
Annotation Type Uri
-
@Deprecated @Target(METHOD) @Retention(RUNTIME) public @interface Uri
Deprecated.use combination of java.net.URI and#Idannotation instead@Uri indicates which property (via its getter method) provides the beans URI. Use this annotation when you want to handle beans in a more RDF centric way. This requires you to construct your own uri's in the method annoated with @Uri. Normally beans using this pattern will take a single string as the uri in their constructor.public class ExampleBean { private String uri; public ExampleBean(String uri) { this.uri = uri; } @Uri public uri() { return this.uri; } // other properties follow }