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
    • 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​(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.
      • 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