Class CommentType

java.lang.Object
ca.phon.session.io.xml.v12.CommentType

public class CommentType extends Object
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 Details

  • Constructor Details

    • CommentType

      public CommentType()
  • Method Details

    • getContent

      public List<Serializable> 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

      public String getType()
      Gets the value of the type property.
      Returns:
      possible object is String
    • setType

      public void setType(String value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is String