public class SocialRelationWrapper extends BaseModelWrapper<SocialRelation> implements ModelWrapper<SocialRelation>, SocialRelation
This class is a wrapper for SocialRelation.
SocialRelation,
Serialized FormmodelRELATION_ID_ACCESSOR| Constructor and Description |
|---|
SocialRelationWrapper(SocialRelation socialRelation) |
| Modifier and Type | Method and Description |
|---|---|
long |
getCompanyId()
Returns the company ID of this social relation.
|
long |
getCreateDate()
Returns the create date of this social relation.
|
Map<String,Object> |
getModelAttributes() |
long |
getPrimaryKey()
Returns the primary key of this social relation.
|
long |
getRelationId()
Returns the relation ID of this social relation.
|
int |
getType()
Returns the type of this social relation.
|
long |
getUserId1()
Returns the user id1 of this social relation.
|
long |
getUserId2()
Returns the user id2 of this social relation.
|
String |
getUuid()
Returns the uuid of this social relation.
|
void |
persist()
NOTE FOR DEVELOPERS:
Never modify or reference this class directly.
|
void |
setCompanyId(long companyId)
Sets the company ID of this social relation.
|
void |
setCreateDate(long createDate)
Sets the create date of this social relation.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this social relation.
|
void |
setRelationId(long relationId)
Sets the relation ID of this social relation.
|
void |
setType(int type)
Sets the type of this social relation.
|
void |
setUserId1(long userId1)
Sets the user id1 of this social relation.
|
void |
setUserId2(long userId2)
Sets the user id2 of this social relation.
|
void |
setUuid(String uuid)
Sets the uuid of this social relation.
|
protected SocialRelationWrapper |
wrap(SocialRelation socialRelation) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlStringgetWrappedModelclone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamepublic SocialRelationWrapper(SocialRelation socialRelation)
public Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<SocialRelation>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<SocialRelation>public long getCompanyId()
getCompanyId in interface ShardedModelgetCompanyId in interface SocialRelationModelpublic long getCreateDate()
getCreateDate in interface SocialRelationModelpublic long getPrimaryKey()
getPrimaryKey in interface SocialRelationModelpublic long getRelationId()
getRelationId in interface SocialRelationModelpublic int getType()
getType in interface SocialRelationModelpublic long getUserId1()
getUserId1 in interface SocialRelationModelpublic long getUserId2()
getUserId2 in interface SocialRelationModelpublic String getUuid()
getUuid in interface SocialRelationModelpublic void persist()
SocialRelation interface instead.persist in interface PersistedModelpublic void setCompanyId(long companyId)
setCompanyId in interface ShardedModelsetCompanyId in interface SocialRelationModelcompanyId - the company ID of this social relationpublic void setCreateDate(long createDate)
setCreateDate in interface SocialRelationModelcreateDate - the create date of this social relationpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface SocialRelationModelprimaryKey - the primary key of this social relationpublic void setRelationId(long relationId)
setRelationId in interface SocialRelationModelrelationId - the relation ID of this social relationpublic void setType(int type)
setType in interface SocialRelationModeltype - the type of this social relationpublic void setUserId1(long userId1)
setUserId1 in interface SocialRelationModeluserId1 - the user id1 of this social relationpublic void setUserId2(long userId2)
setUserId2 in interface SocialRelationModeluserId2 - the user id2 of this social relationpublic void setUuid(String uuid)
setUuid in interface SocialRelationModeluuid - the uuid of this social relationprotected SocialRelationWrapper wrap(SocialRelation socialRelation)
wrap in class BaseModelWrapper<SocialRelation>