Class CorpusType

java.lang.Object
ca.phon.project.io.CorpusType

public class CorpusType extends Object
The description of a corpus.

Java class for CorpusType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CorpusType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element ref="{}session" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="name" use="required" type="{}validName" />
       <attribute name="loc" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • CorpusType

      public CorpusType()
  • Method Details

    • getDescription

      public String getDescription()
      Gets the value of the description property.
      Returns:
      possible object is String
    • setDescription

      public void setDescription(String value)
      Sets the value of the description property.
      Parameters:
      value - allowed object is String
    • getSession

      public List<SessionType> getSession()
      Gets the value of the session 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 session property.

      For example, to add a new item, do as follows:

          getSession().add(newItem);
       

      Objects of the following type(s) are allowed in the list SessionType

    • getName

      public String getName()
      Gets the value of the name property.
      Returns:
      possible object is String
    • setName

      public void setName(String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
    • getLoc

      public String getLoc()
      Gets the value of the loc property.
      Returns:
      possible object is String
    • setLoc

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