org.activemath.content.items
Class DynamicItemCMap
java.lang.Object
org.activemath.content.items.Item
org.activemath.content.items.DynamicItem
org.activemath.content.items.DynamicItemLearningService
org.activemath.content.items.DynamicItemCMap
- All Implemented Interfaces:
- Serializable
public class DynamicItemCMap
- extends DynamicItemLearningService
Dynamic Item for learning System, especially for ICMAP.
In source code, you
can see a commented example of the output/result of the dom object
exerciseDOM. With the getTextualDOM() you can get this DOM
object. For debugging by generating a book, you can set log level of the
Class Formatter "DEBUG". So we doesn't implement any outputter explicit for
this object.
The dynamic cmap item is descibed by a quername (solve or display,
the former adds nodes to the palette the latter adds nodes to
the workspace of icmap), a set of edgetype-transitivity-pairs (where
edgetype can be 'dependsonedge', 'isaedge', 'anyedge', etc.), and a
set of mbase IDs used as source nodes for the generated set of nodes
to be displayed in icmap.
- See Also:
- Serialized Form
|
Field Summary |
protected static Category |
log
|
protected static String |
ServiceName
This might be defined by OJConstants, because in JShopUtil this is
defined again. |
| Fields inherited from class org.activemath.content.items.Item |
copyrights, dependsOn, factory, flavorSet, forId, forIds, id, mbaseId, metadata, omdocTag, omdocType, relatedTo, relationsIn, relationsOut, shouldUseTitleFromID, theoryId, title, titles |
| Methods inherited from class org.activemath.content.items.DynamicItem |
getCopyrightData, getCopyrightElement, getForId, getForIds, getIncomingRelations, getMetadata, getMetadataElement, getOutgoingRelations, getQueryName, getQueryParameters, getReferences, getSerializedNumber, getServiceName, getTitles, getType, hasFlavors, initQueryParameters, isLazyTask, isNLGText, isServiceCall, isText, setLink, toOJDynamicItem, toString |
| Methods inherited from class org.activemath.content.items.Item |
equals, getDependsOn, getDifficulty, getFlavorSet, getFullDOM, getId, getMBaseId, getNumWords, getOmdocTag, getOmdocType, getRelatedTo, getSystemId, getTheoryId, getTitle, getTitle, getTitle, getTitles, hashCode, setUseTitleFromID |
log
protected static Category log
ServiceName
protected static final String ServiceName
- This might be defined by OJConstants, because in JShopUtil this is
defined again.
- See Also:
- Constant Field Values
instanciateDynamicItem
public List instanciateDynamicItem(String userId)
- Here we execute the DynamicItemLearningService for CMap.
Actually, we have to do this by instanciating time.
Here we also initiate the titles and Metadata.
- Specified by:
instanciateDynamicItem in class DynamicItem
- Parameters:
userId - - may be null
- Returns:
- an empty ArrayList. we don't actually need to result anything.
And if null returned, the Id of the DynamicItem will be als
result added to itemIds in page.
getTextualDOM
public OJElement getTextualDOM()
- we can get the specialised DOM for CMap as result here.
It seems like following example: iCMap Exercise iCMap Aufgabe
Solve this concept map exercise. L??se diese Concept Map Aufgabe.
erzeugung des omlet-links:
- Overrides:
getTextualDOM in class Item
- Returns:
- this item in its textual DOM representation, or
null if there is
a problem.
initTitles
public void initTitles(String userId)
- Specified by:
initTitles in class DynamicItem