Class XMLQuery
java.lang.Object
ca.phon.query.db.xml.XMLQuery
- All Implemented Interfaces:
Query
,JAXBWrapper<QueryType>
- Direct Known Subclasses:
XMLLazyQuery
XML-based implementation of
Query
.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the comments for this query.getDate()
Gets the date of creation of this query.getName()
Gets the name of this query.Gets the script for this query.getTags()
Gets the tags for this query.getUUID()
Gets the UUID used to uniquely identify this query.Obtain the JAXB query object associated with this query.boolean
Gets whether or not this query is starred.void
setComments
(String comments) Sets comments for this queryvoid
setDate
(LocalDateTime date) Sets the date of creation of this query.void
Sets the name of this query.void
Sets the script for this query.void
setStarred
(boolean starred) Sets the starred status of this query.void
Sets the UUID used to uniquely identify this query.
-
Field Details
-
query
JAXB object
-
-
Constructor Details
-
XMLQuery
-
-
Method Details
-
getXMLObject
Obtain the JAXB query object associated with this query.- Specified by:
getXMLObject
in interfaceJAXBWrapper<QueryType>
- Returns:
-
getName
-
setName
-
getUUID
-
setUUID
-
getDate
Description copied from interface:Query
Gets the date of creation of this query. -
setDate
Description copied from interface:Query
Sets the date of creation of this query. -
isStarred
-
setStarred
public void setStarred(boolean starred) Description copied from interface:Query
Sets the starred status of this query.- Specified by:
setStarred
in interfaceQuery
- Parameters:
starred
- the starred state for this query
-
getScript
-
setScript
-
getTags
-
getComments
Description copied from interface:Query
Gets the comments for this query.- Specified by:
getComments
in interfaceQuery
- Returns:
- the list of comments
-
setComments
Description copied from interface:Query
Sets comments for this query- Specified by:
setComments
in interfaceQuery
- Parameters:
comments
-
-