Class QueryType
java.lang.Object
ca.phon.query.db.xml.io.query.QueryType
Type definition for the query element.
Java class for QueryType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="QueryType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://phon.ling.mun.ca/ns/query}tag" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://phon.ling.mun.ca/ns/query}script"/>
<element ref="{http://phon.ling.mun.ca/ns/query}comments" minOccurs="0"/>
</sequence>
<attribute name="uuid" use="required" type="{http://phon.ling.mun.ca/ns/query}uuid" />
<attribute name="name" type="{http://phon.ling.mun.ca/ns/query}nonEmptyString" />
<attribute name="starred" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="date" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the comments property.getDate()Gets the value of the date property.getName()Gets the value of the name property.Gets the value of the script property.getTag()Gets the value of the tag property.getUuid()Gets the value of the uuid property.booleanGets the value of the starred property.voidsetComments(String value) Sets the value of the comments property.voidsetDate(XMLGregorianCalendar value) Sets the value of the date property.voidSets the value of the name property.voidsetScript(ScriptType value) Sets the value of the script property.voidsetStarred(Boolean value) Sets the value of the starred property.voidSets the value of the uuid property.
-
Field Details
-
tag
-
script
-
comments
-
uuid
-
name
-
starred
-
date
-
-
Constructor Details
-
QueryType
public QueryType()
-
-
Method Details
-
getTag
Gets the value of the tag 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
setmethod for the tag property.For example, to add a new item, do as follows:
getTag().add(newItem);Objects of the following type(s) are allowed in the list
String -
getScript
Gets the value of the script property.- Returns:
- possible object is
ScriptType
-
setScript
Sets the value of the script property.- Parameters:
value- allowed object isScriptType
-
getComments
-
setComments
-
getUuid
-
setUuid
-
getName
-
setName
-
isStarred
public boolean isStarred()Gets the value of the starred property.- Returns:
- possible object is
Boolean
-
setStarred
-
getDate
Gets the value of the date property.- Returns:
- possible object is
XMLGregorianCalendar
-
setDate
Sets the value of the date property.- Parameters:
value- allowed object isXMLGregorianCalendar
-