public class QuestionManager.Question extends HandlerPartManager.HandlerPart<SectionManager.Section,QuestionFormHandler> implements UIGenerator
DEBUG, recordMAX_IDENTIFIER| Modifier | Constructor and Description |
|---|---|
protected |
Question(Repository.Record r) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getInfo()
get a map of additional information to be displayed
|
<T> Input<T> |
getInput() |
java.lang.String |
getQuestionText() |
java.lang.String |
getTypeName() |
boolean |
hasConfig()
Does this object support a config operation.
|
boolean |
isOptional() |
void |
makeConfigForm(Form f)
build a form that edits and validates legal configuration values.
|
<X> X |
visit(PartVisitor<X> vis)
visit a
PartVisitor |
getHandler, getHandlerTagaddContent, getFactory, getForm, getName, getOwner, getRawName, getSortOrder, getSpacedName, getViewResult, setSortOrderaddToMap, addToMap, addToMap, commit, delete, empty, equals, formUpdate, getContext, getDatabaseService, getFactoryTag, getID, getIdentifier, getIdentifier, getLogger, getMap, getMap, getOwningFactory, getRecord, getRecord, getRecord, getSQLContext, getUniqueIdName, hashCode, isLocked, lock, post_commit, postCreate, pre_commit, release, setContents, setDirty, setMap, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddContentprotected Question(Repository.Record r)
r - public void makeConfigForm(Form f)
PartManager.PartmakeConfigForm in class HandlerPartManager.HandlerPart<SectionManager.Section,QuestionFormHandler>public java.lang.String getQuestionText()
public java.util.Map<java.lang.String,java.lang.Object> getInfo()
PartManager.PartgetInfo in class HandlerPartManager.HandlerPart<SectionManager.Section,QuestionFormHandler>public <X> X visit(PartVisitor<X> vis)
PartManager.PartPartVisitorvisit in class PartManager.Part<SectionManager.Section>public boolean isOptional()
public <T> Input<T> getInput() throws java.lang.Exception
java.lang.Exceptionpublic boolean hasConfig()
PartManager.ParthasConfig in class HandlerPartManager.HandlerPart<SectionManager.Section,QuestionFormHandler>public java.lang.String getTypeName()
getTypeName in class PartManager.Part<SectionManager.Section>