Package ca.phon.session.io.xml.v12
Class SegmentType
java.lang.Object
ca.phon.session.io.xml.v12.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"> <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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the duration 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
-
startTime
-
duration
-
unitType
-
-
Constructor Details
-
SegmentType
public SegmentType()
-
-
Method Details
-
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
-