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:
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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_SOLRSORT2SOLRSORTFIELDRELGenerated relation code constant for relationSolrSort2SolrSortFieldReldefining source attributesortin extensionsolrfacetsearch.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringASCENDINGGenerated constant - Attribute key ofSolrSortField.ascendingattribute defined at extensionsolrfacetsearch.static java.lang.StringFIELDNAMEGenerated constant - Attribute key ofSolrSortField.fieldNameattribute defined at extensionsolrfacetsearch.static java.lang.StringSORTGenerated constant - Attribute key ofSolrSortField.sortattribute defined at extensionsolrfacetsearch.static java.lang.StringSORTPOSGenerated 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, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description SolrSortFieldModel()Generated constructor - Default constructor for generic creation.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 parametersSolrSortFieldModel(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 parametersSolrSortFieldModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetFieldName()Generated method - Getter of theSolrSortField.fieldNameattribute defined at extensionsolrfacetsearch.SolrSortModelgetSort()Generated method - Getter of theSolrSortField.sortattribute defined at extensionsolrfacetsearch.booleanisAscending()Generated method - Getter of theSolrSortField.ascendingattribute defined at extensionsolrfacetsearch.voidsetAscending(boolean value)Generated method - Setter ofSolrSortField.ascendingattribute defined at extensionsolrfacetsearch.voidsetFieldName(java.lang.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, setOwner
-
Methods 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 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 relationSolrSort2SolrSortFieldReldefining source attributesortin extensionsolrfacetsearch.- See Also:
- Constant Field Values
-
FIELDNAME
public static final java.lang.String FIELDNAME
Generated constant - Attribute key ofSolrSortField.fieldNameattribute defined at extensionsolrfacetsearch.- See Also:
- Constant Field Values
-
ASCENDING
public static final java.lang.String ASCENDING
Generated constant - Attribute key ofSolrSortField.ascendingattribute defined at extensionsolrfacetsearch.- See Also:
- Constant Field Values
-
SORTPOS
public static final java.lang.String SORTPOS
Generated constant - Attribute key ofSolrSortField.sortPOSattribute defined at extensionsolrfacetsearch.- See Also:
- Constant Field Values
-
SORT
public static final java.lang.String SORT
Generated constant - Attribute key ofSolrSortField.sortattribute defined at extensionsolrfacetsearch.- 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 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, 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 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 Detail
-
getFieldName
@Accessor(qualifier="fieldName", type=GETTER) public java.lang.String getFieldName()
Generated method - Getter of theSolrSortField.fieldNameattribute defined at extensionsolrfacetsearch.- Returns:
- the fieldName - The field name to sort with.
-
getSort
@Accessor(qualifier="sort", type=GETTER) public SolrSortModel 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
@Accessor(qualifier="fieldName", type=SETTER) public void setFieldName(java.lang.String value)
Generated method - Setter ofSolrSortField.fieldNameattribute defined at extensionsolrfacetsearch.- Parameters:
value- the fieldName - The field name to sort with.
-
setSort
@Accessor(qualifier="sort", type=SETTER) public void setSort(SolrSortModel value)
Generated method - Setter ofSolrSortField.sortattribute defined at extensionsolrfacetsearch.- Parameters:
value- the sort
-
-