Class MetaQuery


@Entity public class MetaQuery extends AuditableModel
  • Constructor Details

    • MetaQuery

      public MetaQuery()
    • MetaQuery

      public MetaQuery(String name)
  • Method Details

    • getId

      public Long getId()
      Specified by:
      getId in class Model
    • setId

      public void setId(Long id)
      Specified by:
      setId in class Model
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getModel

      public String getModel()
    • setModel

      public void setModel(String model)
    • getQuery

      public String getQuery()
    • setQuery

      public void setQuery(String query)
    • getRoles

      public Set<Role> getRoles()
    • setRoles

      public void setRoles(Set<Role> roles)
    • addRole

      public void addRole(Role item)
      Add the given Role item to the roles collection.
      Parameters:
      item - the item to add
    • removeRole

      public void removeRole(Role item)
      Remove the given Role item from the roles collection.
      Parameters:
      item - the item to remove
    • clearRoles

      public void clearRoles()
      Clear the roles collection.
    • getStudioProject

      public StudioResource getStudioProject()
    • setStudioProject

      public void setStudioProject(StudioResource studioProject)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object