Class CxSegmentModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.personalizationservices.model.CxSegmentModel
-
- All Implemented Interfaces:
java.io.Serializable
public class CxSegmentModel extends ItemModel
Generated model class for type CxSegment first defined at extension personalizationservices.- 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_CXSEGMENTTOEXPRESSIONTRIGGERGenerated relation code constant for relationCxSegmentToExpressionTriggerdefining source attributeexpressionTriggersin extensionpersonalizationservices.static java.lang.String_CXSEGMENTTOTRIGGERGenerated relation code constant for relationCxSegmentToTriggerdefining source attributetriggersin extensionpersonalizationservices.static java.lang.String_PREVIEWDATATOCXSEGMENTGenerated relation code constant for relationPreviewDataToCxSegmentdefining source attributepreviewsin extensionpersonalizationcms.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringAUTOCREATEDGenerated constant - Attribute key ofCxSegment.autoCreatedattribute defined at extensionpersonalizationservices.static java.lang.StringCODEGenerated constant - Attribute key ofCxSegment.codeattribute defined at extensionpersonalizationservices.static java.lang.StringDESCRIPTIONGenerated constant - Attribute key ofCxSegment.descriptionattribute defined at extensionpersonalizationservices.static java.lang.StringEXPRESSIONTRIGGERSGenerated constant - Attribute key ofCxSegment.expressionTriggersattribute defined at extensionpersonalizationservices.static java.lang.StringPREVIEWSGenerated constant - Attribute key ofCxSegment.previewsattribute defined at extensionpersonalizationcms.static java.lang.StringPROVIDERSGenerated constant - Attribute key ofCxSegment.providersattribute defined at extensionpersonalizationservices.static java.lang.StringTRIGGERSGenerated constant - Attribute key ofCxSegment.triggersattribute defined at extensionpersonalizationservices.static java.lang.StringUSERTOSEGMENTSGenerated constant - Attribute key ofCxSegment.userToSegmentsattribute defined at extensionpersonalizationservices.-
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 CxSegmentModel()Generated constructor - Default constructor for generic creation.CxSegmentModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextCxSegmentModel(java.lang.String _code)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersCxSegmentModel(java.lang.String _code, 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 parameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCode()Generated method - Getter of theCxSegment.codeattribute defined at extensionpersonalizationservices.java.lang.StringgetDescription()Generated method - Getter of theCxSegment.descriptionattribute defined at extensionpersonalizationservices.java.util.Collection<CxExpressionTriggerModel>getExpressionTriggers()Generated method - Getter of theCxSegment.expressionTriggersattribute defined at extensionpersonalizationservices.java.util.Collection<PreviewDataModel>getPreviews()Generated method - Getter of theCxSegment.previewsattribute defined at extensionpersonalizationcms.java.util.Set<java.lang.String>getProviders()Generated method - Getter of theCxSegment.providersattribute defined at extensionpersonalizationservices.java.util.Collection<CxSegmentTriggerModel>getTriggers()Generated method - Getter of theCxSegment.triggersattribute defined at extensionpersonalizationservices.java.util.Collection<CxUserToSegmentModel>getUserToSegments()Generated method - Getter of theCxSegment.userToSegmentsattribute defined at extensionpersonalizationservices.booleanisAutoCreated()Generated method - Getter of theCxSegment.autoCreatedattribute defined at extensionpersonalizationservices.voidsetAutoCreated(boolean value)Generated method - Setter ofCxSegment.autoCreatedattribute defined at extensionpersonalizationservices.voidsetCode(java.lang.String value)Generated method - Initial setter ofCxSegment.codeattribute defined at extensionpersonalizationservices.voidsetDescription(java.lang.String value)Generated method - Setter ofCxSegment.descriptionattribute defined at extensionpersonalizationservices.voidsetExpressionTriggers(java.util.Collection<CxExpressionTriggerModel> value)Generated method - Setter ofCxSegment.expressionTriggersattribute defined at extensionpersonalizationservices.voidsetPreviews(java.util.Collection<PreviewDataModel> value)Generated method - Setter ofCxSegment.previewsattribute defined at extensionpersonalizationcms.voidsetProviders(java.util.Set<java.lang.String> value)Generated method - Setter ofCxSegment.providersattribute defined at extensionpersonalizationservices.voidsetTriggers(java.util.Collection<CxSegmentTriggerModel> value)Generated method - Setter ofCxSegment.triggersattribute defined at extensionpersonalizationservices.voidsetUserToSegments(java.util.Collection<CxUserToSegmentModel> value)Generated method - Setter ofCxSegment.userToSegmentsattribute defined at extensionpersonalizationservices.-
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
-
_CXSEGMENTTOTRIGGER
public static final java.lang.String _CXSEGMENTTOTRIGGER
Generated relation code constant for relationCxSegmentToTriggerdefining source attributetriggersin extensionpersonalizationservices.- See Also:
- Constant Field Values
-
_CXSEGMENTTOEXPRESSIONTRIGGER
public static final java.lang.String _CXSEGMENTTOEXPRESSIONTRIGGER
Generated relation code constant for relationCxSegmentToExpressionTriggerdefining source attributeexpressionTriggersin extensionpersonalizationservices.- See Also:
- Constant Field Values
-
_PREVIEWDATATOCXSEGMENT
public static final java.lang.String _PREVIEWDATATOCXSEGMENT
Generated relation code constant for relationPreviewDataToCxSegmentdefining source attributepreviewsin extensionpersonalizationcms.- See Also:
- Constant Field Values
-
CODE
public static final java.lang.String CODE
Generated constant - Attribute key ofCxSegment.codeattribute defined at extensionpersonalizationservices.- See Also:
- Constant Field Values
-
DESCRIPTION
public static final java.lang.String DESCRIPTION
Generated constant - Attribute key ofCxSegment.descriptionattribute defined at extensionpersonalizationservices.- See Also:
- Constant Field Values
-
AUTOCREATED
public static final java.lang.String AUTOCREATED
Generated constant - Attribute key ofCxSegment.autoCreatedattribute defined at extensionpersonalizationservices.- See Also:
- Constant Field Values
-
PROVIDERS
public static final java.lang.String PROVIDERS
Generated constant - Attribute key ofCxSegment.providersattribute defined at extensionpersonalizationservices.- See Also:
- Constant Field Values
-
TRIGGERS
public static final java.lang.String TRIGGERS
Generated constant - Attribute key ofCxSegment.triggersattribute defined at extensionpersonalizationservices.- See Also:
- Constant Field Values
-
EXPRESSIONTRIGGERS
public static final java.lang.String EXPRESSIONTRIGGERS
Generated constant - Attribute key ofCxSegment.expressionTriggersattribute defined at extensionpersonalizationservices.- See Also:
- Constant Field Values
-
USERTOSEGMENTS
public static final java.lang.String USERTOSEGMENTS
Generated constant - Attribute key ofCxSegment.userToSegmentsattribute defined at extensionpersonalizationservices.- See Also:
- Constant Field Values
-
PREVIEWS
public static final java.lang.String PREVIEWS
Generated constant - Attribute key ofCxSegment.previewsattribute defined at extensionpersonalizationcms.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CxSegmentModel
public CxSegmentModel()
Generated constructor - Default constructor for generic creation.
-
CxSegmentModel
public CxSegmentModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
CxSegmentModel
@Deprecated(since="4.1.1", forRemoval=true) public CxSegmentModel(java.lang.String _code)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 typeCxSegmentat extensionpersonalizationservices
-
CxSegmentModel
@Deprecated(since="4.1.1", forRemoval=true) public CxSegmentModel(java.lang.String _code, 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:
_code- initial attribute declared by typeCxSegmentat extensionpersonalizationservices_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Detail
-
getCode
@Accessor(qualifier="code", type=GETTER) public java.lang.String getCode()
Generated method - Getter of theCxSegment.codeattribute defined at extensionpersonalizationservices.- Returns:
- the code - Unique code of the segment
-
getDescription
@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription()
Generated method - Getter of theCxSegment.descriptionattribute defined at extensionpersonalizationservices.- Returns:
- the description - Description of segment
-
getExpressionTriggers
@Accessor(qualifier="expressionTriggers", type=GETTER) public java.util.Collection<CxExpressionTriggerModel> getExpressionTriggers()
Generated method - Getter of theCxSegment.expressionTriggersattribute defined at extensionpersonalizationservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the expressionTriggers
-
getPreviews
@Accessor(qualifier="previews", type=GETTER) public java.util.Collection<PreviewDataModel> getPreviews()
Generated method - Getter of theCxSegment.previewsattribute defined at extensionpersonalizationcms. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the previews
-
getProviders
@Accessor(qualifier="providers", type=GETTER) public java.util.Set<java.lang.String> getProviders()
Generated method - Getter of theCxSegment.providersattribute defined at extensionpersonalizationservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the providers - Providers that contains segment
-
getTriggers
@Accessor(qualifier="triggers", type=GETTER) public java.util.Collection<CxSegmentTriggerModel> getTriggers()
Generated method - Getter of theCxSegment.triggersattribute defined at extensionpersonalizationservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the triggers
-
getUserToSegments
@Accessor(qualifier="userToSegments", type=GETTER) public java.util.Collection<CxUserToSegmentModel> getUserToSegments()
Generated method - Getter of theCxSegment.userToSegmentsattribute defined at extensionpersonalizationservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the userToSegments
-
isAutoCreated
@Accessor(qualifier="autoCreated", type=GETTER) public boolean isAutoCreated()
Generated method - Getter of theCxSegment.autoCreatedattribute defined at extensionpersonalizationservices.- Returns:
- the autoCreated - Indicates if segment has been created automatically
-
setAutoCreated
@Accessor(qualifier="autoCreated", type=SETTER) public void setAutoCreated(boolean value)
Generated method - Setter ofCxSegment.autoCreatedattribute defined at extensionpersonalizationservices.- Parameters:
value- the autoCreated - Indicates if segment has been created automatically
-
setCode
@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.String value)
Generated method - Initial setter ofCxSegment.codeattribute defined at extensionpersonalizationservices. Can only be used at creation of model - before first save.- Parameters:
value- the code - Unique code of the segment
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value)
Generated method - Setter ofCxSegment.descriptionattribute defined at extensionpersonalizationservices.- Parameters:
value- the description - Description of segment
-
setExpressionTriggers
@Accessor(qualifier="expressionTriggers", type=SETTER) public void setExpressionTriggers(java.util.Collection<CxExpressionTriggerModel> value)
Generated method - Setter ofCxSegment.expressionTriggersattribute defined at extensionpersonalizationservices.- Parameters:
value- the expressionTriggers
-
setPreviews
@Accessor(qualifier="previews", type=SETTER) public void setPreviews(java.util.Collection<PreviewDataModel> value)
Generated method - Setter ofCxSegment.previewsattribute defined at extensionpersonalizationcms.- Parameters:
value- the previews
-
setProviders
@Accessor(qualifier="providers", type=SETTER) public void setProviders(java.util.Set<java.lang.String> value)
Generated method - Setter ofCxSegment.providersattribute defined at extensionpersonalizationservices.- Parameters:
value- the providers - Providers that contains segment
-
setTriggers
@Accessor(qualifier="triggers", type=SETTER) public void setTriggers(java.util.Collection<CxSegmentTriggerModel> value)
Generated method - Setter ofCxSegment.triggersattribute defined at extensionpersonalizationservices.- Parameters:
value- the triggers
-
setUserToSegments
@Accessor(qualifier="userToSegments", type=SETTER) public void setUserToSegments(java.util.Collection<CxUserToSegmentModel> value)
Generated method - Setter ofCxSegment.userToSegmentsattribute defined at extensionpersonalizationservices.- Parameters:
value- the userToSegments
-
-