Class FileDicomSQItem

java.lang.Object
gov.nih.mipav.model.file.FileDicomTagTable
gov.nih.mipav.model.file.FileDicomSQItem
All Implemented Interfaces:
Serializable, Cloneable

public class FileDicomSQItem extends FileDicomTagTable
A table containing dicom tags. Common tags are not stored here and instead should be stored in the reference tag table. The reference tag table may refer to another table within a dicom sequence.
See Also:
  • Field Details

    • writeAsUnknownLength

      private boolean writeAsUnknownLength
      Whether the sequence should be written using an unknown length
  • Constructor Details

  • Method Details

    • doWriteAsUnknownLength

      public boolean doWriteAsUnknownLength()
      Whether the sequence should be written using an unknown length, can be set as a preference by user.
    • setWriteAsUnknownLength

      public void setWriteAsUnknownLength(boolean writeAsUnknownLength)
      Whether the sequence should be written using an unknown length, this includes adding a sequence delimitation item to the sequence.
    • getWritableLength

      public final int getWritableLength(boolean includeTagInfo)
      Gets the length as read in by the header (possibly undefined).
      Returns:
      The length of the sequence as read in by the header
    • getSequenceValues

      public Collection<FileDicomTag> getSequenceValues()
      Return the tag values store in this sequence tag. Does not return tags from the reference tag table.
      Returns:
      A list of dicom tags contained in this sequence tag.