Class SavedQueryModel

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AdvancedSavedQueryModel

public class SavedQueryModel extends ItemModel
Generated model class for type SavedQuery first defined at extension core.
See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • CODE

      public static final String CODE
      Generated constant - Attribute key of SavedQuery.code attribute defined at extension core.
      See Also:
    • NAME

      public static final String NAME
      Generated constant - Attribute key of SavedQuery.name attribute defined at extension core.
      See Also:
    • DESCRIPTION

      public static final String DESCRIPTION
      Generated constant - Attribute key of SavedQuery.description attribute defined at extension core.
      See Also:
    • PARAMTYPES

      public static final String PARAMTYPES
      Generated constant - Attribute key of SavedQuery.paramtypes attribute defined at extension core.
      See Also:
    • PARAMS

      public static final String PARAMS
      Generated constant - Attribute key of SavedQuery.params attribute defined at extension core.
      See Also:
    • QUERY

      public static final String QUERY
      Generated constant - Attribute key of SavedQuery.query attribute defined at extension core.
      See Also:
    • RESULTTYPE

      public static final String RESULTTYPE
      Generated constant - Attribute key of SavedQuery.resultType attribute defined at extension core.
      See Also:
  • Constructor Details

    • SavedQueryModel

      public SavedQueryModel()
      Generated constructor - Default constructor for generic creation.
    • SavedQueryModel

      public SavedQueryModel(ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • SavedQueryModel

      @Deprecated(since="4.1.1", forRemoval=true) public SavedQueryModel(String _code, String _query, ComposedTypeModel _resultType)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _code - initial attribute declared by type SavedQuery at extension core
      _query - initial attribute declared by type SavedQuery at extension core
      _resultType - initial attribute declared by type SavedQuery at extension core
    • SavedQueryModel

      @Deprecated(since="4.1.1", forRemoval=true) public SavedQueryModel(String _code, ItemModel _owner, String _query, ComposedTypeModel _resultType)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _code - initial attribute declared by type SavedQuery at extension core
      _owner - initial attribute declared by type Item at extension core
      _query - initial attribute declared by type SavedQuery at extension core
      _resultType - initial attribute declared by type SavedQuery at extension core
  • Method Details

    • getCode

      @Accessor(qualifier="code", type=GETTER) public String getCode()
      Generated method - Getter of the SavedQuery.code attribute defined at extension core.
      Returns:
      the code
    • getDescription

      @Accessor(qualifier="description", type=GETTER) public String getDescription()
      Generated method - Getter of the SavedQuery.description attribute defined at extension core.
      Returns:
      the description
    • getDescription

      @Accessor(qualifier="description", type=GETTER) public String getDescription(Locale loc)
      Generated method - Getter of the SavedQuery.description attribute defined at extension core.
      Parameters:
      loc - the value localization key
      Returns:
      the description
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • getName

      @Accessor(qualifier="name", type=GETTER) public String getName()
      Generated method - Getter of the SavedQuery.name attribute defined at extension core.
      Returns:
      the name
    • getName

      @Accessor(qualifier="name", type=GETTER) public String getName(Locale loc)
      Generated method - Getter of the SavedQuery.name attribute defined at extension core.
      Parameters:
      loc - the value localization key
      Returns:
      the name
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • getParams

      @Accessor(qualifier="params", type=GETTER) public Map<String,TypeModel> getParams()
      Generated method - Getter of the SavedQuery.params attribute defined at extension core.
      Returns:
      the params
    • getQuery

      @Accessor(qualifier="query", type=GETTER) public String getQuery()
      Generated method - Getter of the SavedQuery.query attribute defined at extension core.
      Returns:
      the query
    • getResultType

      @Accessor(qualifier="resultType", type=GETTER) public ComposedTypeModel getResultType()
      Generated method - Getter of the SavedQuery.resultType attribute defined at extension core.
      Returns:
      the resultType
    • setCode

      @Accessor(qualifier="code", type=SETTER) public void setCode(String value)
      Generated method - Setter of SavedQuery.code attribute defined at extension core.
      Parameters:
      value - the code
    • setDescription

      @Accessor(qualifier="description", type=SETTER) public void setDescription(String value)
      Generated method - Setter of SavedQuery.description attribute defined at extension core.
      Parameters:
      value - the description
    • setDescription

      @Accessor(qualifier="description", type=SETTER) public void setDescription(String value, Locale loc)
      Generated method - Setter of SavedQuery.description attribute defined at extension core.
      Parameters:
      value - the description
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setName

      @Accessor(qualifier="name", type=SETTER) public void setName(String value)
      Generated method - Setter of SavedQuery.name attribute defined at extension core.
      Parameters:
      value - the name
    • setName

      @Accessor(qualifier="name", type=SETTER) public void setName(String value, Locale loc)
      Generated method - Setter of SavedQuery.name attribute defined at extension core.
      Parameters:
      value - the name
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setParams

      @Accessor(qualifier="params", type=SETTER) public void setParams(Map<String,TypeModel> value)
      Generated method - Setter of SavedQuery.params attribute defined at extension core.
      Parameters:
      value - the params
    • setQuery

      @Accessor(qualifier="query", type=SETTER) public void setQuery(String value)
      Generated method - Setter of SavedQuery.query attribute defined at extension core.
      Parameters:
      value - the query
    • setResultType

      @Accessor(qualifier="resultType", type=SETTER) public void setResultType(ComposedTypeModel value)
      Generated method - Setter of SavedQuery.resultType attribute defined at extension core.
      Parameters:
      value - the resultType