Class SavedQuery

java.lang.Object
com.genologics.ri.savedquery.SavedQuery
All Implemented Interfaces:
Linkable<SavedQuery>, Locatable, Serializable

public class SavedQuery extends Object implements Linkable<SavedQuery>, Serializable
Represents a saved query in the Clarity LIMS system.
Since:
2.34
See Also:
  • Field Details

    • name

      protected String name
      The name of the saved query.
    • id

      protected String id
      The unique identifier of the saved query.
    • uri

      protected URI uri
      The URI of the saved query.
  • Constructor Details

    • SavedQuery

      public SavedQuery()
      Default constructor.
    • SavedQuery

      public SavedQuery(URI uri)
      Constructor with URI.
      Parameters:
      uri - The URI of the saved query.
  • Method Details

    • getName

      public String getName()
      Gets the name of the saved query.
      Returns:
      The name of the saved query.
    • setName

      public void setName(String name)
      Sets the name of the saved query.
      Parameters:
      name - The name of the saved query.
    • getId

      public String getId()
      Gets the unique identifier of the saved query.
      Returns:
      The identifier of the saved query.
    • setId

      public void setId(String id)
      Sets the unique identifier of the saved query.
      Parameters:
      id - The identifier of the saved query.
    • getUri

      public URI getUri()
      Gets the URI of the saved query.
      Specified by:
      getUri in interface Locatable
      Returns:
      The URI of the saved query.
    • setUri

      public void setUri(URI uri)
      Sets the URI of the saved query.
      Specified by:
      setUri in interface Locatable
      Parameters:
      uri - The URI of the saved query.
    • getLink

      public LimsLink<SavedQuery> getLink()
      Gets a link to this saved query.
      Specified by:
      getLink in interface Linkable<SavedQuery>
      Returns:
      A link to this saved query.
    • toString

      public String toString()
      Returns the string representation of the saved query.
      Overrides:
      toString in class Object
      Returns:
      The name of the saved query, or "unset" if name is null.