Class ViewTypeModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class ViewTypeModel
    extends ComposedTypeModel
    Generated model class for type ViewType 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
      • COLUMNS

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

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

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

      • ViewTypeModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public ViewTypeModel​(java.lang.Boolean _catalogItemType,
                             java.lang.String _code,
                             java.lang.Boolean _generate,
                             java.lang.String _query,
                             java.lang.Boolean _singleton,
                             ComposedTypeModel _superType)
        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:
        _catalogItemType - initial attribute declared by type ComposedType at extension catalog
        _code - initial attribute declared by type Type at extension core
        _generate - initial attribute declared by type TypeManagerManaged at extension core
        _query - initial attribute declared by type ViewType at extension core
        _singleton - initial attribute declared by type ComposedType at extension core
        _superType - initial attribute declared by type ViewType at extension core
      • ViewTypeModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public ViewTypeModel​(java.lang.Boolean _catalogItemType,
                             java.lang.String _code,
                             java.lang.Boolean _generate,
                             ItemModel _owner,
                             java.lang.String _query,
                             java.lang.Boolean _singleton,
                             ComposedTypeModel _superType)
        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:
        _catalogItemType - initial attribute declared by type ComposedType at extension catalog
        _code - initial attribute declared by type Type at extension core
        _generate - initial attribute declared by type TypeManagerManaged at extension core
        _owner - initial attribute declared by type Item at extension core
        _query - initial attribute declared by type ViewType at extension core
        _singleton - initial attribute declared by type ComposedType at extension core
        _superType - initial attribute declared by type ViewType at extension core
    • Method Detail

      • getColumns

        @Accessor(qualifier="columns",
                  type=GETTER)
        public java.util.List<ViewAttributeDescriptorModel> getColumns()
        Generated method - Getter of the ViewType.columns attribute defined at extension core. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the columns
      • getParams

        @Accessor(qualifier="params",
                  type=GETTER)
        public java.util.Set<ViewAttributeDescriptorModel> getParams()
        Generated method - Getter of the ViewType.params attribute defined at extension core. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the params
      • getQuery

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

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