Class AbstractAsSearchProfileModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.adaptivesearch.model.AbstractAsSearchProfileModel
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
AsCategoryAwareSearchProfileModel,AsSimpleSearchProfileModel
public class AbstractAsSearchProfileModel extends ItemModel
Generated model class for type AbstractAsSearchProfile first defined at extension adaptivesearch.- 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_ASSEARCHPROFILEACTIVATIONSET2SEARCHPROFILEGenerated relation code constant for relationAsSearchProfileActivationSet2SearchProfiledefining source attributeactivationSetin extensionadaptivesearch.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringACTIVATIONSETGenerated constant - Attribute key ofAbstractAsSearchProfile.activationSetattribute defined at extensionadaptivesearch.static java.lang.StringACTIVATIONSETPOSGenerated constant - Attribute key ofAbstractAsSearchProfile.activationSetPOSattribute defined at extensionadaptivesearch.static java.lang.StringCATALOGVERSIONGenerated constant - Attribute key ofAbstractAsSearchProfile.catalogVersionattribute defined at extensionadaptivesearch.static java.lang.StringCODEGenerated constant - Attribute key ofAbstractAsSearchProfile.codeattribute defined at extensionadaptivesearch.static java.lang.StringINDEXTYPEGenerated constant - Attribute key ofAbstractAsSearchProfile.indexTypeattribute defined at extensionadaptivesearch.static java.lang.StringNAMEGenerated constant - Attribute key ofAbstractAsSearchProfile.nameattribute defined at extensionadaptivesearch.-
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 AbstractAsSearchProfileModel()Generated constructor - Default constructor for generic creation.AbstractAsSearchProfileModel(CatalogVersionModel _catalogVersion, java.lang.String _code, java.lang.String _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 parametersAbstractAsSearchProfileModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextAbstractAsSearchProfileModel(java.lang.String _code, java.lang.String _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 parameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AsSearchProfileActivationSetModelgetActivationSet()Generated method - Getter of theAbstractAsSearchProfile.activationSetattribute defined at extensionadaptivesearch.CatalogVersionModelgetCatalogVersion()Generated method - Getter of theAbstractAsSearchProfile.catalogVersionattribute defined at extensionadaptivesearch.java.lang.StringgetCode()Generated method - Getter of theAbstractAsSearchProfile.codeattribute defined at extensionadaptivesearch.java.lang.StringgetIndexType()Generated method - Getter of theAbstractAsSearchProfile.indexTypeattribute defined at extensionadaptivesearch.java.lang.StringgetName()Generated method - Getter of theAbstractAsSearchProfile.nameattribute defined at extensionadaptivesearch.java.lang.StringgetName(java.util.Locale loc)Generated method - Getter of theAbstractAsSearchProfile.nameattribute defined at extensionadaptivesearch.voidsetActivationSet(AsSearchProfileActivationSetModel value)Generated method - Setter ofAbstractAsSearchProfile.activationSetattribute defined at extensionadaptivesearch.voidsetCatalogVersion(CatalogVersionModel value)Generated method - Initial setter ofAbstractAsSearchProfile.catalogVersionattribute defined at extensionadaptivesearch.voidsetCode(java.lang.String value)Generated method - Setter ofAbstractAsSearchProfile.codeattribute defined at extensionadaptivesearch.voidsetIndexType(java.lang.String value)Generated method - Initial setter ofAbstractAsSearchProfile.indexTypeattribute defined at extensionadaptivesearch.voidsetName(java.lang.String value)Generated method - Setter ofAbstractAsSearchProfile.nameattribute defined at extensionadaptivesearch.voidsetName(java.lang.String value, java.util.Locale loc)Generated method - Setter ofAbstractAsSearchProfile.nameattribute defined at extensionadaptivesearch.-
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
-
_ASSEARCHPROFILEACTIVATIONSET2SEARCHPROFILE
public static final java.lang.String _ASSEARCHPROFILEACTIVATIONSET2SEARCHPROFILE
Generated relation code constant for relationAsSearchProfileActivationSet2SearchProfiledefining source attributeactivationSetin extensionadaptivesearch.- See Also:
- Constant Field Values
-
CATALOGVERSION
public static final java.lang.String CATALOGVERSION
Generated constant - Attribute key ofAbstractAsSearchProfile.catalogVersionattribute defined at extensionadaptivesearch.- See Also:
- Constant Field Values
-
CODE
public static final java.lang.String CODE
Generated constant - Attribute key ofAbstractAsSearchProfile.codeattribute defined at extensionadaptivesearch.- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
Generated constant - Attribute key ofAbstractAsSearchProfile.nameattribute defined at extensionadaptivesearch.- See Also:
- Constant Field Values
-
INDEXTYPE
public static final java.lang.String INDEXTYPE
Generated constant - Attribute key ofAbstractAsSearchProfile.indexTypeattribute defined at extensionadaptivesearch.- See Also:
- Constant Field Values
-
ACTIVATIONSETPOS
public static final java.lang.String ACTIVATIONSETPOS
Generated constant - Attribute key ofAbstractAsSearchProfile.activationSetPOSattribute defined at extensionadaptivesearch.- See Also:
- Constant Field Values
-
ACTIVATIONSET
public static final java.lang.String ACTIVATIONSET
Generated constant - Attribute key ofAbstractAsSearchProfile.activationSetattribute defined at extensionadaptivesearch.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AbstractAsSearchProfileModel
public AbstractAsSearchProfileModel()
Generated constructor - Default constructor for generic creation.
-
AbstractAsSearchProfileModel
public AbstractAsSearchProfileModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
AbstractAsSearchProfileModel
@Deprecated(since="4.1.1", forRemoval=true) public AbstractAsSearchProfileModel(java.lang.String _code, java.lang.String _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:
_code- initial attribute declared by typeAbstractAsSearchProfileat extensionadaptivesearch_indexType- initial attribute declared by typeAbstractAsSearchProfileat extensionadaptivesearch
-
AbstractAsSearchProfileModel
@Deprecated(since="4.1.1", forRemoval=true) public AbstractAsSearchProfileModel(CatalogVersionModel _catalogVersion, java.lang.String _code, java.lang.String _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:
_catalogVersion- initial attribute declared by typeAbstractAsSearchProfileat extensionadaptivesearch_code- initial attribute declared by typeAbstractAsSearchProfileat extensionadaptivesearch_indexType- initial attribute declared by typeAbstractAsSearchProfileat extensionadaptivesearch_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Detail
-
getActivationSet
@Accessor(qualifier="activationSet", type=GETTER) public AsSearchProfileActivationSetModel getActivationSet()
Generated method - Getter of theAbstractAsSearchProfile.activationSetattribute defined at extensionadaptivesearch.- Returns:
- the activationSet
-
getCatalogVersion
@Accessor(qualifier="catalogVersion", type=GETTER) public CatalogVersionModel getCatalogVersion()
Generated method - Getter of theAbstractAsSearchProfile.catalogVersionattribute defined at extensionadaptivesearch.- Returns:
- the catalogVersion
-
getCode
@Accessor(qualifier="code", type=GETTER) public java.lang.String getCode()
Generated method - Getter of theAbstractAsSearchProfile.codeattribute defined at extensionadaptivesearch.- Returns:
- the code
-
getIndexType
@Accessor(qualifier="indexType", type=GETTER) public java.lang.String getIndexType()
Generated method - Getter of theAbstractAsSearchProfile.indexTypeattribute defined at extensionadaptivesearch.- Returns:
- the indexType
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName()
Generated method - Getter of theAbstractAsSearchProfile.nameattribute defined at extensionadaptivesearch.- Returns:
- the name
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName(java.util.Locale loc)
Generated method - Getter of theAbstractAsSearchProfile.nameattribute defined at extensionadaptivesearch.- Parameters:
loc- the value localization key- Returns:
- the name
- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
setActivationSet
@Accessor(qualifier="activationSet", type=SETTER) public void setActivationSet(AsSearchProfileActivationSetModel value)
Generated method - Setter ofAbstractAsSearchProfile.activationSetattribute defined at extensionadaptivesearch.- Parameters:
value- the activationSet
-
setCatalogVersion
@Accessor(qualifier="catalogVersion", type=SETTER) public void setCatalogVersion(CatalogVersionModel value)
Generated method - Initial setter ofAbstractAsSearchProfile.catalogVersionattribute defined at extensionadaptivesearch. Can only be used at creation of model - before first save.- Parameters:
value- the catalogVersion
-
setCode
@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.String value)
Generated method - Setter ofAbstractAsSearchProfile.codeattribute defined at extensionadaptivesearch.- Parameters:
value- the code
-
setIndexType
@Accessor(qualifier="indexType", type=SETTER) public void setIndexType(java.lang.String value)
Generated method - Initial setter ofAbstractAsSearchProfile.indexTypeattribute defined at extensionadaptivesearch. Can only be used at creation of model - before first save.- Parameters:
value- the indexType
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value)
Generated method - Setter ofAbstractAsSearchProfile.nameattribute defined at extensionadaptivesearch.- Parameters:
value- the name
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofAbstractAsSearchProfile.nameattribute defined at extensionadaptivesearch.- Parameters:
value- the nameloc- the value localization key- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
-