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
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
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationSolrSort2SolrSortFieldReldefining source attributesortin extensionsolrfacetsearch.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofSolrSortField.ascendingattribute defined at extensionsolrfacetsearch.static final StringGenerated constant - Attribute key ofSolrSortField.fieldNameattribute defined at extensionsolrfacetsearch.static final StringGenerated constant - Attribute key ofSolrSortField.sortattribute defined at extensionsolrfacetsearch.static final StringGenerated constant - Attribute key ofSolrSortField.sortPOSattribute defined at extensionsolrfacetsearch.Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated 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 parametersSolrSortFieldModel(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 parametersSolrSortFieldModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theSolrSortField.fieldNameattribute defined at extensionsolrfacetsearch.getSort()Generated method - Getter of theSolrSortField.sortattribute defined at extensionsolrfacetsearch.booleanGenerated method - Getter of theSolrSortField.ascendingattribute defined at extensionsolrfacetsearch.voidsetAscending(boolean value) Generated method - Setter ofSolrSortField.ascendingattribute defined at extensionsolrfacetsearch.voidsetFieldName(String value) Generated method - Setter ofSolrSortField.fieldNameattribute defined at extensionsolrfacetsearch.voidsetSort(SolrSortModel value) Generated method - Setter ofSolrSortField.sortattribute defined at extensionsolrfacetsearch.Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods 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
-
Field Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
_SOLRSORT2SOLRSORTFIELDREL
Generated relation code constant for relationSolrSort2SolrSortFieldReldefining source attributesortin extensionsolrfacetsearch.- See Also:
-
FIELDNAME
Generated constant - Attribute key ofSolrSortField.fieldNameattribute defined at extensionsolrfacetsearch.- See Also:
-
ASCENDING
Generated constant - Attribute key ofSolrSortField.ascendingattribute defined at extensionsolrfacetsearch.- See Also:
-
SORTPOS
Generated constant - Attribute key ofSolrSortField.sortPOSattribute defined at extensionsolrfacetsearch.- See Also:
-
SORT
Generated constant - Attribute key ofSolrSortField.sortattribute defined at extensionsolrfacetsearch.- 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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_ascending- initial attribute declared by typeSolrSortFieldat extensionsolrfacetsearch_fieldName- initial attribute declared by typeSolrSortFieldat extensionsolrfacetsearch_sort- initial attribute declared by typeSolrSortFieldat extensionsolrfacetsearch
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_ascending- initial attribute declared by typeSolrSortFieldat extensionsolrfacetsearch_fieldName- initial attribute declared by typeSolrSortFieldat extensionsolrfacetsearch_owner- initial attribute declared by typeItemat extensioncore_sort- initial attribute declared by typeSolrSortFieldat extensionsolrfacetsearch
-
-
Method Details
-
getFieldName
Generated method - Getter of theSolrSortField.fieldNameattribute defined at extensionsolrfacetsearch.- Returns:
- the fieldName - The field name to sort with.
-
getSort
Generated method - Getter of theSolrSortField.sortattribute defined at extensionsolrfacetsearch.- Returns:
- the sort
-
isAscending
@Accessor(qualifier="ascending", type=GETTER) public boolean isAscending()Generated method - Getter of theSolrSortField.ascendingattribute defined at extensionsolrfacetsearch.- Returns:
- the ascending - Is this field sorted ascending.
-
setAscending
@Accessor(qualifier="ascending", type=SETTER) public void setAscending(boolean value) Generated method - Setter ofSolrSortField.ascendingattribute defined at extensionsolrfacetsearch.- Parameters:
value- the ascending - Is this field sorted ascending.
-
setFieldName
Generated method - Setter ofSolrSortField.fieldNameattribute defined at extensionsolrfacetsearch.- Parameters:
value- the fieldName - The field name to sort with.
-
setSort
Generated method - Setter ofSolrSortField.sortattribute defined at extensionsolrfacetsearch.- Parameters:
value- the sort
-