com.liferay.segments.model.SegmentsEntryRelWrapper 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 SegmentsEntryRel}.
*
*
* @author Eduardo Garcia
* @see SegmentsEntryRel
* @generated
*/
public class SegmentsEntryRelWrapper
extends BaseModelWrapper
implements ModelWrapper, SegmentsEntryRel {
public SegmentsEntryRelWrapper(SegmentsEntryRel segmentsEntryRel) {
super(segmentsEntryRel);
}
@Override
public Map getModelAttributes() {
Map attributes = new HashMap();
attributes.put("mvccVersion", getMvccVersion());
attributes.put("ctCollectionId", getCtCollectionId());
attributes.put("segmentsEntryRelId", getSegmentsEntryRelId());
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("classNameId", getClassNameId());
attributes.put("classPK", getClassPK());
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 segmentsEntryRelId = (Long)attributes.get("segmentsEntryRelId");
if (segmentsEntryRelId != null) {
setSegmentsEntryRelId(segmentsEntryRelId);
}
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 classNameId = (Long)attributes.get("classNameId");
if (classNameId != null) {
setClassNameId(classNameId);
}
Long classPK = (Long)attributes.get("classPK");
if (classPK != null) {
setClassPK(classPK);
}
}
@Override
public SegmentsEntryRel cloneWithOriginalValues() {
return wrap(model.cloneWithOriginalValues());
}
/**
* Returns the fully qualified class name of this segments entry rel.
*
* @return the fully qualified class name of this segments entry rel
*/
@Override
public String getClassName() {
return model.getClassName();
}
/**
* Returns the class name ID of this segments entry rel.
*
* @return the class name ID of this segments entry rel
*/
@Override
public long getClassNameId() {
return model.getClassNameId();
}
/**
* Returns the class pk of this segments entry rel.
*
* @return the class pk of this segments entry rel
*/
@Override
public long getClassPK() {
return model.getClassPK();
}
/**
* Returns the company ID of this segments entry rel.
*
* @return the company ID of this segments entry rel
*/
@Override
public long getCompanyId() {
return model.getCompanyId();
}
/**
* Returns the create date of this segments entry rel.
*
* @return the create date of this segments entry rel
*/
@Override
public Date getCreateDate() {
return model.getCreateDate();
}
/**
* Returns the ct collection ID of this segments entry rel.
*
* @return the ct collection ID of this segments entry rel
*/
@Override
public long getCtCollectionId() {
return model.getCtCollectionId();
}
/**
* Returns the group ID of this segments entry rel.
*
* @return the group ID of this segments entry rel
*/
@Override
public long getGroupId() {
return model.getGroupId();
}
/**
* Returns the modified date of this segments entry rel.
*
* @return the modified date of this segments entry rel
*/
@Override
public Date getModifiedDate() {
return model.getModifiedDate();
}
/**
* Returns the mvcc version of this segments entry rel.
*
* @return the mvcc version of this segments entry rel
*/
@Override
public long getMvccVersion() {
return model.getMvccVersion();
}
/**
* Returns the primary key of this segments entry rel.
*
* @return the primary key of this segments entry rel
*/
@Override
public long getPrimaryKey() {
return model.getPrimaryKey();
}
/**
* Returns the segments entry ID of this segments entry rel.
*
* @return the segments entry ID of this segments entry rel
*/
@Override
public long getSegmentsEntryId() {
return model.getSegmentsEntryId();
}
/**
* Returns the segments entry rel ID of this segments entry rel.
*
* @return the segments entry rel ID of this segments entry rel
*/
@Override
public long getSegmentsEntryRelId() {
return model.getSegmentsEntryRelId();
}
/**
* Returns the user ID of this segments entry rel.
*
* @return the user ID of this segments entry rel
*/
@Override
public long getUserId() {
return model.getUserId();
}
/**
* Returns the user name of this segments entry rel.
*
* @return the user name of this segments entry rel
*/
@Override
public String getUserName() {
return model.getUserName();
}
/**
* Returns the user uuid of this segments entry rel.
*
* @return the user uuid of this segments entry rel
*/
@Override
public String getUserUuid() {
return model.getUserUuid();
}
@Override
public void persist() {
model.persist();
}
@Override
public void setClassName(String className) {
model.setClassName(className);
}
/**
* Sets the class name ID of this segments entry rel.
*
* @param classNameId the class name ID of this segments entry rel
*/
@Override
public void setClassNameId(long classNameId) {
model.setClassNameId(classNameId);
}
/**
* Sets the class pk of this segments entry rel.
*
* @param classPK the class pk of this segments entry rel
*/
@Override
public void setClassPK(long classPK) {
model.setClassPK(classPK);
}
/**
* Sets the company ID of this segments entry rel.
*
* @param companyId the company ID of this segments entry rel
*/
@Override
public void setCompanyId(long companyId) {
model.setCompanyId(companyId);
}
/**
* Sets the create date of this segments entry rel.
*
* @param createDate the create date of this segments entry rel
*/
@Override
public void setCreateDate(Date createDate) {
model.setCreateDate(createDate);
}
/**
* Sets the ct collection ID of this segments entry rel.
*
* @param ctCollectionId the ct collection ID of this segments entry rel
*/
@Override
public void setCtCollectionId(long ctCollectionId) {
model.setCtCollectionId(ctCollectionId);
}
/**
* Sets the group ID of this segments entry rel.
*
* @param groupId the group ID of this segments entry rel
*/
@Override
public void setGroupId(long groupId) {
model.setGroupId(groupId);
}
/**
* Sets the modified date of this segments entry rel.
*
* @param modifiedDate the modified date of this segments entry rel
*/
@Override
public void setModifiedDate(Date modifiedDate) {
model.setModifiedDate(modifiedDate);
}
/**
* Sets the mvcc version of this segments entry rel.
*
* @param mvccVersion the mvcc version of this segments entry rel
*/
@Override
public void setMvccVersion(long mvccVersion) {
model.setMvccVersion(mvccVersion);
}
/**
* Sets the primary key of this segments entry rel.
*
* @param primaryKey the primary key of this segments entry rel
*/
@Override
public void setPrimaryKey(long primaryKey) {
model.setPrimaryKey(primaryKey);
}
/**
* Sets the segments entry ID of this segments entry rel.
*
* @param segmentsEntryId the segments entry ID of this segments entry rel
*/
@Override
public void setSegmentsEntryId(long segmentsEntryId) {
model.setSegmentsEntryId(segmentsEntryId);
}
/**
* Sets the segments entry rel ID of this segments entry rel.
*
* @param segmentsEntryRelId the segments entry rel ID of this segments entry rel
*/
@Override
public void setSegmentsEntryRelId(long segmentsEntryRelId) {
model.setSegmentsEntryRelId(segmentsEntryRelId);
}
/**
* Sets the user ID of this segments entry rel.
*
* @param userId the user ID of this segments entry rel
*/
@Override
public void setUserId(long userId) {
model.setUserId(userId);
}
/**
* Sets the user name of this segments entry rel.
*
* @param userName the user name of this segments entry rel
*/
@Override
public void setUserName(String userName) {
model.setUserName(userName);
}
/**
* Sets the user uuid of this segments entry rel.
*
* @param userUuid the user uuid of this segments entry 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 SegmentsEntryRelWrapper wrap(SegmentsEntryRel segmentsEntryRel) {
return new SegmentsEntryRelWrapper(segmentsEntryRel);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy