@Immutable public final class SAFormalItem extends Object implements SASubsectionContent, SAIDTargetContent
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
SAFormalItemContent |
getContent() |
int |
getFormalNumber() |
String |
getKind() |
SAFormalItemNumber |
getNumber() |
SAFormalItemTitle |
getTitle() |
com.io7m.jfunctional.OptionType<String> |
getType() |
int |
hashCode() |
<A> A |
subsectionContentAccept(SASubsectionContentVisitor<A> v)
Accept a section content visitor.
|
<T> T |
targetContentAccept(SAIDTargetContentVisitor<T> v)
Accept an ID target content visitor.
|
String |
toString() |
public SAFormalItemContent getContent()
public int getFormalNumber()
public String getKind()
public SAFormalItemNumber getNumber()
public SAFormalItemTitle getTitle()
public com.io7m.jfunctional.OptionType<String> getType()
public <A> A subsectionContentAccept(SASubsectionContentVisitor<A> v) throws Exception
SASubsectionContent
subsectionContentAccept
in interface SASubsectionContent
A
- The type of values returned by the visitorv
- The visitorException
- If the visitor raises and Exception
public <T> T targetContentAccept(SAIDTargetContentVisitor<T> v) throws Exception
SAIDTargetContent
targetContentAccept
in interface SAIDTargetContent
T
- The type of values returned by the visitorv
- The visitorException
- If the visitor raises and Exception
Copyright © 2017 <code@io7m.com> http://io7m.com