|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.activemath.content.Grouping
public class Grouping
Representation of an Omdoc grouping (omgroup) used for course generation.
| Field Summary | |
|---|---|
protected ArrayList |
conceptList
|
protected static Category |
log
|
protected Metadata |
metadata
|
protected String |
title
|
protected Map |
titles
|
protected static org.jdom.output.XMLOutputter |
xml
|
| Method Summary | |
|---|---|
int |
compareTo(Object o)
|
static Grouping |
create(String id,
String mbaseId)
Creates a new grouping for the given mbase ID |
boolean |
equals(Object o)
|
List |
getConceptList()
Return list of concept items for this Grouping. |
protected OJElement |
getGroupingElement()
Return list of concept items for this Grouping. |
String |
getId()
|
String |
getMbaseId()
|
Metadata |
getMetadata()
|
String |
getTitle()
|
String |
getTitle(String lang)
Get localized Book title, without fallback to default language |
String |
getTitle(String lang,
String defaultLang)
Get localized title, with fallback to default language |
Map |
getTitleMap()
|
Toc |
getToc()
get the TOC of this grouping |
int |
hashCode()
|
void |
setTitle(String string)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static Category log
protected String title
protected Map titles
protected static org.jdom.output.XMLOutputter xml
protected ArrayList conceptList
protected Metadata metadata
| Method Detail |
|---|
public static Grouping create(String id,
String mbaseId)
public String toString()
toString in class Objectpublic Metadata getMetadata()
public String getId()
public String getMbaseId()
public String getTitle()
public void setTitle(String string)
public Map getTitleMap()
public String getTitle(String lang)
public String getTitle(String lang,
String defaultLang)
lang - defaultLang -
public Toc getToc()
public List getConceptList()
buildConceptList().
protected OJElement getGroupingElement()
buildConceptList().
public int compareTo(Object o)
compareTo in interface ComparableComparable.compareTo(java.lang.Object)public boolean equals(Object o)
equals in class ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class ObjectObject.hashCode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||