Class SolrSortFieldModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class SolrSortFieldModel
    extends ItemModel
    Generated model class for type SolrSortField first defined at extension solrfacetsearch.

    Extending SolrSortField type with additional attributes.

    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String _SOLRSORT2SOLRSORTFIELDREL
      Generated relation code constant for relation SolrSort2SolrSortFieldRel defining source attribute sort in extension solrfacetsearch.
      static java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String ASCENDING
      Generated constant - Attribute key of SolrSortField.ascending attribute defined at extension solrfacetsearch.
      static java.lang.String FIELDNAME
      Generated constant - Attribute key of SolrSortField.fieldName attribute defined at extension solrfacetsearch.
      static java.lang.String SORT
      Generated constant - Attribute key of SolrSortField.sort attribute defined at extension solrfacetsearch.
      static java.lang.String SORTPOS
      Generated constant - Attribute key of SolrSortField.sortPOS attribute defined at extension solrfacetsearch.
      • Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
    • Constructor Summary

      Constructors 
      Constructor Description
      SolrSortFieldModel()
      Generated constructor - Default constructor for generic creation.
      SolrSortFieldModel​(boolean _ascending, java.lang.String _fieldName, ItemModel _owner, SolrSortModel _sort)
      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
      SolrSortFieldModel​(boolean _ascending, java.lang.String _fieldName, SolrSortModel _sort)
      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
      SolrSortFieldModel​(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getFieldName()
      Generated method - Getter of the SolrSortField.fieldName attribute defined at extension solrfacetsearch.
      SolrSortModel getSort()
      Generated method - Getter of the SolrSortField.sort attribute defined at extension solrfacetsearch.
      boolean isAscending()
      Generated method - Getter of the SolrSortField.ascending attribute defined at extension solrfacetsearch.
      void setAscending​(boolean value)
      Generated method - Setter of SolrSortField.ascending attribute defined at extension solrfacetsearch.
      void setFieldName​(java.lang.String value)
      Generated method - Setter of SolrSortField.fieldName attribute defined at extension solrfacetsearch.
      void setSort​(SolrSortModel value)
      Generated method - Setter of SolrSortField.sort attribute defined at extension solrfacetsearch.
      • Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • _TYPECODE

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

        public static final java.lang.String _SOLRSORT2SOLRSORTFIELDREL
        Generated relation code constant for relation SolrSort2SolrSortFieldRel defining source attribute sort in extension solrfacetsearch.
        See Also:
        Constant Field Values
      • FIELDNAME

        public static final java.lang.String FIELDNAME
        Generated constant - Attribute key of SolrSortField.fieldName attribute defined at extension solrfacetsearch.
        See Also:
        Constant Field Values
      • ASCENDING

        public static final java.lang.String ASCENDING
        Generated constant - Attribute key of SolrSortField.ascending attribute defined at extension solrfacetsearch.
        See Also:
        Constant Field Values
      • SORTPOS

        public static final java.lang.String SORTPOS
        Generated constant - Attribute key of SolrSortField.sortPOS attribute defined at extension solrfacetsearch.
        See Also:
        Constant Field Values
      • SORT

        public static final java.lang.String SORT
        Generated constant - Attribute key of SolrSortField.sort attribute defined at extension solrfacetsearch.
        See Also:
        Constant Field Values
    • Constructor Detail

      • SolrSortFieldModel

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

        public SolrSortFieldModel​(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • SolrSortFieldModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public SolrSortFieldModel​(boolean _ascending,
                                  java.lang.String _fieldName,
                                  SolrSortModel _sort)
        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:
        _ascending - initial attribute declared by type SolrSortField at extension solrfacetsearch
        _fieldName - initial attribute declared by type SolrSortField at extension solrfacetsearch
        _sort - initial attribute declared by type SolrSortField at extension solrfacetsearch
      • SolrSortFieldModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public SolrSortFieldModel​(boolean _ascending,
                                  java.lang.String _fieldName,
                                  ItemModel _owner,
                                  SolrSortModel _sort)
        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:
        _ascending - initial attribute declared by type SolrSortField at extension solrfacetsearch
        _fieldName - initial attribute declared by type SolrSortField at extension solrfacetsearch
        _owner - initial attribute declared by type Item at extension core
        _sort - initial attribute declared by type SolrSortField at extension solrfacetsearch
    • Method Detail

      • getFieldName

        @Accessor(qualifier="fieldName",
                  type=GETTER)
        public java.lang.String getFieldName()
        Generated method - Getter of the SolrSortField.fieldName attribute defined at extension solrfacetsearch.
        Returns:
        the fieldName - The field name to sort with.
      • getSort

        @Accessor(qualifier="sort",
                  type=GETTER)
        public SolrSortModel getSort()
        Generated method - Getter of the SolrSortField.sort attribute defined at extension solrfacetsearch.
        Returns:
        the sort
      • isAscending

        @Accessor(qualifier="ascending",
                  type=GETTER)
        public boolean isAscending()
        Generated method - Getter of the SolrSortField.ascending attribute defined at extension solrfacetsearch.
        Returns:
        the ascending - Is this field sorted ascending.
      • setAscending

        @Accessor(qualifier="ascending",
                  type=SETTER)
        public void setAscending​(boolean value)
        Generated method - Setter of SolrSortField.ascending attribute defined at extension solrfacetsearch.
        Parameters:
        value - the ascending - Is this field sorted ascending.
      • setFieldName

        @Accessor(qualifier="fieldName",
                  type=SETTER)
        public void setFieldName​(java.lang.String value)
        Generated method - Setter of SolrSortField.fieldName attribute defined at extension solrfacetsearch.
        Parameters:
        value - the fieldName - The field name to sort with.
      • setSort

        @Accessor(qualifier="sort",
                  type=SETTER)
        public void setSort​(SolrSortModel value)
        Generated method - Setter of SolrSortField.sort attribute defined at extension solrfacetsearch.
        Parameters:
        value - the sort