Class SegmentType

java.lang.Object
ca.phon.session.io.xml.v13.SegmentType

public class SegmentType extends Object
A slice of media time.

Java class for segmentType complex type.

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

 <complexType name="segmentType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{https://phon.ca/ns/phonbank}gseg" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="startTime" type="{http://www.w3.org/2001/XMLSchema}float" />
       <attribute name="duration" type="{http://www.w3.org/2001/XMLSchema}float" />
       <attribute name="unitType" type="{https://phon.ca/ns/phonbank}segmentUnitType" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • SegmentType

      public SegmentType()
  • Method Details

    • getGseg

      public List<GroupSegment> getGseg()
      Gets the value of the gseg 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 Jakarta XML Binding object. This is why there is not a set method for the gseg property.

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

          getGseg().add(newItem);
       

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

    • getStartTime

      public Float getStartTime()
      Gets the value of the startTime property.
      Returns:
      possible object is Float
    • setStartTime

      public void setStartTime(Float value)
      Sets the value of the startTime property.
      Parameters:
      value - allowed object is Float
    • getDuration

      public Float getDuration()
      Gets the value of the duration property.
      Returns:
      possible object is Float
    • setDuration

      public void setDuration(Float value)
      Sets the value of the duration property.
      Parameters:
      value - allowed object is Float
    • getUnitType

      public SegmentUnitType getUnitType()
      Gets the value of the unitType property.
      Returns:
      possible object is SegmentUnitType
    • setUnitType

      public void setUnitType(SegmentUnitType value)
      Sets the value of the unitType property.
      Parameters:
      value - allowed object is SegmentUnitType