All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.liferay.segments.model.SegmentsExperimentWrapper Maven / Gradle / Ivy

The newest version!
/**
 * SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
 * SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
 */

package com.liferay.segments.model;

import com.liferay.exportimport.kernel.lar.StagedModelType;
import com.liferay.portal.kernel.model.ModelWrapper;
import com.liferay.portal.kernel.model.wrapper.BaseModelWrapper;

import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import java.util.function.BiConsumer;
import java.util.function.Function;

/**
 * 

* This class is a wrapper for {@link SegmentsExperiment}. *

* * @author Eduardo Garcia * @see SegmentsExperiment * @generated */ public class SegmentsExperimentWrapper extends BaseModelWrapper implements ModelWrapper, SegmentsExperiment { public SegmentsExperimentWrapper(SegmentsExperiment segmentsExperiment) { super(segmentsExperiment); } @Override public Map getModelAttributes() { Map attributes = new HashMap(); attributes.put("mvccVersion", getMvccVersion()); attributes.put("ctCollectionId", getCtCollectionId()); attributes.put("uuid", getUuid()); attributes.put("segmentsExperimentId", getSegmentsExperimentId()); attributes.put("groupId", getGroupId()); attributes.put("companyId", getCompanyId()); attributes.put("userId", getUserId()); attributes.put("userName", getUserName()); attributes.put("createDate", getCreateDate()); attributes.put("modifiedDate", getModifiedDate()); attributes.put("segmentsEntryId", getSegmentsEntryId()); attributes.put("segmentsExperienceId", getSegmentsExperienceId()); attributes.put("segmentsExperimentKey", getSegmentsExperimentKey()); attributes.put("plid", getPlid()); attributes.put("name", getName()); attributes.put("description", getDescription()); attributes.put("typeSettings", getTypeSettings()); attributes.put("status", getStatus()); return attributes; } @Override public void setModelAttributes(Map attributes) { Long mvccVersion = (Long)attributes.get("mvccVersion"); if (mvccVersion != null) { setMvccVersion(mvccVersion); } Long ctCollectionId = (Long)attributes.get("ctCollectionId"); if (ctCollectionId != null) { setCtCollectionId(ctCollectionId); } String uuid = (String)attributes.get("uuid"); if (uuid != null) { setUuid(uuid); } Long segmentsExperimentId = (Long)attributes.get( "segmentsExperimentId"); if (segmentsExperimentId != null) { setSegmentsExperimentId(segmentsExperimentId); } Long groupId = (Long)attributes.get("groupId"); if (groupId != null) { setGroupId(groupId); } Long companyId = (Long)attributes.get("companyId"); if (companyId != null) { setCompanyId(companyId); } Long userId = (Long)attributes.get("userId"); if (userId != null) { setUserId(userId); } String userName = (String)attributes.get("userName"); if (userName != null) { setUserName(userName); } Date createDate = (Date)attributes.get("createDate"); if (createDate != null) { setCreateDate(createDate); } Date modifiedDate = (Date)attributes.get("modifiedDate"); if (modifiedDate != null) { setModifiedDate(modifiedDate); } Long segmentsEntryId = (Long)attributes.get("segmentsEntryId"); if (segmentsEntryId != null) { setSegmentsEntryId(segmentsEntryId); } Long segmentsExperienceId = (Long)attributes.get( "segmentsExperienceId"); if (segmentsExperienceId != null) { setSegmentsExperienceId(segmentsExperienceId); } String segmentsExperimentKey = (String)attributes.get( "segmentsExperimentKey"); if (segmentsExperimentKey != null) { setSegmentsExperimentKey(segmentsExperimentKey); } Long plid = (Long)attributes.get("plid"); if (plid != null) { setPlid(plid); } String name = (String)attributes.get("name"); if (name != null) { setName(name); } String description = (String)attributes.get("description"); if (description != null) { setDescription(description); } String typeSettings = (String)attributes.get("typeSettings"); if (typeSettings != null) { setTypeSettings(typeSettings); } Integer status = (Integer)attributes.get("status"); if (status != null) { setStatus(status); } } @Override public SegmentsExperiment cloneWithOriginalValues() { return wrap(model.cloneWithOriginalValues()); } /** * Returns the company ID of this segments experiment. * * @return the company ID of this segments experiment */ @Override public long getCompanyId() { return model.getCompanyId(); } @Override public double getConfidenceLevel() { return model.getConfidenceLevel(); } /** * Returns the create date of this segments experiment. * * @return the create date of this segments experiment */ @Override public Date getCreateDate() { return model.getCreateDate(); } /** * Returns the ct collection ID of this segments experiment. * * @return the ct collection ID of this segments experiment */ @Override public long getCtCollectionId() { return model.getCtCollectionId(); } /** * Returns the description of this segments experiment. * * @return the description of this segments experiment */ @Override public String getDescription() { return model.getDescription(); } @Override public String getGoal() { return model.getGoal(); } @Override public String getGoalTarget() { return model.getGoalTarget(); } /** * Returns the group ID of this segments experiment. * * @return the group ID of this segments experiment */ @Override public long getGroupId() { return model.getGroupId(); } /** * Returns the modified date of this segments experiment. * * @return the modified date of this segments experiment */ @Override public Date getModifiedDate() { return model.getModifiedDate(); } /** * Returns the mvcc version of this segments experiment. * * @return the mvcc version of this segments experiment */ @Override public long getMvccVersion() { return model.getMvccVersion(); } /** * Returns the name of this segments experiment. * * @return the name of this segments experiment */ @Override public String getName() { return model.getName(); } /** * Returns the plid of this segments experiment. * * @return the plid of this segments experiment */ @Override public long getPlid() { return model.getPlid(); } /** * Returns the primary key of this segments experiment. * * @return the primary key of this segments experiment */ @Override public long getPrimaryKey() { return model.getPrimaryKey(); } /** * Returns the segments entry ID of this segments experiment. * * @return the segments entry ID of this segments experiment */ @Override public long getSegmentsEntryId() { return model.getSegmentsEntryId(); } @Override public String getSegmentsEntryName(java.util.Locale locale) throws com.liferay.portal.kernel.exception.PortalException { return model.getSegmentsEntryName(locale); } /** * Returns the segments experience ID of this segments experiment. * * @return the segments experience ID of this segments experiment */ @Override public long getSegmentsExperienceId() { return model.getSegmentsExperienceId(); } @Override public String getSegmentsExperienceKey() { return model.getSegmentsExperienceKey(); } /** * Returns the segments experiment ID of this segments experiment. * * @return the segments experiment ID of this segments experiment */ @Override public long getSegmentsExperimentId() { return model.getSegmentsExperimentId(); } /** * Returns the segments experiment key of this segments experiment. * * @return the segments experiment key of this segments experiment */ @Override public String getSegmentsExperimentKey() { return model.getSegmentsExperimentKey(); } @Override public java.util.List getSegmentsExperimentRels() { return model.getSegmentsExperimentRels(); } /** * Returns the status of this segments experiment. * * @return the status of this segments experiment */ @Override public int getStatus() { return model.getStatus(); } @Override public String getType() { return model.getType(); } /** * Returns the type settings of this segments experiment. * * @return the type settings of this segments experiment */ @Override public String getTypeSettings() { return model.getTypeSettings(); } @Override public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties() { return model.getTypeSettingsProperties(); } /** * Returns the user ID of this segments experiment. * * @return the user ID of this segments experiment */ @Override public long getUserId() { return model.getUserId(); } /** * Returns the user name of this segments experiment. * * @return the user name of this segments experiment */ @Override public String getUserName() { return model.getUserName(); } /** * Returns the user uuid of this segments experiment. * * @return the user uuid of this segments experiment */ @Override public String getUserUuid() { return model.getUserUuid(); } /** * Returns the uuid of this segments experiment. * * @return the uuid of this segments experiment */ @Override public String getUuid() { return model.getUuid(); } @Override public long getWinnerSegmentsExperienceId() { return model.getWinnerSegmentsExperienceId(); } @Override public String getWinnerSegmentsExperienceKey() { return model.getWinnerSegmentsExperienceKey(); } @Override public void persist() { model.persist(); } /** * Sets the company ID of this segments experiment. * * @param companyId the company ID of this segments experiment */ @Override public void setCompanyId(long companyId) { model.setCompanyId(companyId); } /** * Sets the create date of this segments experiment. * * @param createDate the create date of this segments experiment */ @Override public void setCreateDate(Date createDate) { model.setCreateDate(createDate); } /** * Sets the ct collection ID of this segments experiment. * * @param ctCollectionId the ct collection ID of this segments experiment */ @Override public void setCtCollectionId(long ctCollectionId) { model.setCtCollectionId(ctCollectionId); } /** * Sets the description of this segments experiment. * * @param description the description of this segments experiment */ @Override public void setDescription(String description) { model.setDescription(description); } /** * Sets the group ID of this segments experiment. * * @param groupId the group ID of this segments experiment */ @Override public void setGroupId(long groupId) { model.setGroupId(groupId); } /** * Sets the modified date of this segments experiment. * * @param modifiedDate the modified date of this segments experiment */ @Override public void setModifiedDate(Date modifiedDate) { model.setModifiedDate(modifiedDate); } /** * Sets the mvcc version of this segments experiment. * * @param mvccVersion the mvcc version of this segments experiment */ @Override public void setMvccVersion(long mvccVersion) { model.setMvccVersion(mvccVersion); } /** * Sets the name of this segments experiment. * * @param name the name of this segments experiment */ @Override public void setName(String name) { model.setName(name); } /** * Sets the plid of this segments experiment. * * @param plid the plid of this segments experiment */ @Override public void setPlid(long plid) { model.setPlid(plid); } /** * Sets the primary key of this segments experiment. * * @param primaryKey the primary key of this segments experiment */ @Override public void setPrimaryKey(long primaryKey) { model.setPrimaryKey(primaryKey); } /** * Sets the segments entry ID of this segments experiment. * * @param segmentsEntryId the segments entry ID of this segments experiment */ @Override public void setSegmentsEntryId(long segmentsEntryId) { model.setSegmentsEntryId(segmentsEntryId); } /** * Sets the segments experience ID of this segments experiment. * * @param segmentsExperienceId the segments experience ID of this segments experiment */ @Override public void setSegmentsExperienceId(long segmentsExperienceId) { model.setSegmentsExperienceId(segmentsExperienceId); } /** * Sets the segments experiment ID of this segments experiment. * * @param segmentsExperimentId the segments experiment ID of this segments experiment */ @Override public void setSegmentsExperimentId(long segmentsExperimentId) { model.setSegmentsExperimentId(segmentsExperimentId); } /** * Sets the segments experiment key of this segments experiment. * * @param segmentsExperimentKey the segments experiment key of this segments experiment */ @Override public void setSegmentsExperimentKey(String segmentsExperimentKey) { model.setSegmentsExperimentKey(segmentsExperimentKey); } /** * Sets the status of this segments experiment. * * @param status the status of this segments experiment */ @Override public void setStatus(int status) { model.setStatus(status); } /** * Sets the type settings of this segments experiment. * * @param typeSettings the type settings of this segments experiment */ @Override public void setTypeSettings(String typeSettings) { model.setTypeSettings(typeSettings); } /** * Sets the user ID of this segments experiment. * * @param userId the user ID of this segments experiment */ @Override public void setUserId(long userId) { model.setUserId(userId); } /** * Sets the user name of this segments experiment. * * @param userName the user name of this segments experiment */ @Override public void setUserName(String userName) { model.setUserName(userName); } /** * Sets the user uuid of this segments experiment. * * @param userUuid the user uuid of this segments experiment */ @Override public void setUserUuid(String userUuid) { model.setUserUuid(userUuid); } /** * Sets the uuid of this segments experiment. * * @param uuid the uuid of this segments experiment */ @Override public void setUuid(String uuid) { model.setUuid(uuid); } @Override public String toXmlString() { return model.toXmlString(); } @Override public Map> getAttributeGetterFunctions() { return model.getAttributeGetterFunctions(); } @Override public Map> getAttributeSetterBiConsumers() { return model.getAttributeSetterBiConsumers(); } @Override public StagedModelType getStagedModelType() { return model.getStagedModelType(); } @Override protected SegmentsExperimentWrapper wrap( SegmentsExperiment segmentsExperiment) { return new SegmentsExperimentWrapper(segmentsExperiment); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy