|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.guiseframework.model.rdf.maqro.AbstractInteractionTreeNodeModel<V>
com.guiseframework.model.rdf.maqro.AbstractGroupTreeNodeModel<V>
V - The type of value contained in the tree node.public abstract class AbstractGroupTreeNodeModel<V extends com.globalmentor.urf.maqro.Group>
Abstract functionality for a tree node model that represents a group.
| Constructor Summary | |
|---|---|
AbstractGroupTreeNodeModel(java.lang.Class<V> valueClass)
Value class constructor with no initial value. |
|
AbstractGroupTreeNodeModel(java.lang.Class<V> valueClass,
com.globalmentor.urf.maqro.FollowupEvaluation followupEvaluation,
V initialValue)
Property and initial value constructor. |
|
AbstractGroupTreeNodeModel(java.lang.Class<V> valueClass,
V initialValue)
Initial value constructor. |
|
| Method Summary | |
|---|---|
protected AbstractRDFResourceTreeNodeModel |
createRDFResourceTreeNode(com.globalmentor.rdf.RDFResource rdfProperty,
com.globalmentor.rdf.RDFResource rdfResource)
Creates a child node to represent a property object resource and optional property. |
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 AbstractGroupTreeNodeModel(java.lang.Class<V> valueClass)
valueClass - The class indicating the type of value held in the model.
public AbstractGroupTreeNodeModel(java.lang.Class<V> valueClass,
V initialValue)
valueClass - The class indicating the type of value held in the model.initialValue - The initial value, which will not be validated.
public AbstractGroupTreeNodeModel(java.lang.Class<V> valueClass,
com.globalmentor.urf.maqro.FollowupEvaluation followupEvaluation,
V initialValue)
valueClass - The class indicating the type of value held in the model.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 createRDFResourceTreeNode(com.globalmentor.rdf.RDFResource rdfProperty,
com.globalmentor.rdf.RDFResource rdfResource)
GroupTreeNodeModel for a Group.
This version returns a QuestionTreeNodeModel for a Question.
All other resource types will result in a default RDF tree node model being returned.
rdfProperty - The property of which the object is a resource, or null if this object should not be considered the object of any property.rdfResource - The resource to represent in the new node.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||