Package ca.phon.query.db
Interface Query
- All Known Implementing Classes:
XMLLazyQuery
,XMLQuery
public interface Query
Interface for a Phon query.
-
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.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.
-
Method Details
-
getName
String getName()Gets the name of this query.- Returns:
- the name
-
setName
Sets the name of this query.- Parameters:
name
- the name
-
getUUID
UUID getUUID()Gets the UUID used to uniquely identify this query.- Returns:
- the uuid
-
setUUID
Sets the UUID used to uniquely identify this query.- Parameters:
uuid
- the uuid
-
getDate
LocalDateTime getDate()Gets the date of creation of this query.- Returns:
- the date
-
setDate
Sets the date of creation of this query.- Parameters:
date
- the date
-
isStarred
boolean isStarred()Gets whether or not this query is starred.- Returns:
- the starred state of this query
-
setStarred
void setStarred(boolean starred) Sets the starred status of this query.- Parameters:
starred
- the starred state for this query
-
getScript
Script getScript()Gets the script for this query.- Returns:
- the script
-
setScript
Sets the script for this query.- Parameters:
starred
- the starred state for this query
-
getTags
Gets the tags for this query.- Returns:
- the list of tags
-
getComments
String getComments()Gets the comments for this query.- Returns:
- the list of comments
-
setComments
Sets comments for this query- Parameters:
comments
-
-