Class AbstractController
- java.lang.Object
-
- net.ontopia.topicmaps.rest.controller.AbstractController
-
- Direct Known Subclasses:
AssociationController,OccurrenceController,QueryController,ReifiableController,RoleController,ScopedController,TMObjectController,TopicController,TopicMapController,TopicNameController,TypedController,VariantNameController
public abstract class AbstractController extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected OntopiaRestApplicationontopia
-
Constructor Summary
Constructors Constructor Description AbstractController()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected <C extends AbstractController>
CgetController(Class<C> controllerClass)OntopiaRestApplicationgetOntopia()protected abstract voidinit()protected voidrequireNotNull(Object field, String name)voidsetOntopia(OntopiaRestApplication ontopia)
-
-
-
Field Detail
-
ontopia
protected OntopiaRestApplication ontopia
-
-
Method Detail
-
setOntopia
public void setOntopia(OntopiaRestApplication ontopia)
-
getOntopia
public OntopiaRestApplication getOntopia()
-
getController
protected <C extends AbstractController> C getController(Class<C> controllerClass)
-
init
protected abstract void init()
-
-