public final class SAParagraphNumberPSP extends SAParagraphNumber
| Constructor and Description |
|---|
SAParagraphNumberPSP(int in_part,
int in_section,
int in_paragraph)
Construct a new paragraph number
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(SAParagraphNumber o) |
boolean |
equals(Object obj) |
int |
getParagraph() |
int |
getPart() |
int |
getSection() |
int |
hashCode() |
<T> T |
paragraphNumberAccept(SAParagraphNumberVisitor<T> v)
Accept a paragraph number visitor.
|
String |
paragraphNumberFormat() |
String |
toString() |
subsectionContentNumberAcceptpublic SAParagraphNumberPSP(int in_part,
int in_section,
int in_paragraph)
throws com.io7m.jaux.Constraints.ConstraintError
in_part - The part numberin_section - The section numberin_paragraph - The paragraph numbercom.io7m.jaux.Constraints.ConstraintError - If any parameter is outside of the range
[1, Integer.MAX_VALUE]public int compareTo(SAParagraphNumber o)
public int getParagraph()
getParagraph in class SAParagraphNumberpublic int getPart()
public int getSection()
public <T> T paragraphNumberAccept(SAParagraphNumberVisitor<T> v) throws com.io7m.jaux.Constraints.ConstraintError, Exception
SAParagraphNumberparagraphNumberAccept in class SAParagraphNumberT - The type of values returned by the visitorv - The visitorcom.io7m.jaux.Constraints.ConstraintError - If the visitor raises Constraints.ConstraintErrorException - If the visitor raises an Exceptionpublic String paragraphNumberFormat()
paragraphNumberFormat in class SAParagraphNumberCopyright © 2014 <code@io7m.com> http://io7m.com