Package org.ametys.odf.tree
Class OdfClassificationHandler.LevelValue
- java.lang.Object
-
- org.ametys.odf.tree.OdfClassificationHandler.LevelValue
-
- Enclosing class:
- OdfClassificationHandler
public static class OdfClassificationHandler.LevelValue extends Object
Wrapper object for a level value
-
-
Constructor Summary
Constructors Constructor Description LevelValue(String value, Long order)
The constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(OdfClassificationHandler.LevelValue levelValue)
Compare to a level value depends of the order first then the valueLong
getOrder()
Get the orderString
getValue()
Get the value
-
-
-
Constructor Detail
-
LevelValue
public LevelValue(String value, Long order)
The constructor- Parameters:
value
- the valueorder
- the order
-
-
Method Detail
-
compareTo
public int compareTo(OdfClassificationHandler.LevelValue levelValue)
Compare to a level value depends of the order first then the value- Parameters:
levelValue
- the level value to compare- Returns:
- the int value of the comparaison
-
-