Class 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:
  • 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(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