public final class SASectionNumberPS extends SASectionNumber
| Constructor and Description |
|---|
SASectionNumberPS(int in_part,
int in_section)
Construct a new section number
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getPart() |
int |
getSection() |
int |
hashCode() |
<T> T |
sectionNumberAccept(SASectionNumberVisitor<T> v)
Accept a section number visitor.
|
String |
sectionNumberFormat() |
<T> T |
segmentNumberAccept(SASegmentNumberVisitor<T> v)
Accept a segment number visitor.
|
String |
toString() |
public SASectionNumberPS(int in_part,
int in_section)
in_part - The part numberin_section - The section numberpublic int getPart()
public int getSection()
public <T> T sectionNumberAccept(SASectionNumberVisitor<T> v) throws Exception
SASectionNumbersectionNumberAccept in class SASectionNumberT - The type of values returned by the visitorv - The visitorException - If the visitor raises an Exceptionpublic String sectionNumberFormat()
sectionNumberFormat in class SASectionNumberpublic <T> T segmentNumberAccept(SASegmentNumberVisitor<T> v) throws Exception
SASegmentNumberCopyright © 2014 <code@io7m.com> http://io7m.com