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 |
|---|---|
SocialRelation |
cloneWithOriginalValues() |
Map<String,Function<SocialRelation,Object>> |
getAttributeGetterFunctions() |
Map<String,BiConsumer<SocialRelation,Object>> |
getAttributeSetterBiConsumers() |
long |
getCompanyId()
Returns the company ID of this social relation.
|
long |
getCreateDate()
Returns the create date of this social relation.
|
long |
getCtCollectionId()
Returns the ct collection ID of this social relation.
|
Map<String,Object> |
getModelAttributes() |
long |
getMvccVersion()
Returns the mvcc version of this social relation.
|
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()
Updates this model instance in the database or adds it if it does not yet
exist.
|
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 |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this social relation.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this social relation.
|
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 SocialRelation cloneWithOriginalValues()
cloneWithOriginalValues in interface BaseModel<SocialRelation>cloneWithOriginalValues in interface SocialRelationModelpublic long getCompanyId()
getCompanyId in interface ShardedModelgetCompanyId in interface SocialRelationModelpublic long getCreateDate()
getCreateDate in interface SocialRelationModelpublic long getCtCollectionId()
getCtCollectionId in interface CTModel<SocialRelation>getCtCollectionId in interface SocialRelationModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface SocialRelationModelpublic long getPrimaryKey()
getPrimaryKey in interface CTModel<SocialRelation>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()
PersistedModelpersist 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 setCtCollectionId(long ctCollectionId)
setCtCollectionId in interface CTModel<SocialRelation>setCtCollectionId in interface SocialRelationModelctCollectionId - the ct collection ID of this social relationpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface SocialRelationModelmvccVersion - the mvcc version of this social relationpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CTModel<SocialRelation>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 relationpublic Map<String,Function<SocialRelation,Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions in interface BaseModel<SocialRelation>public Map<String,BiConsumer<SocialRelation,Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers in interface BaseModel<SocialRelation>protected SocialRelationWrapper wrap(SocialRelation socialRelation)
wrap in class BaseModelWrapper<SocialRelation>