com.languagecomputer.api
Class QuestionAnswerPairWebServiceImpl
java.lang.Object
com.languagecomputer.api.BaseWebServiceImpl
com.languagecomputer.api.BaseAnnotationWebServiceImpl
com.languagecomputer.api.QuestionAnswerPairWebServiceImpl
- All Implemented Interfaces:
- BaseWebService, QuestionAnswerPairWebService
public class QuestionAnswerPairWebServiceImpl
- extends BaseAnnotationWebServiceImpl
- implements QuestionAnswerPairWebService
Implementation of QuestionAnswerPairWebService
.
- Since:
- 1.0
- Author:
- Kirk Roberts
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QuestionAnswerPairWebServiceImpl
public QuestionAnswerPairWebServiceImpl(SessionManager sessionManager)
- Creates a new
QuestionAnswerPairWebServiceImpl
using the given
sessionManager.
- Parameters:
sessionManager
- The SessionManager
to use for Session
control.
getAnnotationService
protected AnnotationService getAnnotationService(String sessionID)
throws Exception
- Returns the
QuestionAnswerPairService
.
- Specified by:
getAnnotationService
in class BaseAnnotationWebServiceImpl
- Parameters:
sessionID
- The ID of the current Session
.
- Returns:
- The
Session
's QuestionAnswerPairService
instance.
- Throws:
Exception
- If an error occurs retrieving the service.
getAnnotationType
protected AnnotationType getAnnotationType()
- Returns
QuestionAnswerPair.TYPE
.
- Specified by:
getAnnotationType
in class BaseAnnotationWebServiceImpl
- Returns:
QuestionAnswerPair.TYPE
.
Copyright © 2009. All Rights Reserved.