|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.adtech.jastor.ThingFactory
ibspan.tss.layout.ontology.datamodel.DataModelFactory
public class DataModelFactory
Factory for instantiating objects for ontology classes in the DataModel ontology. The get methods leave the model unchanged and return a Java view of the object in the model. The create methods may add certain baseline properties to the model such as rdf:type and any properties with hasValue restrictions.
(URI: http://www.ibspan.waw.pl/tss/DataModel)
Field Summary |
---|
Fields inherited from class com.ibm.adtech.jastor.ThingFactory |
---|
copyright, listeners, objects |
Constructor Summary | |
---|---|
DataModelFactory()
|
Method Summary | |
---|---|
static FormLink |
createFormLink(Resource resource,
Model model)
Create a new instance of FormLink. |
static FormLink |
createFormLink(String uri,
Model model)
Create a new instance of FormLink. |
static InternalLink |
createInternalLink(Resource resource,
Model model)
Create a new instance of InternalLink. |
static InternalLink |
createInternalLink(String uri,
Model model)
Create a new instance of InternalLink. |
static LayoutElement |
createLayoutElement(Resource resource,
Model model)
Create a new instance of LayoutElement. |
static LayoutElement |
createLayoutElement(String uri,
Model model)
Create a new instance of LayoutElement. |
static LayoutStructure |
createLayoutStructure(Resource resource,
Model model)
Create a new instance of LayoutStructure. |
static LayoutStructure |
createLayoutStructure(String uri,
Model model)
Create a new instance of LayoutStructure. |
static Link |
createLink(Resource resource,
Model model)
Create a new instance of Link. |
static Link |
createLink(String uri,
Model model)
Create a new instance of Link. |
static Menu |
createMenu(Resource resource,
Model model)
Create a new instance of Menu. |
static Menu |
createMenu(String uri,
Model model)
Create a new instance of Menu. |
static MenuLink |
createMenuLink(Resource resource,
Model model)
Create a new instance of MenuLink. |
static MenuLink |
createMenuLink(String uri,
Model model)
Create a new instance of MenuLink. |
static UserContext |
createUserContext(Resource resource,
Model model)
Create a new instance of UserContext. |
static UserContext |
createUserContext(String uri,
Model model)
Create a new instance of UserContext. |
static List |
getAllFormLink(Model model)
Return an instance of FormLink for every resource in the model with rdf:Type http://www.ibspan.waw.pl/tss/DataModel#FormLink |
static List |
getAllInternalLink(Model model)
Return an instance of InternalLink for every resource in the model with rdf:Type http://www.ibspan.waw.pl/tss/DataModel#InternalLink |
static List |
getAllLayoutElement(Model model)
Return an instance of LayoutElement for every resource in the model with rdf:Type http://www.ibspan.waw.pl/tss/DataModel#LayoutElement |
static List |
getAllLayoutStructure(Model model)
Return an instance of LayoutStructure for every resource in the model with rdf:Type http://www.ibspan.waw.pl/tss/DataModel#LayoutStructure |
static List |
getAllLink(Model model)
Return an instance of Link for every resource in the model with rdf:Type http://www.ibspan.waw.pl/tss/DataModel#Link |
static List |
getAllMenu(Model model)
Return an instance of Menu for every resource in the model with rdf:Type http://www.ibspan.waw.pl/tss/DataModel#Menu |
static List |
getAllMenuLink(Model model)
Return an instance of MenuLink for every resource in the model with rdf:Type http://www.ibspan.waw.pl/tss/DataModel#MenuLink |
static List |
getAllUserContext(Model model)
Return an instance of UserContext for every resource in the model with rdf:Type http://www.ibspan.waw.pl/tss/DataModel#UserContext |
static FormLink |
getCheckLogin1(Model model)
Get an CheckLogin1 individual. |
static FormLink |
getCheckRegister1(Model model)
Get an CheckRegister1 individual. |
static FormLink |
getCheckRegister2(Model model)
Get an CheckRegister2 individual. |
static Menu |
getCommonMenu(Model model)
Get an CommonMenu individual. |
static MenuLink |
getDefineSearch(Model model)
Get an DefineSearch individual. |
static Menu |
getDefineSearchMenu(Model model)
Get an DefineSearchMenu individual. |
static LayoutStructure |
getDefineSearchStructure(Model model)
Get an DefineSearchStructure individual. |
static Menu |
getDetailsMenu(Model model)
Get an DetailsMenu individual. |
static LayoutStructure |
getDetailsStructure(Model model)
Get an DetailsStructure individual. |
static FormLink |
getFormLink(Resource resource,
Model model)
Create a new instance of FormLink. |
static FormLink |
getFormLink(String uri,
Model model)
Create a new instance of FormLink. |
static InternalLink |
getInternalLink(Resource resource,
Model model)
Create a new instance of InternalLink. |
static InternalLink |
getInternalLink(String uri,
Model model)
Create a new instance of InternalLink. |
static LayoutElement |
getLayoutElement(Resource resource,
Model model)
Create a new instance of LayoutElement. |
static LayoutElement |
getLayoutElement(String uri,
Model model)
Create a new instance of LayoutElement. |
static LayoutStructure |
getLayoutStructure(Resource resource,
Model model)
Create a new instance of LayoutStructure. |
static LayoutStructure |
getLayoutStructure(String uri,
Model model)
Create a new instance of LayoutStructure. |
static Link |
getLink(Resource resource,
Model model)
Create a new instance of Link. |
static Link |
getLink(String uri,
Model model)
Create a new instance of Link. |
static MenuLink |
getLogin1(Model model)
Get an Login1 individual. |
static LayoutStructure |
getLogin1Structure(Model model)
Get an Login1Structure individual. |
static Menu |
getLoginMenu(Model model)
Get an LoginMenu individual. |
static InternalLink |
getLoginSuccess(Model model)
Get an LoginSuccess individual. |
static Menu |
getLoginSuccessMenu(Model model)
Get an LoginSuccessMenu individual. |
static LayoutStructure |
getLoginSuccessStructure(Model model)
Get an LoginSuccessStructure individual. |
static MenuLink |
getLogout(Model model)
Get an Logout individual. |
static LayoutStructure |
getLogoutStructure(Model model)
Get an LogoutStructure individual. |
static Menu |
getMenu(Resource resource,
Model model)
Create a new instance of Menu. |
static Menu |
getMenu(String uri,
Model model)
Create a new instance of Menu. |
static MenuLink |
getMenuLink(Resource resource,
Model model)
Create a new instance of MenuLink. |
static MenuLink |
getMenuLink(String uri,
Model model)
Create a new instance of MenuLink. |
static MenuLink |
getRegister1(Model model)
Get an Register1 individual. |
static LayoutStructure |
getRegister1Structure(Model model)
Get an Register1Structure individual. |
static InternalLink |
getRegister2(Model model)
Get an Register2 individual. |
static LayoutStructure |
getRegister2Structure(Model model)
Get an Register2Structure individual. |
static InternalLink |
getRegisterSuccess(Model model)
Get an RegisterSuccess individual. |
static LayoutStructure |
getRegisterSuccessStructure(Model model)
Get an RegisterSuccessStructure individual. |
static Menu |
getResultsMenu(Model model)
Get an ResultsMenu individual. |
static LayoutStructure |
getResultsStructure(Model model)
Get an ResultsStructure individual. |
static FormLink |
getSearch(Model model)
Get an Search individual. |
static MenuLink |
getShowBackedUpResults(Model model)
Get an ShowBackedUpResults individual. |
static MenuLink |
getShowDetails(Model model)
Get an ShowDetails individual. |
static InternalLink |
getShowFreshResults(Model model)
Get an ShowFreshResults individual. |
static com.ibm.adtech.jastor.Thing |
getThing(Resource res,
Model model)
Returns an instance of an interface for the given Resource. |
static com.ibm.adtech.jastor.Thing |
getThing(String uri,
Model model)
Returns an instance of an interface for the given Resource URI. |
static UserContext |
getUserContext(Resource resource,
Model model)
Create a new instance of UserContext. |
static UserContext |
getUserContext(String uri,
Model model)
Create a new instance of UserContext. |
static MenuLink |
getWelcome(Model model)
Get an Welcome individual. |
static Menu |
getWelcomeMenu(Model model)
Get an WelcomeMenu individual. |
static LayoutStructure |
getWelcomeStructure(Model model)
Get an WelcomeStructure individual. |
static List |
listCompatibleInterfaces(Resource type)
Return a list of compatible interfaces for the given type. |
Methods inherited from class com.ibm.adtech.jastor.ThingFactory |
---|
clearCache, clearCaches, createThing, createThing, registerThing |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataModelFactory()
Method Detail |
---|
public static InternalLink createInternalLink(Resource resource, Model model) throws com.ibm.adtech.jastor.JastorException
resource
- The resource of the InternalLinkmodel
- the Jena Model.
com.ibm.adtech.jastor.JastorException
public static InternalLink createInternalLink(String uri, Model model) throws com.ibm.adtech.jastor.JastorException
uri
- The uri of the InternalLinkmodel
- the Jena Model.
com.ibm.adtech.jastor.JastorException
public static InternalLink getInternalLink(String uri, Model model) throws com.ibm.adtech.jastor.JastorException
uri
- The uri of the InternalLinkmodel
- the Jena Model.
com.ibm.adtech.jastor.JastorException
public static InternalLink getInternalLink(Resource resource, Model model) throws com.ibm.adtech.jastor.JastorException
resource
- The resource of the InternalLinkmodel
- the Jena Model.
com.ibm.adtech.jastor.JastorException
public static InternalLink getLoginSuccess(Model model) throws com.ibm.adtech.jastor.JastorException
model
- The Jena Model.
com.ibm.adtech.jastor.JastorException
public static InternalLink getRegister2(Model model) throws com.ibm.adtech.jastor.JastorException
model
- The Jena Model.
com.ibm.adtech.jastor.JastorException
public static InternalLink getShowFreshResults(Model model) throws com.ibm.adtech.jastor.JastorException
model
- The Jena Model.
com.ibm.adtech.jastor.JastorException
public static InternalLink getRegisterSuccess(Model model) throws com.ibm.adtech.jastor.JastorException
model
- The Jena Model.
com.ibm.adtech.jastor.JastorException
public static List getAllInternalLink(Model model) throws com.ibm.adtech.jastor.JastorException
model
- the Jena Model
com.ibm.adtech.jastor.JastorException
public static MenuLink createMenuLink(Resource resource, Model model) throws com.ibm.adtech.jastor.JastorException
resource
- The resource of the MenuLinkmodel
- the Jena Model.
com.ibm.adtech.jastor.JastorException
public static MenuLink createMenuLink(String uri, Model model) throws com.ibm.adtech.jastor.JastorException
uri
- The uri of the MenuLinkmodel
- the Jena Model.
com.ibm.adtech.jastor.JastorException
public static MenuLink getMenuLink(String uri, Model model) throws com.ibm.adtech.jastor.JastorException
uri
- The uri of the MenuLinkmodel
- the Jena Model.
com.ibm.adtech.jastor.JastorException
public static MenuLink getMenuLink(Resource resource, Model model) throws com.ibm.adtech.jastor.JastorException
resource
- The resource of the MenuLinkmodel
- the Jena Model.
com.ibm.adtech.jastor.JastorException
public static MenuLink getShowBackedUpResults(Model model) throws com.ibm.adtech.jastor.JastorException
model
- The Jena Model.
com.ibm.adtech.jastor.JastorException
public static MenuLink getLogin1(Model model) throws com.ibm.adtech.jastor.JastorException
model
- The Jena Model.
com.ibm.adtech.jastor.JastorException
public static MenuLink getDefineSearch(Model model) throws com.ibm.adtech.jastor.JastorException
model
- The Jena Model.
com.ibm.adtech.jastor.JastorException
public static MenuLink getWelcome(Model model) throws com.ibm.adtech.jastor.JastorException
model
- The Jena Model.
com.ibm.adtech.jastor.JastorException
public static MenuLink getLogout(Model model) throws com.ibm.adtech.jastor.JastorException
model
- The Jena Model.
com.ibm.adtech.jastor.JastorException
public static MenuLink getShowDetails(Model model) throws com.ibm.adtech.jastor.JastorException
model
- The Jena Model.
com.ibm.adtech.jastor.JastorException
public static MenuLink getRegister1(Model model) throws com.ibm.adtech.jastor.JastorException
model
- The Jena Model.
com.ibm.adtech.jastor.JastorException
public static List getAllMenuLink(Model model) throws com.ibm.adtech.jastor.JastorException
model
- the Jena Model
com.ibm.adtech.jastor.JastorException
public static Menu createMenu(Resource resource, Model model) throws com.ibm.adtech.jastor.JastorException
resource
- The resource of the Menumodel
- the Jena Model.
com.ibm.adtech.jastor.JastorException
public static Menu createMenu(String uri, Model model) throws com.ibm.adtech.jastor.JastorException
uri
- The uri of the Menumodel
- the Jena Model.
com.ibm.adtech.jastor.JastorException
public static Menu getMenu(String uri, Model model) throws com.ibm.adtech.jastor.JastorException
uri
- The uri of the Menumodel
- the Jena Model.
com.ibm.adtech.jastor.JastorException
public static Menu getMenu(Resource resource, Model model) throws com.ibm.adtech.jastor.JastorException
resource
- The resource of the Menumodel
- the Jena Model.
com.ibm.adtech.jastor.JastorException
public static Menu getDefineSearchMenu(Model model) throws com.ibm.adtech.jastor.JastorException
model
- The Jena Model.
com.ibm.adtech.jastor.JastorException
public static Menu getResultsMenu(Model model) throws com.ibm.adtech.jastor.JastorException
model
- The Jena Model.
com.ibm.adtech.jastor.JastorException
public static Menu getWelcomeMenu(Model model) throws com.ibm.adtech.jastor.JastorException
model
- The Jena Model.
com.ibm.adtech.jastor.JastorException
public static Menu getLoginSuccessMenu(Model model) throws com.ibm.adtech.jastor.JastorException
model
- The Jena Model.
com.ibm.adtech.jastor.JastorException
public static Menu getCommonMenu(Model model) throws com.ibm.adtech.jastor.JastorException
model
- The Jena Model.
com.ibm.adtech.jastor.JastorException
public static Menu getLoginMenu(Model model) throws com.ibm.adtech.jastor.JastorException
model
- The Jena Model.
com.ibm.adtech.jastor.JastorException
public static Menu getDetailsMenu(Model model) throws com.ibm.adtech.jastor.JastorException
model
- The Jena Model.
com.ibm.adtech.jastor.JastorException
public static List getAllMenu(Model model) throws com.ibm.adtech.jastor.JastorException
model
- the Jena Model
com.ibm.adtech.jastor.JastorException
public static Link createLink(Resource resource, Model model) throws com.ibm.adtech.jastor.JastorException
resource
- The resource of the Linkmodel
- the Jena Model.
com.ibm.adtech.jastor.JastorException
public static Link createLink(String uri, Model model) throws com.ibm.adtech.jastor.JastorException
uri
- The uri of the Linkmodel
- the Jena Model.
com.ibm.adtech.jastor.JastorException
public static Link getLink(String uri, Model model) throws com.ibm.adtech.jastor.JastorException
uri
- The uri of the Linkmodel
- the Jena Model.
com.ibm.adtech.jastor.JastorException
public static Link getLink(Resource resource, Model model) throws com.ibm.adtech.jastor.JastorException
resource
- The resource of the Linkmodel
- the Jena Model.
com.ibm.adtech.jastor.JastorException
public static List getAllLink(Model model) throws com.ibm.adtech.jastor.JastorException
model
- the Jena Model
com.ibm.adtech.jastor.JastorException
public static FormLink createFormLink(Resource resource, Model model) throws com.ibm.adtech.jastor.JastorException
resource
- The resource of the FormLinkmodel
- the Jena Model.
com.ibm.adtech.jastor.JastorException
public static FormLink createFormLink(String uri, Model model) throws com.ibm.adtech.jastor.JastorException
uri
- The uri of the FormLinkmodel
- the Jena Model.
com.ibm.adtech.jastor.JastorException
public static FormLink getFormLink(String uri, Model model) throws com.ibm.adtech.jastor.JastorException
uri
- The uri of the FormLinkmodel
- the Jena Model.
com.ibm.adtech.jastor.JastorException
public static FormLink getFormLink(Resource resource, Model model) throws com.ibm.adtech.jastor.JastorException
resource
- The resource of the FormLinkmodel
- the Jena Model.
com.ibm.adtech.jastor.JastorException
public static FormLink getCheckRegister1(Model model) throws com.ibm.adtech.jastor.JastorException
model
- The Jena Model.
com.ibm.adtech.jastor.JastorException
public static FormLink getCheckLogin1(Model model) throws com.ibm.adtech.jastor.JastorException
model
- The Jena Model.
com.ibm.adtech.jastor.JastorException
public static FormLink getCheckRegister2(Model model) throws com.ibm.adtech.jastor.JastorException
model
- The Jena Model.
com.ibm.adtech.jastor.JastorException
public static FormLink getSearch(Model model) throws com.ibm.adtech.jastor.JastorException
model
- The Jena Model.
com.ibm.adtech.jastor.JastorException
public static List getAllFormLink(Model model) throws com.ibm.adtech.jastor.JastorException
model
- the Jena Model
com.ibm.adtech.jastor.JastorException
public static LayoutElement createLayoutElement(Resource resource, Model model) throws com.ibm.adtech.jastor.JastorException
resource
- The resource of the LayoutElementmodel
- the Jena Model.
com.ibm.adtech.jastor.JastorException
public static LayoutElement createLayoutElement(String uri, Model model) throws com.ibm.adtech.jastor.JastorException
uri
- The uri of the LayoutElementmodel
- the Jena Model.
com.ibm.adtech.jastor.JastorException
public static LayoutElement getLayoutElement(String uri, Model model) throws com.ibm.adtech.jastor.JastorException
uri
- The uri of the LayoutElementmodel
- the Jena Model.
com.ibm.adtech.jastor.JastorException
public static LayoutElement getLayoutElement(Resource resource, Model model) throws com.ibm.adtech.jastor.JastorException
resource
- The resource of the LayoutElementmodel
- the Jena Model.
com.ibm.adtech.jastor.JastorException
public static List getAllLayoutElement(Model model) throws com.ibm.adtech.jastor.JastorException
model
- the Jena Model
com.ibm.adtech.jastor.JastorException
public static LayoutStructure createLayoutStructure(Resource resource, Model model) throws com.ibm.adtech.jastor.JastorException
resource
- The resource of the LayoutStructuremodel
- the Jena Model.
com.ibm.adtech.jastor.JastorException
public static LayoutStructure createLayoutStructure(String uri, Model model) throws com.ibm.adtech.jastor.JastorException
uri
- The uri of the LayoutStructuremodel
- the Jena Model.
com.ibm.adtech.jastor.JastorException
public static LayoutStructure getLayoutStructure(String uri, Model model) throws com.ibm.adtech.jastor.JastorException
uri
- The uri of the LayoutStructuremodel
- the Jena Model.
com.ibm.adtech.jastor.JastorException
public static LayoutStructure getLayoutStructure(Resource resource, Model model) throws com.ibm.adtech.jastor.JastorException
resource
- The resource of the LayoutStructuremodel
- the Jena Model.
com.ibm.adtech.jastor.JastorException
public static LayoutStructure getRegister2Structure(Model model) throws com.ibm.adtech.jastor.JastorException
model
- The Jena Model.
com.ibm.adtech.jastor.JastorException
public static LayoutStructure getDetailsStructure(Model model) throws com.ibm.adtech.jastor.JastorException
model
- The Jena Model.
com.ibm.adtech.jastor.JastorException
public static LayoutStructure getLogin1Structure(Model model) throws com.ibm.adtech.jastor.JastorException
model
- The Jena Model.
com.ibm.adtech.jastor.JastorException
public static LayoutStructure getDefineSearchStructure(Model model) throws com.ibm.adtech.jastor.JastorException
model
- The Jena Model.
com.ibm.adtech.jastor.JastorException
public static LayoutStructure getLoginSuccessStructure(Model model) throws com.ibm.adtech.jastor.JastorException
model
- The Jena Model.
com.ibm.adtech.jastor.JastorException
public static LayoutStructure getRegisterSuccessStructure(Model model) throws com.ibm.adtech.jastor.JastorException
model
- The Jena Model.
com.ibm.adtech.jastor.JastorException
public static LayoutStructure getWelcomeStructure(Model model) throws com.ibm.adtech.jastor.JastorException
model
- The Jena Model.
com.ibm.adtech.jastor.JastorException
public static LayoutStructure getLogoutStructure(Model model) throws com.ibm.adtech.jastor.JastorException
model
- The Jena Model.
com.ibm.adtech.jastor.JastorException
public static LayoutStructure getRegister1Structure(Model model) throws com.ibm.adtech.jastor.JastorException
model
- The Jena Model.
com.ibm.adtech.jastor.JastorException
public static LayoutStructure getResultsStructure(Model model) throws com.ibm.adtech.jastor.JastorException
model
- The Jena Model.
com.ibm.adtech.jastor.JastorException
public static List getAllLayoutStructure(Model model) throws com.ibm.adtech.jastor.JastorException
model
- the Jena Model
com.ibm.adtech.jastor.JastorException
public static UserContext createUserContext(Resource resource, Model model) throws com.ibm.adtech.jastor.JastorException
resource
- The resource of the UserContextmodel
- the Jena Model.
com.ibm.adtech.jastor.JastorException
public static UserContext createUserContext(String uri, Model model) throws com.ibm.adtech.jastor.JastorException
uri
- The uri of the UserContextmodel
- the Jena Model.
com.ibm.adtech.jastor.JastorException
public static UserContext getUserContext(String uri, Model model) throws com.ibm.adtech.jastor.JastorException
uri
- The uri of the UserContextmodel
- the Jena Model.
com.ibm.adtech.jastor.JastorException
public static UserContext getUserContext(Resource resource, Model model) throws com.ibm.adtech.jastor.JastorException
resource
- The resource of the UserContextmodel
- the Jena Model.
com.ibm.adtech.jastor.JastorException
public static List getAllUserContext(Model model) throws com.ibm.adtech.jastor.JastorException
model
- the Jena Model
com.ibm.adtech.jastor.JastorException
public static com.ibm.adtech.jastor.Thing getThing(Resource res, Model model) throws com.ibm.adtech.jastor.JastorException
com.ibm.adtech.jastor.JastorException
public static com.ibm.adtech.jastor.Thing getThing(String uri, Model model) throws com.ibm.adtech.jastor.JastorException
com.ibm.adtech.jastor.JastorException
public static List listCompatibleInterfaces(Resource type)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |