|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.guiseframework.model.rdf.maqro.AbstractInteractionTreeNodeModel<com.globalmentor.urf.maqro.Question>
com.guiseframework.model.rdf.maqro.QuestionTreeNodeModel
public class QuestionTreeNodeModel
A tree node model that represents a MAQRO question.
| Constructor Summary | |
|---|---|
QuestionTreeNodeModel()
Default constructor with no initial value. |
|
QuestionTreeNodeModel(com.globalmentor.urf.maqro.FollowupEvaluation followupEvaluation,
com.globalmentor.urf.maqro.Question initialValue)
Followup subject and initial value constructor. |
|
QuestionTreeNodeModel(com.globalmentor.urf.maqro.Question initialValue)
Initial value constructor. |
|
| Method Summary | |
|---|---|
protected AbstractRDFResourceTreeNodeModel |
createFollowupInteractionTreeNode(com.globalmentor.urf.maqro.FollowupEvaluation followupEvaluation,
com.globalmentor.urf.maqro.Interaction interaction)
Creates a child node to represent an interaction and optional subject followup evaluation. |
protected java.util.List<TreeNodeModel<?>> |
determineChildren()
Dynamically determines children. |
protected boolean |
determineLeaf()
Dynamically determines whether this node is a leaf. |
| Methods inherited from class com.guiseframework.model.rdf.maqro.AbstractInteractionTreeNodeModel |
|---|
getFollowupEvaluation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QuestionTreeNodeModel()
public QuestionTreeNodeModel(com.globalmentor.urf.maqro.Question initialValue)
initialValue - The initial value, which will not be validated.
public QuestionTreeNodeModel(com.globalmentor.urf.maqro.FollowupEvaluation followupEvaluation,
com.globalmentor.urf.maqro.Question initialValue)
followupEvaluation - The followup evaluation which considers this interaction a followup in this context, or null if there is no followup evaluation subject in this context.initialValue - The initial value, which will not be validated.| Method Detail |
|---|
protected boolean determineLeaf()
protected java.util.List<TreeNodeModel<?>> determineChildren()
protected AbstractRDFResourceTreeNodeModel createFollowupInteractionTreeNode(com.globalmentor.urf.maqro.FollowupEvaluation followupEvaluation,
com.globalmentor.urf.maqro.Interaction interaction)
GroupTreeNodeModel if the given resource is a Group.
This version returns a QuestionTreeNodeModel if the given resource is a Question.
Otherwise, this method delegates to #createRDFResourceTreeNode(RDFResource, RDFResource).
followupEvaluation - The followup evaluation which considers this interaction a followup in this context, or null if there is no followup evaluation subject in this context.interaction - The interaction to represent in the new node.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||