public FunctionIteratorFacade(Collection functions) throws DataFacadeException { try{ this.functionIter = functions.iterator(); } catch(Exception e){ throw new DataFacadeException(e.getMessage()); } }
public QualifierIfc nextQualifier() throws DataFacadeException { try { return (QualifierIfc)qualifierIter.next(); } catch (Exception e) { throw new DataFacadeException(e.getMessage()); } }
public boolean hasNextFunction() throws DataFacadeException { try{ return functionIter.hasNext(); } catch(Exception e){ throw new DataFacadeException(e.getMessage()); } }
public AuthorizationIfc nextAuthorization() throws DataFacadeException { try { return (AuthorizationIfc)authorizationIter.next(); } catch (Exception e) { throw new DataFacadeException(e.getMessage()); } }
public FunctionIfc nextFunction() throws DataFacadeException { try{ return (FunctionIfc) functionIter.next(); } catch(Exception e){ throw new DataFacadeException(e.getMessage()); } } }
public boolean hasNextQualifier() throws DataFacadeException { try{ return qualifierIter.hasNext(); } catch(Exception e){ throw new DataFacadeException(e.getMessage()); } }
public boolean hasNextAuthorization() throws DataFacadeException { try{ return authorizationIter.hasNext(); } catch(Exception e){ throw new DataFacadeException(e.getMessage()); } }
public void setAssessmentTemplateId(Long newId) { try { this.data = (AssessmentTemplateIfc) assessment.getData(); } catch (AssessmentException ex) { throw new DataFacadeException(ex.getMessage()); } this.data.setAssessmentTemplateId(newId); }
public String getEmiAnswerOptionLabels() { try { this.data = (ItemDataIfc) item.getData(); } catch (AssessmentException ex) { throw new DataFacadeException(ex.getMessage()); } return data.getEmiAnswerOptionLabels(); }
public Integer getAnswerOptionsSimpleOrRich() { try { this.data = (ItemDataIfc) item.getData(); } catch (AssessmentException ex) { throw new DataFacadeException(ex.getMessage()); } return this.data.getAnswerOptionsSimpleOrRich(); }
public Boolean getScoreDisplayFlag() { try{ this.data = (ItemDataIfc) item.getData(); } catch (AssessmentException ex) { throw new DataFacadeException(ex.getMessage()); } return this.data.getScoreDisplayFlag(); }
public String getTitle() { try { this.data = (QuestionPoolDataIfc) questionPool.getData(); } catch (QuestionPoolException ex) { throw new DataFacadeException(ex.getMessage()); } return this.data.getTitle(); }
public String getOwnerId() { try { this.data = (QuestionPoolDataIfc) questionPool.getData(); } catch (QuestionPoolException ex) { throw new DataFacadeException(ex.getMessage()); } return this.data.getOwnerId(); }
public Long getAccessTypeId() { try { this.data = (QuestionPoolDataIfc) questionPool.getData(); } catch (QuestionPoolException ex) { throw new DataFacadeException(ex.getMessage()); } return this.data.getAccessTypeId(); }
public Long getTypeId() { try { this.data = (QuestionPoolDataIfc) questionPool.getData(); } catch (QuestionPoolException ex) { throw new DataFacadeException(ex.getMessage()); } return this.data.getTypeId(); }
public Integer getDuration() throws DataFacadeException { try { this.data = (ItemDataIfc) item.getData(); } catch (AssessmentException ex) { throw new DataFacadeException(ex.getMessage()); } return this.data.getDuration(); }
public int getNumberOfCorrectEmiOptions() { try { this.data = (ItemDataIfc) item.getData(); } catch (AssessmentException ex) { throw new DataFacadeException(ex.getMessage()); } return data.getNumberOfCorrectEmiOptions(); }
public List getEmiQuestionAnswerCombinations() { try { this.data = (ItemDataIfc) item.getData(); } catch (AssessmentException ex) { throw new DataFacadeException(ex.getMessage()); } return this.data.getEmiQuestionAnswerCombinations(); }
public Integer getAnswerOptionsRichCount() { try { this.data = (ItemDataIfc) item.getData(); } catch (AssessmentException ex) { throw new DataFacadeException(ex.getMessage()); } return this.data.getAnswerOptionsRichCount(); }
public Long getAssessmentId() throws DataFacadeException { try { this.data = (SectionDataIfc) section.getData(); } catch (AssessmentException ex) { throw new DataFacadeException(ex.getMessage()); } return this.data.getAssessmentId(); }