Package ca.phon.project.io
Class CorpusType
java.lang.Object
ca.phon.project.io.CorpusType
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 Summary
Modifier and TypeFieldDescriptionprotected String
protected String
protected String
protected List<SessionType>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the description property.getLoc()
Gets the value of the loc property.getName()
Gets the value of the name property.Gets the value of the session property.void
setDescription
(String value) Sets the value of the description property.void
Sets the value of the loc property.void
Sets the value of the name property.
-
Field Details
-
description
-
session
-
name
-
loc
-
-
Constructor Details
-
CorpusType
public CorpusType()
-
-
Method Details
-
getDescription
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
Sets the value of the description property.- Parameters:
value
- allowed object isString
-
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
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value
- allowed object isString
-
getLoc
Gets the value of the loc property.- Returns:
- possible object is
String
-
setLoc
Sets the value of the loc property.- Parameters:
value
- allowed object isString
-