Class SegmentType

java.lang.Object
ca.phon.session.io.xml.v12.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">
       <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="{http://phon.ling.mun.ca/ns/phonbank}segmentUnitType" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • SegmentType

      public SegmentType()
  • Method Details

    • 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