Class Segment

  • All Implemented Interfaces:
    java.io.Serializable, javax.swing.tree.TreeNode

    public class Segment
    extends EdiElement
    Significant object, typically represents a single line in an edi document. It can be made up of Composite and Element Nodes
    See Also:
    Serialized Form
    • Constructor Detail

      • Segment

        public Segment()
      • Segment

        public Segment​(java.lang.String name,
                       boolean mandatory,
                       int repetitions)
    • Method Detail

      • hasData

        public boolean hasData()
        Returns if the segment has any data set within its children.
        Returns:
        True if any fields within this composite have any data set within them.