Class SolrSortFieldModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.solrfacetsearch.model.SolrSortFieldModel
All Implemented Interfaces:
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:
  • 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 final String
    Generated relation code constant for relation SolrSort2SolrSortFieldRel defining source attribute sort in extension solrfacetsearch.
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of SolrSortField.ascending attribute defined at extension solrfacetsearch.
    static final String
    Generated constant - Attribute key of SolrSortField.fieldName attribute defined at extension solrfacetsearch.
    static final String
    Generated constant - Attribute key of SolrSortField.sort attribute defined at extension solrfacetsearch.
    static final String
    Generated constant - Attribute key of SolrSortField.sortPOS attribute defined at extension solrfacetsearch.

    Fields inherited from class de.hybris.platform.core.model.ItemModel

    _COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED

    Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Generated constructor - Default constructor for generic creation.
    SolrSortFieldModel(boolean _ascending, 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, 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

    Modifier and Type
    Method
    Description
    Generated method - Getter of the SolrSortField.fieldName attribute defined at extension solrfacetsearch.
    Generated method - Getter of the SolrSortField.sort attribute defined at extension solrfacetsearch.
    boolean
    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
    Generated method - Setter of SolrSortField.fieldName attribute defined at extension solrfacetsearch.
    void
    Generated method - Setter of SolrSortField.sort attribute defined at extension solrfacetsearch.

    Methods inherited from class de.hybris.platform.core.model.ItemModel

    getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner

    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 Details

    • _TYPECODE

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

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

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

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

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

      public static final String SORT
      Generated constant - Attribute key of SolrSortField.sort attribute defined at extension solrfacetsearch.
      See Also:
  • Constructor Details

    • 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, 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, 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 Details

    • getFieldName

      @Accessor(qualifier="fieldName", type=GETTER) public 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(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