public class SolrSortFieldModel extends ItemModel
Extending SolrSortField type with additional attributes.
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_SOLRSORT2SOLRSORTFIELDREL
Generated relation code constant for relation
SolrSort2SolrSortFieldRel defining source attribute sort in extension commerceservices. |
static String |
_TYPECODE
Generated model type code constant.
|
static String |
ASCENDING
Generated constant - Attribute key of
SolrSortField.ascending attribute defined at extension commerceservices. |
static String |
FIELDNAME
Generated constant - Attribute key of
SolrSortField.fieldName attribute defined at extension commerceservices. |
static String |
SORT
Generated constant - Attribute key of
SolrSortField.sort attribute defined at extension commerceservices. |
static String |
SORTPOS
Generated constant - Attribute key of
SolrSortField.sortPOS attribute defined at extension commerceservices. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
SolrSortFieldModel()
Generated constructor - Default constructor for generic creation.
|
SolrSortFieldModel(boolean _ascending,
String _fieldName,
ItemModel _owner,
SolrSortModel _sort)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
SolrSortFieldModel(boolean _ascending,
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 |
|---|---|
String |
getFieldName()
Generated method - Getter of the
SolrSortField.fieldName attribute defined at extension commerceservices. |
SolrSortModel |
getSort()
Generated method - Getter of the
SolrSortField.sort attribute defined at extension commerceservices. |
boolean |
isAscending()
Generated method - Getter of the
SolrSortField.ascending attribute defined at extension commerceservices. |
void |
setAscending(boolean value)
Generated method - Setter of
SolrSortField.ascending attribute defined at extension commerceservices. |
void |
setFieldName(String value)
Generated method - Setter of
SolrSortField.fieldName attribute defined at extension commerceservices. |
void |
setSort(SolrSortModel value)
Generated method - Setter of
SolrSortField.sort attribute defined at extension commerceservices. |
getComments, getCreationtime, getModifiedtime, getOwner, 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 String _TYPECODE
public static final String _SOLRSORT2SOLRSORTFIELDREL
SolrSort2SolrSortFieldRel defining source attribute sort in extension commerceservices.public static final String FIELDNAME
SolrSortField.fieldName attribute defined at extension commerceservices.public static final String ASCENDING
SolrSortField.ascending attribute defined at extension commerceservices.public static final String SORTPOS
SolrSortField.sortPOS attribute defined at extension commerceservices.public static final String SORT
SolrSortField.sort attribute defined at extension commerceservices.public SolrSortFieldModel()
public SolrSortFieldModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public SolrSortFieldModel(boolean _ascending, String _fieldName, SolrSortModel _sort)
_ascending - initial attribute declared by type SolrSortField at extension commerceservices_fieldName - initial attribute declared by type SolrSortField at extension commerceservices_sort - initial attribute declared by type SolrSortField at extension commerceservices@Deprecated public SolrSortFieldModel(boolean _ascending, String _fieldName, ItemModel _owner, SolrSortModel _sort)
_ascending - initial attribute declared by type SolrSortField at extension commerceservices_fieldName - initial attribute declared by type SolrSortField at extension commerceservices_owner - initial attribute declared by type Item at extension core_sort - initial attribute declared by type SolrSortField at extension commerceservices@Accessor(qualifier="fieldName", type=GETTER) public String getFieldName()
SolrSortField.fieldName attribute defined at extension commerceservices.@Accessor(qualifier="sort", type=GETTER) public SolrSortModel getSort()
SolrSortField.sort attribute defined at extension commerceservices.@Accessor(qualifier="ascending", type=GETTER) public boolean isAscending()
SolrSortField.ascending attribute defined at extension commerceservices.@Accessor(qualifier="ascending", type=SETTER) public void setAscending(boolean value)
SolrSortField.ascending attribute defined at extension commerceservices.value - the ascending - Is this field sorted ascending.@Accessor(qualifier="fieldName", type=SETTER) public void setFieldName(String value)
SolrSortField.fieldName attribute defined at extension commerceservices.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 commerceservices.value - the sortCopyright © 2017 SAP SE. All Rights Reserved.