Class LogSegmentType

  • All Implemented Interfaces:
    JaxbVisitable, Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

    public class LogSegmentType
    extends Object
    implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
    Segment of the logfile.

    Java class for LogSegmentType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="LogSegmentType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="sequenceNumber" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
             <element name="entry" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Field Detail

      • sequenceNumber

        protected Integer sequenceNumber
      • COMPLEX_TYPE

        public static final QName COMPLEX_TYPE
      • F_SEQUENCE_NUMBER

        public static final ItemName F_SEQUENCE_NUMBER
      • F_ENTRY

        public static final ItemName F_ENTRY
    • Constructor Detail

      • LogSegmentType

        public LogSegmentType()
        Creates a new LogSegmentType instance.
      • LogSegmentType

        public LogSegmentType​(LogSegmentType o)
        Creates a new LogSegmentType instance by deeply copying a given LogSegmentType instance.
        Parameters:
        o - The instance to copy.
        Throws:
        NullPointerException - if o is null.
    • Method Detail

      • getSequenceNumber

        public Integer getSequenceNumber()
        Gets the value of the sequenceNumber property.
        Returns:
        possible object is Integer
      • setSequenceNumber

        public void setSequenceNumber​(Integer value)
        Sets the value of the sequenceNumber property.
        Parameters:
        value - allowed object is Integer
      • getEntry

        public List<String> getEntry()
        Gets the value of the entry property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the entry property.

        For example, to add a new item, do as follows:

            getEntry().add(newItem);
         

        Objects of the following type(s) are allowed in the list String

      • toString

        public String toString()
        Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin
        Overrides:
        toString in class Object
      • hashCode

        public int hashCode​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
        Specified by:
        hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public boolean equals​(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                              org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                              Object object,
                              org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
        Specified by:
        equals in interface org.jvnet.jaxb2_commons.lang.Equals
      • clone

        public LogSegmentType clone()
        Creates and returns a deep copy of this object.
        Overrides:
        clone in class Object
        Returns:
        A deep copy of this object.