com.viceversatech.rdfbeans.annotations
Annotation Type RDF


@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() { ...
 

Version:
$Id: RDF.java 21 2011-04-02 09:15:34Z alexeya $
Author:
Alex Alishevskikh, alexeya(at)gmail.com

Required Element Summary
 java.lang.String value
          A qualified name or absolute URI of an RDF property
 

Element Detail

value

public abstract java.lang.String value
A qualified name or absolute URI of an RDF property



Copyright © 2011. All Rights Reserved.