Class SavedQueryModel

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    AdvancedSavedQueryModel

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

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • CODE

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

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

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

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

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

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

        public static final java.lang.String RESULTTYPE
        Generated constant - Attribute key of SavedQuery.resultType attribute defined at extension core.
        See Also:
        Constant Field Values
    • Constructor Detail

      • 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​(java.lang.String _code,
                               java.lang.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​(java.lang.String _code,
                               ItemModel _owner,
                               java.lang.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 Detail

      • getCode

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

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

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

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

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

        @Accessor(qualifier="params",
                  type=GETTER)
        public java.util.Map<java.lang.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 java.lang.String getQuery()
        Generated method - Getter of the SavedQuery.query attribute defined at extension core.
        Returns:
        the query
      • setCode

        @Accessor(qualifier="code",
                  type=SETTER)
        public void setCode​(java.lang.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​(java.lang.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​(java.lang.String value,
                                   java.util.Locale loc)
        Generated method - Setter of SavedQuery.description attribute defined at extension core.
        Parameters:
        value - the description
        loc - the value localization key
        Throws:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language
      • setName

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

        @Accessor(qualifier="params",
                  type=SETTER)
        public void setParams​(java.util.Map<java.lang.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​(java.lang.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