public class QuestionManager.Question extends HandlerPartManager.HandlerPart<SectionManager.Section,QuestionFormHandler> implements UIGenerator
DEBUG, record
MAX_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, getHandlerTag
addContent, getFactory, getForm, getName, getOwner, getRawName, getSortOrder, getSpacedName, getViewResult, setSortOrder
addToMap, 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, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addContent
protected Question(Repository.Record r)
r
- public void makeConfigForm(Form f)
PartManager.Part
makeConfigForm
in class HandlerPartManager.HandlerPart<SectionManager.Section,QuestionFormHandler>
public java.lang.String getQuestionText()
public java.util.Map<java.lang.String,java.lang.Object> getInfo()
PartManager.Part
getInfo
in class HandlerPartManager.HandlerPart<SectionManager.Section,QuestionFormHandler>
public <X> X visit(PartVisitor<X> vis)
PartManager.Part
PartVisitor
visit
in class PartManager.Part<SectionManager.Section>
public boolean isOptional()
public <T> Input<T> getInput() throws java.lang.Exception
java.lang.Exception
public boolean hasConfig()
PartManager.Part
hasConfig
in class HandlerPartManager.HandlerPart<SectionManager.Section,QuestionFormHandler>
public java.lang.String getTypeName()
getTypeName
in class PartManager.Part<SectionManager.Section>