|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pixelmed.scpecg.Section
com.pixelmed.scpecg.Section8Or11
public class Section8Or11
A class to encapsulate the SCP-ECG Textual Diagnosis and Universal Interpretative Statement Codes sections.
| Field Summary |
|---|
| Fields inherited from class com.pixelmed.scpecg.Section |
|---|
bytesRead, header, sectionBytesRemaining, tree |
| Constructor Summary | |
|---|---|
Section8Or11(SectionHeader header)
|
|
| Method Summary | |
|---|---|
int |
getConfirmed()
|
int |
getDay()
|
int |
getHour()
|
int |
getMinute()
|
int |
getMonth()
|
int |
getNumberOfStatements()
|
int |
getSecond()
|
String |
getSectionName()
Get a string name for this section. |
int[] |
getSequenceNumbers()
|
int[] |
getStatementLengths()
|
byte[][] |
getStatements()
|
SCPTreeRecord |
getTree(SCPTreeRecord parent)
Get the contents of the section as a tree for display, constructing it if not already done. |
int |
getYear()
|
long |
read(BinaryInputStream i)
Read the remainder of the section from a stream. |
String |
toString()
Dump the section as a String. |
String |
validate()
Validate the section against the standard. |
| Methods inherited from class com.pixelmed.scpecg.Section |
|---|
addNodeOfDecimalAndHex, addNodeOfDecimalWithMissingValues, addSectionHeaderToTree, describeMissingValues, getSectionHeader, getTree, getValueForSectionNodeInTree, makeSection, makeStringFromByteArrayRemovingAnyNulls, skipToEndOfSectionIfNotAlreadyThere |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Section8Or11(SectionHeader header)
| Method Detail |
|---|
public String getSectionName()
Get a string name for this section.
getSectionName in class Sectionpublic int getConfirmed()
public int getYear()
public int getMonth()
public int getDay()
public int getHour()
public int getMinute()
public int getSecond()
public int getNumberOfStatements()
public int[] getSequenceNumbers()
public int[] getStatementLengths()
public byte[][] getStatements()
public long read(BinaryInputStream i)
throws IOException
SectionRead the remainder of the section from a stream.
read in class Sectioni - the input stream
IOExceptionpublic String toString()
SectionDump the section as a String.
toString in class SectionStringpublic String validate()
SectionValidate the section against the standard.
validate in class SectionStringpublic SCPTreeRecord getTree(SCPTreeRecord parent)
Get the contents of the section as a tree for display, constructing it if not already done.
getTree in class Sectionparent - the node to which this section is to be added if it needs to be created de novo
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||