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="{https://phon.ca/ns/project}session" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="name" use="required" type="{https://phon.ca/ns/project}validName" /> <attribute name="loc" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> </restriction> </complexContent> </complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected String
protected String
protected List
<SessionType> -
Constructor Summary
Constructors -
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
-
setDescription
-
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
-
setName
-
getLoc
-
setLoc
-