Package ca.phon.session.io.xml.v13
Class SegmentType
java.lang.Object
ca.phon.session.io.xml.v13.SegmentType
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 Summary
Modifier and TypeFieldDescriptionprotected Float
protected List<GroupSegment>
protected Float
protected SegmentUnitType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the duration property.getGseg()
Gets the value of the gseg property.Gets the value of the startTime property.Gets the value of the unitType property.void
setDuration
(Float value) Sets the value of the duration property.void
setStartTime
(Float value) Sets the value of the startTime property.void
setUnitType
(SegmentUnitType value) Sets the value of the unitType property.
-
Field Details
-
gseg
-
startTime
-
duration
-
unitType
-
-
Constructor Details
-
SegmentType
public SegmentType()
-
-
Method Details
-
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
Gets the value of the startTime property.- Returns:
- possible object is
Float
-
setStartTime
Sets the value of the startTime property.- Parameters:
value
- allowed object isFloat
-
getDuration
Gets the value of the duration property.- Returns:
- possible object is
Float
-
setDuration
Sets the value of the duration property.- Parameters:
value
- allowed object isFloat
-
getUnitType
Gets the value of the unitType property.- Returns:
- possible object is
SegmentUnitType
-
setUnitType
Sets the value of the unitType property.- Parameters:
value
- allowed object isSegmentUnitType
-