org.qedeq.kernel.se.dto.module
Class SubsectionVo

java.lang.Object
  extended by org.qedeq.kernel.se.dto.module.SubsectionVo
All Implemented Interfaces:
Subsection, SubsectionType

public class SubsectionVo
extends java.lang.Object
implements Subsection

Subsection of a qedeq file.

Author:
Michael Meyling

Constructor Summary
SubsectionVo()
          Constructs a new empty subsection.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getId()
          Get label of node.
 LatexList getLatex()
          Get the LaTeX text.
 java.lang.String getLevel()
          Get level of subsection.
 Node getNode()
          Get Node, if this is an instance of Node.
 Subsection getSubsection()
          Get subsection, if this is an instance of Subsection.
 LatexList getTitle()
          Get title of subsection.
 int hashCode()
           
 void setId(java.lang.String label)
          Set label for this subsection.
 void setLatex(LatexListVo latexText)
          Set LaTeX text for this subsection.
 void setLevel(java.lang.String level)
          Set level for this section.
 void setTitle(LatexListVo title)
          Set title of this subsection.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SubsectionVo

public SubsectionVo()
Constructs a new empty subsection.

Method Detail

getNode

public Node getNode()
Description copied from interface: SubsectionType
Get Node, if this is an instance of Node.

Specified by:
getNode in interface SubsectionType
Returns:
Node, maybe null.

getSubsection

public Subsection getSubsection()
Description copied from interface: SubsectionType
Get subsection, if this is an instance of Subsection.

Specified by:
getSubsection in interface SubsectionType
Returns:
Subsection, maybe null.

setId

public final void setId(java.lang.String label)
Set label for this subsection.

Parameters:
label - Label for referencing.

getId

public final java.lang.String getId()
Description copied from interface: Subsection
Get label of node. The node is referenced with this label.

Specified by:
getId in interface Subsection
Returns:
Returns the label.

setLevel

public final void setLevel(java.lang.String level)
Set level for this section. Higher levels contain additional informations

Parameters:
level - Level of that subsection.

getLevel

public final java.lang.String getLevel()
Description copied from interface: Subsection
Get level of subsection. Higher levels contain additional informations.

Specified by:
getLevel in interface Subsection
Returns:
Returns the level.

setTitle

public final void setTitle(LatexListVo title)
Set title of this subsection.

Parameters:
title - Subsection title.

getTitle

public final LatexList getTitle()
Description copied from interface: Subsection
Get title of subsection.

Specified by:
getTitle in interface Subsection
Returns:
Returns the name.

setLatex

public final void setLatex(LatexListVo latexText)
Set LaTeX text for this subsection.

Parameters:
latexText - LaTeX text.

getLatex

public final LatexList getLatex()
Description copied from interface: Subsection
Get the LaTeX text.

Specified by:
getLatex in interface Subsection
Returns:
Returns the LaTeX text.

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2014. All Rights Reserved.