Class SnFieldModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.searchservices.model.SnFieldModel
- All Implemented Interfaces:
Serializable
Generated model class for type SnField first defined at extension searchservices.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationSnIndexerItemSourceOperation2Fielddefining source attributeindexerItemSourceOperationsin extensionsearchservices.static final StringGenerated relation code constant for relationSnIndexType2Fielddefining source attributeindexTypein extensionsearchservices.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofSnField.fieldTypeattribute defined at extensionsearchservices.static final StringGenerated constant - Attribute key ofSnField.idattribute defined at extensionsearchservices.static final StringGenerated constant - Attribute key ofSnField.indexerItemSourceOperationsattribute defined at extensionsearchservices.static final StringGenerated constant - Attribute key ofSnField.indexTypeattribute defined at extensionsearchservices.static final StringGenerated constant - Attribute key ofSnField.indexTypePOSattribute defined at extensionsearchservices.static final StringGenerated constant - Attribute key ofSnField.localizedattribute defined at extensionsearchservices.static final StringGenerated constant - Attribute key ofSnField.multiValuedattribute defined at extensionsearchservices.static final StringGenerated constant - Attribute key ofSnField.nameattribute defined at extensionsearchservices.static final StringGenerated constant - Attribute key ofSnField.qualifierTypeIdattribute defined at extensionsearchservices.static final StringGenerated constant - Attribute key ofSnField.retrievableattribute defined at extensionsearchservices.static final StringGenerated constant - Attribute key ofSnField.searchableattribute defined at extensionsearchservices.static final StringGenerated constant - Attribute key ofSnField.searchToleranceattribute defined at extensionsearchservices.static final StringGenerated constant - Attribute key ofSnField.useForSpellcheckingattribute defined at extensionsearchservices.static final StringGenerated constant - Attribute key ofSnField.useForSuggestingattribute defined at extensionsearchservices.static final StringGenerated constant - Attribute key ofSnField.valueProviderattribute defined at extensionsearchservices.static final StringGenerated constant - Attribute key ofSnField.valueProviderParametersattribute defined at extensionsearchservices.static final StringGenerated constant - Attribute key ofSnField.weightattribute defined at extensionsearchservices.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.SnFieldModel(SnFieldType _fieldType, String _id, SnIndexTypeModel _indexType) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersSnFieldModel(SnFieldType _fieldType, String _id, SnIndexTypeModel _indexType, ItemModel _owner) 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 - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theSnField.fieldTypeattribute defined at extensionsearchservices.getId()Generated method - Getter of theSnField.idattribute defined at extensionsearchservices.Generated method - Getter of theSnField.indexerItemSourceOperationsattribute defined at extensionsearchservices.Generated method - Getter of theSnField.indexTypeattribute defined at extensionsearchservices.Generated method - Getter of theSnField.localizedattribute defined at extensionsearchservices.Generated method - Getter of theSnField.multiValuedattribute defined at extensionsearchservices.getName()Generated method - Getter of theSnField.nameattribute defined at extensionsearchservices.Generated method - Getter of theSnField.nameattribute defined at extensionsearchservices.Generated method - Getter of theSnField.qualifierTypeIdattribute defined at extensionsearchservices.Generated method - Getter of theSnField.retrievableattribute defined at extensionsearchservices.Generated method - Getter of theSnField.searchableattribute defined at extensionsearchservices.Generated method - Getter of theSnField.searchToleranceattribute defined at extensionsearchservices.Generated method - Getter of theSnField.useForSpellcheckingattribute defined at extensionsearchservices.Generated method - Getter of theSnField.useForSuggestingattribute defined at extensionsearchservices.Generated method - Getter of theSnField.valueProviderattribute defined at extensionsearchservices.Generated method - Getter of theSnField.valueProviderParametersattribute defined at extensionsearchservices.Generated method - Getter of theSnField.weightattribute defined at extensionsearchservices.voidsetFieldType(SnFieldType value) Generated method - Setter ofSnField.fieldTypeattribute defined at extensionsearchservices.voidGenerated method - Setter ofSnField.idattribute defined at extensionsearchservices.voidGenerated method - Setter ofSnField.indexerItemSourceOperationsattribute defined at extensionsearchservices.voidsetIndexType(SnIndexTypeModel value) Generated method - Initial setter ofSnField.indexTypeattribute defined at extensionsearchservices.voidsetLocalized(Boolean value) Generated method - Setter ofSnField.localizedattribute defined at extensionsearchservices.voidsetMultiValued(Boolean value) Generated method - Setter ofSnField.multiValuedattribute defined at extensionsearchservices.voidGenerated method - Setter ofSnField.nameattribute defined at extensionsearchservices.voidGenerated method - Setter ofSnField.nameattribute defined at extensionsearchservices.voidsetQualifierTypeId(String value) Generated method - Setter ofSnField.qualifierTypeIdattribute defined at extensionsearchservices.voidsetRetrievable(Boolean value) Generated method - Setter ofSnField.retrievableattribute defined at extensionsearchservices.voidsetSearchable(Boolean value) Generated method - Setter ofSnField.searchableattribute defined at extensionsearchservices.voidGenerated method - Setter ofSnField.searchToleranceattribute defined at extensionsearchservices.voidsetUseForSpellchecking(Boolean value) Generated method - Setter ofSnField.useForSpellcheckingattribute defined at extensionsearchservices.voidsetUseForSuggesting(Boolean value) Generated method - Setter ofSnField.useForSuggestingattribute defined at extensionsearchservices.voidsetValueProvider(String value) Generated method - Setter ofSnField.valueProviderattribute defined at extensionsearchservices.voidsetValueProviderParameters(Map<String, String> value) Generated method - Setter ofSnField.valueProviderParametersattribute defined at extensionsearchservices.voidGenerated method - Setter ofSnField.weightattribute defined at extensionsearchservices.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:
-
_SNINDEXTYPE2FIELD
Generated relation code constant for relationSnIndexType2Fielddefining source attributeindexTypein extensionsearchservices.- See Also:
-
_SNINDEXERITEMSOURCEOPERATION2FIELD
Generated relation code constant for relationSnIndexerItemSourceOperation2Fielddefining source attributeindexerItemSourceOperationsin extensionsearchservices.- See Also:
-
ID
Generated constant - Attribute key ofSnField.idattribute defined at extensionsearchservices.- See Also:
-
NAME
Generated constant - Attribute key ofSnField.nameattribute defined at extensionsearchservices.- See Also:
-
FIELDTYPE
Generated constant - Attribute key ofSnField.fieldTypeattribute defined at extensionsearchservices.- See Also:
-
VALUEPROVIDER
Generated constant - Attribute key ofSnField.valueProviderattribute defined at extensionsearchservices.- See Also:
-
VALUEPROVIDERPARAMETERS
Generated constant - Attribute key ofSnField.valueProviderParametersattribute defined at extensionsearchservices.- See Also:
-
RETRIEVABLE
Generated constant - Attribute key ofSnField.retrievableattribute defined at extensionsearchservices.- See Also:
-
SEARCHABLE
Generated constant - Attribute key ofSnField.searchableattribute defined at extensionsearchservices.- See Also:
-
SEARCHTOLERANCE
Generated constant - Attribute key ofSnField.searchToleranceattribute defined at extensionsearchservices.- See Also:
-
LOCALIZED
Generated constant - Attribute key ofSnField.localizedattribute defined at extensionsearchservices.- See Also:
-
QUALIFIERTYPEID
Generated constant - Attribute key ofSnField.qualifierTypeIdattribute defined at extensionsearchservices.- See Also:
-
MULTIVALUED
Generated constant - Attribute key ofSnField.multiValuedattribute defined at extensionsearchservices.- See Also:
-
USEFORSPELLCHECKING
Generated constant - Attribute key ofSnField.useForSpellcheckingattribute defined at extensionsearchservices.- See Also:
-
USEFORSUGGESTING
Generated constant - Attribute key ofSnField.useForSuggestingattribute defined at extensionsearchservices.- See Also:
-
WEIGHT
Generated constant - Attribute key ofSnField.weightattribute defined at extensionsearchservices.- See Also:
-
INDEXTYPEPOS
Generated constant - Attribute key ofSnField.indexTypePOSattribute defined at extensionsearchservices.- See Also:
-
INDEXTYPE
Generated constant - Attribute key ofSnField.indexTypeattribute defined at extensionsearchservices.- See Also:
-
INDEXERITEMSOURCEOPERATIONS
Generated constant - Attribute key ofSnField.indexerItemSourceOperationsattribute defined at extensionsearchservices.- See Also:
-
-
Constructor Details
-
SnFieldModel
public SnFieldModel()Generated constructor - Default constructor for generic creation. -
SnFieldModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
SnFieldModel
@Deprecated(since="4.1.1", forRemoval=true) public SnFieldModel(SnFieldType _fieldType, String _id, SnIndexTypeModel _indexType) 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:
_fieldType- initial attribute declared by typeSnFieldat extensionsearchservices_id- initial attribute declared by typeSnFieldat extensionsearchservices_indexType- initial attribute declared by typeSnFieldat extensionsearchservices
-
SnFieldModel
@Deprecated(since="4.1.1", forRemoval=true) public SnFieldModel(SnFieldType _fieldType, String _id, SnIndexTypeModel _indexType, ItemModel _owner) 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:
_fieldType- initial attribute declared by typeSnFieldat extensionsearchservices_id- initial attribute declared by typeSnFieldat extensionsearchservices_indexType- initial attribute declared by typeSnFieldat extensionsearchservices_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getFieldType
Generated method - Getter of theSnField.fieldTypeattribute defined at extensionsearchservices.- Returns:
- the fieldType
-
getId
Generated method - Getter of theSnField.idattribute defined at extensionsearchservices.- Returns:
- the id
-
getIndexerItemSourceOperations
@Accessor(qualifier="indexerItemSourceOperations", type=GETTER) public List<SnIndexerItemSourceOperationModel> getIndexerItemSourceOperations()Generated method - Getter of theSnField.indexerItemSourceOperationsattribute defined at extensionsearchservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the indexerItemSourceOperations
-
getIndexType
Generated method - Getter of theSnField.indexTypeattribute defined at extensionsearchservices.- Returns:
- the indexType
-
getLocalized
Generated method - Getter of theSnField.localizedattribute defined at extensionsearchservices.- Returns:
- the localized
-
getMultiValued
Generated method - Getter of theSnField.multiValuedattribute defined at extensionsearchservices.- Returns:
- the multiValued
-
getName
Generated method - Getter of theSnField.nameattribute defined at extensionsearchservices.- Returns:
- the name
-
getName
Generated method - Getter of theSnField.nameattribute defined at extensionsearchservices.- Parameters:
loc- the value localization key- Returns:
- the name
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getQualifierTypeId
Generated method - Getter of theSnField.qualifierTypeIdattribute defined at extensionsearchservices.- Returns:
- the qualifierTypeId
-
getRetrievable
Generated method - Getter of theSnField.retrievableattribute defined at extensionsearchservices.- Returns:
- the retrievable
-
getSearchable
Generated method - Getter of theSnField.searchableattribute defined at extensionsearchservices.- Returns:
- the searchable
-
getSearchTolerance
Generated method - Getter of theSnField.searchToleranceattribute defined at extensionsearchservices.- Returns:
- the searchTolerance
-
getUseForSpellchecking
Generated method - Getter of theSnField.useForSpellcheckingattribute defined at extensionsearchservices.- Returns:
- the useForSpellchecking
-
getUseForSuggesting
Generated method - Getter of theSnField.useForSuggestingattribute defined at extensionsearchservices.- Returns:
- the useForSuggesting
-
getValueProvider
Generated method - Getter of theSnField.valueProviderattribute defined at extensionsearchservices.- Returns:
- the valueProvider
-
getValueProviderParameters
@Accessor(qualifier="valueProviderParameters", type=GETTER) public Map<String,String> getValueProviderParameters()Generated method - Getter of theSnField.valueProviderParametersattribute defined at extensionsearchservices.- Returns:
- the valueProviderParameters
-
getWeight
Generated method - Getter of theSnField.weightattribute defined at extensionsearchservices.- Returns:
- the weight
-
setFieldType
Generated method - Setter ofSnField.fieldTypeattribute defined at extensionsearchservices.- Parameters:
value- the fieldType
-
setId
Generated method - Setter ofSnField.idattribute defined at extensionsearchservices.- Parameters:
value- the id
-
setIndexerItemSourceOperations
@Accessor(qualifier="indexerItemSourceOperations", type=SETTER) public void setIndexerItemSourceOperations(List<SnIndexerItemSourceOperationModel> value) Generated method - Setter ofSnField.indexerItemSourceOperationsattribute defined at extensionsearchservices.- Parameters:
value- the indexerItemSourceOperations
-
setIndexType
Generated method - Initial setter ofSnField.indexTypeattribute defined at extensionsearchservices. Can only be used at creation of model - before first save.- Parameters:
value- the indexType
-
setLocalized
Generated method - Setter ofSnField.localizedattribute defined at extensionsearchservices.- Parameters:
value- the localized
-
setMultiValued
Generated method - Setter ofSnField.multiValuedattribute defined at extensionsearchservices.- Parameters:
value- the multiValued
-
setName
Generated method - Setter ofSnField.nameattribute defined at extensionsearchservices.- Parameters:
value- the name
-
setName
Generated method - Setter ofSnField.nameattribute defined at extensionsearchservices.- Parameters:
value- the nameloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setQualifierTypeId
Generated method - Setter ofSnField.qualifierTypeIdattribute defined at extensionsearchservices.- Parameters:
value- the qualifierTypeId
-
setRetrievable
Generated method - Setter ofSnField.retrievableattribute defined at extensionsearchservices.- Parameters:
value- the retrievable
-
setSearchable
Generated method - Setter ofSnField.searchableattribute defined at extensionsearchservices.- Parameters:
value- the searchable
-
setSearchTolerance
@Accessor(qualifier="searchTolerance", type=SETTER) public void setSearchTolerance(SnSearchTolerance value) Generated method - Setter ofSnField.searchToleranceattribute defined at extensionsearchservices.- Parameters:
value- the searchTolerance
-
setUseForSpellchecking
@Accessor(qualifier="useForSpellchecking", type=SETTER) public void setUseForSpellchecking(Boolean value) Generated method - Setter ofSnField.useForSpellcheckingattribute defined at extensionsearchservices.- Parameters:
value- the useForSpellchecking
-
setUseForSuggesting
Generated method - Setter ofSnField.useForSuggestingattribute defined at extensionsearchservices.- Parameters:
value- the useForSuggesting
-
setValueProvider
Generated method - Setter ofSnField.valueProviderattribute defined at extensionsearchservices.- Parameters:
value- the valueProvider
-
setValueProviderParameters
@Accessor(qualifier="valueProviderParameters", type=SETTER) public void setValueProviderParameters(Map<String, String> value) Generated method - Setter ofSnField.valueProviderParametersattribute defined at extensionsearchservices.- Parameters:
value- the valueProviderParameters
-
setWeight
Generated method - Setter ofSnField.weightattribute defined at extensionsearchservices.- Parameters:
value- the weight
-