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.booleanGets whether or not this query is starred.voidsetComments(String comments) Sets comments for this queryvoidsetDate(LocalDateTime date) Sets the date of creation of this query.voidSets the name of this query.voidSets the script for this query.voidsetStarred(boolean starred) Sets the starred status of this query.voidSets 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:
getXMLObjectin interfaceJAXBWrapper<QueryType>- Returns:
-
getName
-
setName
-
getUUID
-
setUUID
-
getDate
Description copied from interface:QueryGets the date of creation of this query. -
setDate
Description copied from interface:QuerySets the date of creation of this query. -
isStarred
-
setStarred
public void setStarred(boolean starred) Description copied from interface:QuerySets the starred status of this query.- Specified by:
setStarredin interfaceQuery- Parameters:
starred- the starred state for this query
-
getScript
-
setScript
-
getTags
-
getComments
Description copied from interface:QueryGets the comments for this query.- Specified by:
getCommentsin interfaceQuery- Returns:
- the list of comments
-
setComments
Description copied from interface:QuerySets comments for this query- Specified by:
setCommentsin interfaceQuery- Parameters:
comments-
-