package com.example; import org.cyberborean.rdfbeans.annotations.RDF; import org.cyberborean.rdfbeans.annotations.RDFSubject; import org.cyberborean.rdfbeans.annotations.RDFBean; import java.net.URI; import java.util.Date; @RDFBean("http://xmlns.com/foaf/0.1/Person") public class Person { @RDFSubject(prefix="http://example.com/persons#") String id; @RDF("http://xmlns.com/foaf/0.1/name") String name; @RDF("http://xmlns.com/foaf/0.1/mbox") String email; @RDF("http://xmlns.com/foaf/0.1/homepage") URI homepage; @RDF("http://xmlns.com/foaf/0.1/birthday") Date birthday; /** * @return the name */ public String getName() { return name; } /** * @param name the name to set */ public void setName(String name) { this.name = name; } /** * @return the email */ public String getEmail() { return email; } /** * @param email the email to set */ public void setEmail(String email) { this.email = email; } /** * @return the homepage */ public URI getHomepage() { return homepage; } /** * @param homepage the homepage to set */ public void setHomepage(URI homepage) { this.homepage = homepage; } /** * @return the birthday */ public Date getBirthday() { return birthday; } /** * @param birthday the birthday to set */ public void setBirthday(Date birthday) { this.birthday = birthday; } /** * @return the id */ public String getId() { return id; } /** * @param id the id to set */ public void setId(String id) { this.id = id; } }