Package ca.phon.session.io.xml.v12
Class CommentType
java.lang.Object
ca.phon.session.io.xml.v12.CommentType
A storage class for comments.
Java class for commentType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="commentType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://phon.ling.mun.ca/ns/phonbank}segment" minOccurs="0"/> </sequence> <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionA storage class for comments.Gets the value of the content property.getType()
Gets the value of the type property.void
Sets the value of the type property.
-
Field Details
-
-
type
-
-
Constructor Details
-
CommentType
public CommentType()
-
-
Method Details
-
getContent
A storage class for comments.Gets the value of the content 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 content property.For example, to add a new item, do as follows:
getContent().add(newItem);
Objects of the following type(s) are allowed in the list
JAXBElement
<
SegmentType
>
String
-
getType
Gets the value of the type property.- Returns:
- possible object is
String
-
setType
Sets the value of the type property.- Parameters:
value
- allowed object isString
-