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
_ASSEARCHPROFILEACTIVATIONSET2SEARCHPROFILE
Generated relation code constant for relationAsSearchProfileActivationSet2SearchProfile
defining source attributeactivationSet
in extensionadaptivesearch
.static java.lang.String
_TYPECODE
Generated model type code constant.static java.lang.String
ACTIVATIONSET
Generated constant - Attribute key ofAbstractAsSearchProfile.activationSet
attribute defined at extensionadaptivesearch
.static java.lang.String
ACTIVATIONSETPOS
Generated constant - Attribute key ofAbstractAsSearchProfile.activationSetPOS
attribute defined at extensionadaptivesearch
.static java.lang.String
CATALOGVERSION
Generated constant - Attribute key ofAbstractAsSearchProfile.catalogVersion
attribute defined at extensionadaptivesearch
.static java.lang.String
CODE
Generated constant - Attribute key ofAbstractAsSearchProfile.code
attribute defined at extensionadaptivesearch
.static java.lang.String
INDEXTYPE
Generated constant - Attribute key ofAbstractAsSearchProfile.indexType
attribute defined at extensionadaptivesearch
.static java.lang.String
NAME
Generated constant - Attribute key ofAbstractAsSearchProfile.name
attribute 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 AsSearchProfileActivationSetModel
getActivationSet()
Generated method - Getter of theAbstractAsSearchProfile.activationSet
attribute defined at extensionadaptivesearch
.CatalogVersionModel
getCatalogVersion()
Generated method - Getter of theAbstractAsSearchProfile.catalogVersion
attribute defined at extensionadaptivesearch
.java.lang.String
getCode()
Generated method - Getter of theAbstractAsSearchProfile.code
attribute defined at extensionadaptivesearch
.java.lang.String
getIndexType()
Generated method - Getter of theAbstractAsSearchProfile.indexType
attribute defined at extensionadaptivesearch
.java.lang.String
getName()
Generated method - Getter of theAbstractAsSearchProfile.name
attribute defined at extensionadaptivesearch
.java.lang.String
getName(java.util.Locale loc)
Generated method - Getter of theAbstractAsSearchProfile.name
attribute defined at extensionadaptivesearch
.void
setActivationSet(AsSearchProfileActivationSetModel value)
Generated method - Setter ofAbstractAsSearchProfile.activationSet
attribute defined at extensionadaptivesearch
.void
setCatalogVersion(CatalogVersionModel value)
Generated method - Initial setter ofAbstractAsSearchProfile.catalogVersion
attribute defined at extensionadaptivesearch
.void
setCode(java.lang.String value)
Generated method - Setter ofAbstractAsSearchProfile.code
attribute defined at extensionadaptivesearch
.void
setIndexType(java.lang.String value)
Generated method - Initial setter ofAbstractAsSearchProfile.indexType
attribute defined at extensionadaptivesearch
.void
setName(java.lang.String value)
Generated method - Setter ofAbstractAsSearchProfile.name
attribute defined at extensionadaptivesearch
.void
setName(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofAbstractAsSearchProfile.name
attribute 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 relationAsSearchProfileActivationSet2SearchProfile
defining source attributeactivationSet
in extensionadaptivesearch
.- See Also:
- Constant Field Values
-
CATALOGVERSION
public static final java.lang.String CATALOGVERSION
Generated constant - Attribute key ofAbstractAsSearchProfile.catalogVersion
attribute defined at extensionadaptivesearch
.- See Also:
- Constant Field Values
-
CODE
public static final java.lang.String CODE
Generated constant - Attribute key ofAbstractAsSearchProfile.code
attribute defined at extensionadaptivesearch
.- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
Generated constant - Attribute key ofAbstractAsSearchProfile.name
attribute defined at extensionadaptivesearch
.- See Also:
- Constant Field Values
-
INDEXTYPE
public static final java.lang.String INDEXTYPE
Generated constant - Attribute key ofAbstractAsSearchProfile.indexType
attribute defined at extensionadaptivesearch
.- See Also:
- Constant Field Values
-
ACTIVATIONSETPOS
public static final java.lang.String ACTIVATIONSETPOS
Generated constant - Attribute key ofAbstractAsSearchProfile.activationSetPOS
attribute defined at extensionadaptivesearch
.- See Also:
- Constant Field Values
-
ACTIVATIONSET
public static final java.lang.String ACTIVATIONSET
Generated constant - Attribute key ofAbstractAsSearchProfile.activationSet
attribute 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 typeAbstractAsSearchProfile
at extensionadaptivesearch
_indexType
- initial attribute declared by typeAbstractAsSearchProfile
at 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 typeAbstractAsSearchProfile
at extensionadaptivesearch
_code
- initial attribute declared by typeAbstractAsSearchProfile
at extensionadaptivesearch
_indexType
- initial attribute declared by typeAbstractAsSearchProfile
at extensionadaptivesearch
_owner
- initial attribute declared by typeItem
at extensioncore
-
-
Method Detail
-
getActivationSet
@Accessor(qualifier="activationSet", type=GETTER) public AsSearchProfileActivationSetModel getActivationSet()
Generated method - Getter of theAbstractAsSearchProfile.activationSet
attribute defined at extensionadaptivesearch
.- Returns:
- the activationSet
-
getCatalogVersion
@Accessor(qualifier="catalogVersion", type=GETTER) public CatalogVersionModel getCatalogVersion()
Generated method - Getter of theAbstractAsSearchProfile.catalogVersion
attribute defined at extensionadaptivesearch
.- Returns:
- the catalogVersion
-
getCode
@Accessor(qualifier="code", type=GETTER) public java.lang.String getCode()
Generated method - Getter of theAbstractAsSearchProfile.code
attribute defined at extensionadaptivesearch
.- Returns:
- the code
-
getIndexType
@Accessor(qualifier="indexType", type=GETTER) public java.lang.String getIndexType()
Generated method - Getter of theAbstractAsSearchProfile.indexType
attribute defined at extensionadaptivesearch
.- Returns:
- the indexType
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName()
Generated method - Getter of theAbstractAsSearchProfile.name
attribute 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.name
attribute 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.activationSet
attribute defined at extensionadaptivesearch
.- Parameters:
value
- the activationSet
-
setCatalogVersion
@Accessor(qualifier="catalogVersion", type=SETTER) public void setCatalogVersion(CatalogVersionModel value)
Generated method - Initial setter ofAbstractAsSearchProfile.catalogVersion
attribute 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.code
attribute 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.indexType
attribute 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.name
attribute 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.name
attribute defined at extensionadaptivesearch
.- Parameters:
value
- the nameloc
- the value localization key- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
-