public class SolrSortFieldModel extends ItemModel
Extending SolrSortField type with additional attributes.
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and 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. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
SolrSortFieldModel()
Generated constructor - Default constructor for generic creation.
|
SolrSortFieldModel(boolean _ascending,
java.lang.String _fieldName,
ItemModel _owner,
SolrSortModel _sort)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
SolrSortFieldModel(boolean _ascending,
java.lang.String _fieldName,
SolrSortModel _sort)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
SolrSortFieldModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and 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. |
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerequals, 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, writeReplacepublic static final java.lang.String _TYPECODE
public static final java.lang.String _SOLRSORT2SOLRSORTFIELDREL
SolrSort2SolrSortFieldRel defining source attribute sort in extension solrfacetsearch.public static final java.lang.String FIELDNAME
SolrSortField.fieldName attribute defined at extension solrfacetsearch.public static final java.lang.String ASCENDING
SolrSortField.ascending attribute defined at extension solrfacetsearch.public static final java.lang.String SORTPOS
SolrSortField.sortPOS attribute defined at extension solrfacetsearch.public static final java.lang.String SORT
SolrSortField.sort attribute defined at extension solrfacetsearch.public SolrSortFieldModel()
public SolrSortFieldModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated
public SolrSortFieldModel(boolean _ascending,
java.lang.String _fieldName,
SolrSortModel _sort)
_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@Deprecated
public SolrSortFieldModel(boolean _ascending,
java.lang.String _fieldName,
ItemModel _owner,
SolrSortModel _sort)
_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@Accessor(qualifier="fieldName", type=GETTER) public java.lang.String getFieldName()
SolrSortField.fieldName attribute defined at extension solrfacetsearch.@Accessor(qualifier="sort", type=GETTER) public SolrSortModel getSort()
SolrSortField.sort attribute defined at extension solrfacetsearch.@Accessor(qualifier="ascending", type=GETTER) public boolean isAscending()
SolrSortField.ascending attribute defined at extension solrfacetsearch.@Accessor(qualifier="ascending", type=SETTER) public void setAscending(boolean value)
SolrSortField.ascending attribute defined at extension solrfacetsearch.value - the ascending - Is this field sorted ascending.@Accessor(qualifier="fieldName", type=SETTER) public void setFieldName(java.lang.String value)
SolrSortField.fieldName attribute defined at extension solrfacetsearch.value - the fieldName - The field name to sort with.@Accessor(qualifier="sort", type=SETTER) public void setSort(SolrSortModel value)
SolrSortField.sort attribute defined at extension solrfacetsearch.value - the sortCopyright © 2018 SAP SE. All Rights Reserved.