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

com.liferay.segments.model.SegmentsExperimentRelWrapper 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.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 SegmentsExperimentRel}. *

* * @author Eduardo Garcia * @see SegmentsExperimentRel * @generated */ public class SegmentsExperimentRelWrapper extends BaseModelWrapper implements ModelWrapper, SegmentsExperimentRel { public SegmentsExperimentRelWrapper( SegmentsExperimentRel segmentsExperimentRel) { super(segmentsExperimentRel); } @Override public Map getModelAttributes() { Map attributes = new HashMap(); attributes.put("mvccVersion", getMvccVersion()); attributes.put("ctCollectionId", getCtCollectionId()); attributes.put("segmentsExperimentRelId", getSegmentsExperimentRelId()); 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("segmentsExperimentId", getSegmentsExperimentId()); attributes.put("segmentsExperienceId", getSegmentsExperienceId()); attributes.put("split", getSplit()); 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); } Long segmentsExperimentRelId = (Long)attributes.get( "segmentsExperimentRelId"); if (segmentsExperimentRelId != null) { setSegmentsExperimentRelId(segmentsExperimentRelId); } 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 segmentsExperimentId = (Long)attributes.get( "segmentsExperimentId"); if (segmentsExperimentId != null) { setSegmentsExperimentId(segmentsExperimentId); } Long segmentsExperienceId = (Long)attributes.get( "segmentsExperienceId"); if (segmentsExperienceId != null) { setSegmentsExperienceId(segmentsExperienceId); } Double split = (Double)attributes.get("split"); if (split != null) { setSplit(split); } } @Override public SegmentsExperimentRel cloneWithOriginalValues() { return wrap(model.cloneWithOriginalValues()); } /** * Returns the company ID of this segments experiment rel. * * @return the company ID of this segments experiment rel */ @Override public long getCompanyId() { return model.getCompanyId(); } /** * Returns the create date of this segments experiment rel. * * @return the create date of this segments experiment rel */ @Override public Date getCreateDate() { return model.getCreateDate(); } /** * Returns the ct collection ID of this segments experiment rel. * * @return the ct collection ID of this segments experiment rel */ @Override public long getCtCollectionId() { return model.getCtCollectionId(); } /** * Returns the group ID of this segments experiment rel. * * @return the group ID of this segments experiment rel */ @Override public long getGroupId() { return model.getGroupId(); } /** * Returns the modified date of this segments experiment rel. * * @return the modified date of this segments experiment rel */ @Override public Date getModifiedDate() { return model.getModifiedDate(); } /** * Returns the mvcc version of this segments experiment rel. * * @return the mvcc version of this segments experiment rel */ @Override public long getMvccVersion() { return model.getMvccVersion(); } @Override public String getName(java.util.Locale locale) throws com.liferay.portal.kernel.exception.PortalException { return model.getName(locale); } /** * Returns the primary key of this segments experiment rel. * * @return the primary key of this segments experiment rel */ @Override public long getPrimaryKey() { return model.getPrimaryKey(); } /** * Returns the segments experience ID of this segments experiment rel. * * @return the segments experience ID of this segments experiment rel */ @Override public long getSegmentsExperienceId() { return model.getSegmentsExperienceId(); } @Override public String getSegmentsExperienceKey() { return model.getSegmentsExperienceKey(); } /** * Returns the segments experiment ID of this segments experiment rel. * * @return the segments experiment ID of this segments experiment rel */ @Override public long getSegmentsExperimentId() { return model.getSegmentsExperimentId(); } @Override public String getSegmentsExperimentKey() throws com.liferay.portal.kernel.exception.PortalException { return model.getSegmentsExperimentKey(); } /** * Returns the segments experiment rel ID of this segments experiment rel. * * @return the segments experiment rel ID of this segments experiment rel */ @Override public long getSegmentsExperimentRelId() { return model.getSegmentsExperimentRelId(); } /** * Returns the split of this segments experiment rel. * * @return the split of this segments experiment rel */ @Override public double getSplit() { return model.getSplit(); } /** * Returns the user ID of this segments experiment rel. * * @return the user ID of this segments experiment rel */ @Override public long getUserId() { return model.getUserId(); } /** * Returns the user name of this segments experiment rel. * * @return the user name of this segments experiment rel */ @Override public String getUserName() { return model.getUserName(); } /** * Returns the user uuid of this segments experiment rel. * * @return the user uuid of this segments experiment rel */ @Override public String getUserUuid() { return model.getUserUuid(); } @Override public boolean isActive() throws com.liferay.portal.kernel.exception.PortalException { return model.isActive(); } @Override public boolean isControl() throws com.liferay.portal.kernel.exception.PortalException { return model.isControl(); } @Override public void persist() { model.persist(); } /** * Sets the company ID of this segments experiment rel. * * @param companyId the company ID of this segments experiment rel */ @Override public void setCompanyId(long companyId) { model.setCompanyId(companyId); } /** * Sets the create date of this segments experiment rel. * * @param createDate the create date of this segments experiment rel */ @Override public void setCreateDate(Date createDate) { model.setCreateDate(createDate); } /** * Sets the ct collection ID of this segments experiment rel. * * @param ctCollectionId the ct collection ID of this segments experiment rel */ @Override public void setCtCollectionId(long ctCollectionId) { model.setCtCollectionId(ctCollectionId); } /** * Sets the group ID of this segments experiment rel. * * @param groupId the group ID of this segments experiment rel */ @Override public void setGroupId(long groupId) { model.setGroupId(groupId); } /** * Sets the modified date of this segments experiment rel. * * @param modifiedDate the modified date of this segments experiment rel */ @Override public void setModifiedDate(Date modifiedDate) { model.setModifiedDate(modifiedDate); } /** * Sets the mvcc version of this segments experiment rel. * * @param mvccVersion the mvcc version of this segments experiment rel */ @Override public void setMvccVersion(long mvccVersion) { model.setMvccVersion(mvccVersion); } /** * Sets the primary key of this segments experiment rel. * * @param primaryKey the primary key of this segments experiment rel */ @Override public void setPrimaryKey(long primaryKey) { model.setPrimaryKey(primaryKey); } /** * Sets the segments experience ID of this segments experiment rel. * * @param segmentsExperienceId the segments experience ID of this segments experiment rel */ @Override public void setSegmentsExperienceId(long segmentsExperienceId) { model.setSegmentsExperienceId(segmentsExperienceId); } /** * Sets the segments experiment ID of this segments experiment rel. * * @param segmentsExperimentId the segments experiment ID of this segments experiment rel */ @Override public void setSegmentsExperimentId(long segmentsExperimentId) { model.setSegmentsExperimentId(segmentsExperimentId); } /** * Sets the segments experiment rel ID of this segments experiment rel. * * @param segmentsExperimentRelId the segments experiment rel ID of this segments experiment rel */ @Override public void setSegmentsExperimentRelId(long segmentsExperimentRelId) { model.setSegmentsExperimentRelId(segmentsExperimentRelId); } /** * Sets the split of this segments experiment rel. * * @param split the split of this segments experiment rel */ @Override public void setSplit(double split) { model.setSplit(split); } /** * Sets the user ID of this segments experiment rel. * * @param userId the user ID of this segments experiment rel */ @Override public void setUserId(long userId) { model.setUserId(userId); } /** * Sets the user name of this segments experiment rel. * * @param userName the user name of this segments experiment rel */ @Override public void setUserName(String userName) { model.setUserName(userName); } /** * Sets the user uuid of this segments experiment rel. * * @param userUuid the user uuid of this segments experiment rel */ @Override public void setUserUuid(String userUuid) { model.setUserUuid(userUuid); } @Override public String toXmlString() { return model.toXmlString(); } @Override public Map> getAttributeGetterFunctions() { return model.getAttributeGetterFunctions(); } @Override public Map> getAttributeSetterBiConsumers() { return model.getAttributeSetterBiConsumers(); } @Override protected SegmentsExperimentRelWrapper wrap( SegmentsExperimentRel segmentsExperimentRel) { return new SegmentsExperimentRelWrapper(segmentsExperimentRel); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy