|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value=METHOD) @Retention(value=RUNTIME) public @interface RDF
Applied to: Method declaration
Value: String (required)
@RDF annotation declares a RDFBean data property. The annotations must be applied to getter methods of RDFBean class or interface.
The mandatory String value defines a qualified name or absolute URI of an RDF property (predicate) mapped to this property.
Example:
@RDF("foaf:name")
public String getName() { ...
| Required Element Summary | |
|---|---|
java.lang.String |
value
A qualified name or absolute URI of an RDF property |
| Element Detail |
|---|
public abstract java.lang.String value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||