|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.jastor.GraphThingFactory
org.openanzo.atom.jastor.foaf.FOAFFactory
public class FOAFFactory
Factory for instantiating objects for ontology classes in the FOAF ontology. The get methods leave the graph unchanged and return a Java view of the object in the graph. The create methods may add certain baseline properties to the graph such as rdf:type and any properties with hasValue restrictions.
(URI: http://xmlns.com/foaf/0.1/#FOAF)
| Field Summary |
|---|
| Fields inherited from class org.openanzo.jastor.GraphThingFactory |
|---|
valueFactory |
| Constructor Summary | |
|---|---|
FOAFFactory()
|
|
| Method Summary | |
|---|---|
static Agent |
createAgent(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Agent. |
static Agent |
createAgent(java.lang.String uri,
INamedGraph graph)
Create a new instance of Agent. |
static Document |
createDocument(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Document. |
static Document |
createDocument(java.lang.String uri,
INamedGraph graph)
Create a new instance of Document. |
static Group |
createGroup(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Group. |
static Group |
createGroup(java.lang.String uri,
INamedGraph graph)
Create a new instance of Group. |
static Image |
createImage(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Image. |
static Image |
createImage(java.lang.String uri,
INamedGraph graph)
Create a new instance of Image. |
static OnlineAccount |
createOnlineAccount(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of OnlineAccount. |
static OnlineAccount |
createOnlineAccount(java.lang.String uri,
INamedGraph graph)
Create a new instance of OnlineAccount. |
static OnlineChatAccount |
createOnlineChatAccount(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of OnlineChatAccount. |
static OnlineChatAccount |
createOnlineChatAccount(java.lang.String uri,
INamedGraph graph)
Create a new instance of OnlineChatAccount. |
static OnlineEcommerceAccount |
createOnlineEcommerceAccount(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of OnlineEcommerceAccount. |
static OnlineEcommerceAccount |
createOnlineEcommerceAccount(java.lang.String uri,
INamedGraph graph)
Create a new instance of OnlineEcommerceAccount. |
static OnlineGamingAccount |
createOnlineGamingAccount(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of OnlineGamingAccount. |
static OnlineGamingAccount |
createOnlineGamingAccount(java.lang.String uri,
INamedGraph graph)
Create a new instance of OnlineGamingAccount. |
static Organization |
createOrganization(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Organization. |
static Organization |
createOrganization(java.lang.String uri,
INamedGraph graph)
Create a new instance of Organization. |
static Person |
createPerson(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Person. |
static Person |
createPerson(java.lang.String uri,
INamedGraph graph)
Create a new instance of Person. |
static PersonalProfileDocument |
createPersonalProfileDocument(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of PersonalProfileDocument. |
static PersonalProfileDocument |
createPersonalProfileDocument(java.lang.String uri,
INamedGraph graph)
Create a new instance of PersonalProfileDocument. |
static Project |
createProject(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Project. |
static Project |
createProject(java.lang.String uri,
INamedGraph graph)
Create a new instance of Project. |
static Agent |
getAgent(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Agent. |
static Agent |
getAgent(java.lang.String uri,
INamedGraph graph)
Create a new instance of Agent. |
static java.util.List<Agent> |
getAllAgent(INamedGraph graph)
Return an instance of Agent for every resource in the model with rdf:Type http://xmlns.com/foaf/0.1/Agent |
static java.util.List<Document> |
getAllDocument(INamedGraph graph)
Return an instance of Document for every resource in the model with rdf:Type http://xmlns.com/foaf/0.1/Document |
static java.util.List<Group> |
getAllGroup(INamedGraph graph)
Return an instance of Group for every resource in the model with rdf:Type http://xmlns.com/foaf/0.1/Group |
static java.util.List<Image> |
getAllImage(INamedGraph graph)
Return an instance of Image for every resource in the model with rdf:Type http://xmlns.com/foaf/0.1/Image |
static java.util.List<OnlineAccount> |
getAllOnlineAccount(INamedGraph graph)
Return an instance of OnlineAccount for every resource in the model with rdf:Type http://xmlns.com/foaf/0.1/OnlineAccount |
static java.util.List<OnlineChatAccount> |
getAllOnlineChatAccount(INamedGraph graph)
Return an instance of OnlineChatAccount for every resource in the model with rdf:Type http://xmlns.com/foaf/0.1/OnlineChatAccount |
static java.util.List<OnlineEcommerceAccount> |
getAllOnlineEcommerceAccount(INamedGraph graph)
Return an instance of OnlineEcommerceAccount for every resource in the model with rdf:Type http://xmlns.com/foaf/0.1/OnlineEcommerceAccount |
static java.util.List<OnlineGamingAccount> |
getAllOnlineGamingAccount(INamedGraph graph)
Return an instance of OnlineGamingAccount for every resource in the model with rdf:Type http://xmlns.com/foaf/0.1/OnlineGamingAccount |
static java.util.List<Organization> |
getAllOrganization(INamedGraph graph)
Return an instance of Organization for every resource in the model with rdf:Type http://xmlns.com/foaf/0.1/Organization |
static java.util.List<Person> |
getAllPerson(INamedGraph graph)
Return an instance of Person for every resource in the model with rdf:Type http://xmlns.com/foaf/0.1/Person |
static java.util.List<PersonalProfileDocument> |
getAllPersonalProfileDocument(INamedGraph graph)
Return an instance of PersonalProfileDocument for every resource in the model with rdf:Type http://xmlns.com/foaf/0.1/PersonalProfileDocument |
static java.util.List<Project> |
getAllProject(INamedGraph graph)
Return an instance of Project for every resource in the model with rdf:Type http://xmlns.com/foaf/0.1/Project |
static Document |
getDocument(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Document. |
static Document |
getDocument(java.lang.String uri,
INamedGraph graph)
Create a new instance of Document. |
static Group |
getGroup(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Group. |
static Group |
getGroup(java.lang.String uri,
INamedGraph graph)
Create a new instance of Group. |
static Image |
getImage(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Image. |
static Image |
getImage(java.lang.String uri,
INamedGraph graph)
Create a new instance of Image. |
static OnlineAccount |
getOnlineAccount(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of OnlineAccount. |
static OnlineAccount |
getOnlineAccount(java.lang.String uri,
INamedGraph graph)
Create a new instance of OnlineAccount. |
static OnlineChatAccount |
getOnlineChatAccount(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of OnlineChatAccount. |
static OnlineChatAccount |
getOnlineChatAccount(java.lang.String uri,
INamedGraph graph)
Create a new instance of OnlineChatAccount. |
static OnlineEcommerceAccount |
getOnlineEcommerceAccount(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of OnlineEcommerceAccount. |
static OnlineEcommerceAccount |
getOnlineEcommerceAccount(java.lang.String uri,
INamedGraph graph)
Create a new instance of OnlineEcommerceAccount. |
static OnlineGamingAccount |
getOnlineGamingAccount(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of OnlineGamingAccount. |
static OnlineGamingAccount |
getOnlineGamingAccount(java.lang.String uri,
INamedGraph graph)
Create a new instance of OnlineGamingAccount. |
static Organization |
getOrganization(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Organization. |
static Organization |
getOrganization(java.lang.String uri,
INamedGraph graph)
Create a new instance of Organization. |
static Person |
getPerson(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Person. |
static Person |
getPerson(java.lang.String uri,
INamedGraph graph)
Create a new instance of Person. |
static PersonalProfileDocument |
getPersonalProfileDocument(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of PersonalProfileDocument. |
static PersonalProfileDocument |
getPersonalProfileDocument(java.lang.String uri,
INamedGraph graph)
Create a new instance of PersonalProfileDocument. |
static Project |
getProject(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Project. |
static Project |
getProject(java.lang.String uri,
INamedGraph graph)
Create a new instance of Project. |
static java.util.List |
listCompatibleInterfaces(org.openrdf.model.Resource type)
Return a list of compatible interfaces for the given type. |
| Methods inherited from class org.openanzo.jastor.GraphThingFactory |
|---|
clearCache, clearCaches, createGraphThing, createGraphThing, getGraphThing, getGraphThing |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FOAFFactory()
| Method Detail |
|---|
public static Person createPerson(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Persongraph - the Jena graph.
JastorException
public static Person createPerson(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Persongraph - the Jena graph.
JastorException
public static Person getPerson(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Persongraph - the Jena graph.
JastorException
public static Person getPerson(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Persongraph - the Jena graph.
JastorException
public static java.util.List<Person> getAllPerson(INamedGraph graph)
throws JastorException
model - the Jena Model
JastorException
public static PersonalProfileDocument createPersonalProfileDocument(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the PersonalProfileDocumentgraph - the Jena graph.
JastorException
public static PersonalProfileDocument createPersonalProfileDocument(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the PersonalProfileDocumentgraph - the Jena graph.
JastorException
public static PersonalProfileDocument getPersonalProfileDocument(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the PersonalProfileDocumentgraph - the Jena graph.
JastorException
public static PersonalProfileDocument getPersonalProfileDocument(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the PersonalProfileDocumentgraph - the Jena graph.
JastorException
public static java.util.List<PersonalProfileDocument> getAllPersonalProfileDocument(INamedGraph graph)
throws JastorException
model - the Jena Model
JastorException
public static Project createProject(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Projectgraph - the Jena graph.
JastorException
public static Project createProject(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Projectgraph - the Jena graph.
JastorException
public static Project getProject(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Projectgraph - the Jena graph.
JastorException
public static Project getProject(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Projectgraph - the Jena graph.
JastorException
public static java.util.List<Project> getAllProject(INamedGraph graph)
throws JastorException
model - the Jena Model
JastorException
public static OnlineChatAccount createOnlineChatAccount(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the OnlineChatAccountgraph - the Jena graph.
JastorException
public static OnlineChatAccount createOnlineChatAccount(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the OnlineChatAccountgraph - the Jena graph.
JastorException
public static OnlineChatAccount getOnlineChatAccount(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the OnlineChatAccountgraph - the Jena graph.
JastorException
public static OnlineChatAccount getOnlineChatAccount(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the OnlineChatAccountgraph - the Jena graph.
JastorException
public static java.util.List<OnlineChatAccount> getAllOnlineChatAccount(INamedGraph graph)
throws JastorException
model - the Jena Model
JastorException
public static OnlineAccount createOnlineAccount(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the OnlineAccountgraph - the Jena graph.
JastorException
public static OnlineAccount createOnlineAccount(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the OnlineAccountgraph - the Jena graph.
JastorException
public static OnlineAccount getOnlineAccount(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the OnlineAccountgraph - the Jena graph.
JastorException
public static OnlineAccount getOnlineAccount(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the OnlineAccountgraph - the Jena graph.
JastorException
public static java.util.List<OnlineAccount> getAllOnlineAccount(INamedGraph graph)
throws JastorException
model - the Jena Model
JastorException
public static Agent createAgent(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Agentgraph - the Jena graph.
JastorException
public static Agent createAgent(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Agentgraph - the Jena graph.
JastorException
public static Agent getAgent(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Agentgraph - the Jena graph.
JastorException
public static Agent getAgent(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Agentgraph - the Jena graph.
JastorException
public static java.util.List<Agent> getAllAgent(INamedGraph graph)
throws JastorException
model - the Jena Model
JastorException
public static Group createGroup(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Groupgraph - the Jena graph.
JastorException
public static Group createGroup(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Groupgraph - the Jena graph.
JastorException
public static Group getGroup(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Groupgraph - the Jena graph.
JastorException
public static Group getGroup(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Groupgraph - the Jena graph.
JastorException
public static java.util.List<Group> getAllGroup(INamedGraph graph)
throws JastorException
model - the Jena Model
JastorException
public static OnlineGamingAccount createOnlineGamingAccount(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the OnlineGamingAccountgraph - the Jena graph.
JastorException
public static OnlineGamingAccount createOnlineGamingAccount(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the OnlineGamingAccountgraph - the Jena graph.
JastorException
public static OnlineGamingAccount getOnlineGamingAccount(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the OnlineGamingAccountgraph - the Jena graph.
JastorException
public static OnlineGamingAccount getOnlineGamingAccount(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the OnlineGamingAccountgraph - the Jena graph.
JastorException
public static java.util.List<OnlineGamingAccount> getAllOnlineGamingAccount(INamedGraph graph)
throws JastorException
model - the Jena Model
JastorException
public static OnlineEcommerceAccount createOnlineEcommerceAccount(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the OnlineEcommerceAccountgraph - the Jena graph.
JastorException
public static OnlineEcommerceAccount createOnlineEcommerceAccount(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the OnlineEcommerceAccountgraph - the Jena graph.
JastorException
public static OnlineEcommerceAccount getOnlineEcommerceAccount(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the OnlineEcommerceAccountgraph - the Jena graph.
JastorException
public static OnlineEcommerceAccount getOnlineEcommerceAccount(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the OnlineEcommerceAccountgraph - the Jena graph.
JastorException
public static java.util.List<OnlineEcommerceAccount> getAllOnlineEcommerceAccount(INamedGraph graph)
throws JastorException
model - the Jena Model
JastorException
public static Document createDocument(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Documentgraph - the Jena graph.
JastorException
public static Document createDocument(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Documentgraph - the Jena graph.
JastorException
public static Document getDocument(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Documentgraph - the Jena graph.
JastorException
public static Document getDocument(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Documentgraph - the Jena graph.
JastorException
public static java.util.List<Document> getAllDocument(INamedGraph graph)
throws JastorException
model - the Jena Model
JastorException
public static Organization createOrganization(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Organizationgraph - the Jena graph.
JastorException
public static Organization createOrganization(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Organizationgraph - the Jena graph.
JastorException
public static Organization getOrganization(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Organizationgraph - the Jena graph.
JastorException
public static Organization getOrganization(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Organizationgraph - the Jena graph.
JastorException
public static java.util.List<Organization> getAllOrganization(INamedGraph graph)
throws JastorException
model - the Jena Model
JastorException
public static Image createImage(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Imagegraph - the Jena graph.
JastorException
public static Image createImage(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Imagegraph - the Jena graph.
JastorException
public static Image getImage(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Imagegraph - the Jena graph.
JastorException
public static Image getImage(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Imagegraph - the Jena graph.
JastorException
public static java.util.List<Image> getAllImage(INamedGraph graph)
throws JastorException
model - the Jena Model
JastorExceptionpublic static java.util.List listCompatibleInterfaces(org.openrdf.model.Resource type)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||