@ProviderType public class UserIdMapperWrapper extends Object implements UserIdMapper, ModelWrapper<UserIdMapper>
This class is a wrapper for UserIdMapper.
UserIdMapper,
Serialized FormUSER_ID_MAPPER_ID_ACCESSOR| Constructor and Description |
|---|
UserIdMapperWrapper(UserIdMapper userIdMapper) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(UserIdMapper userIdMapper) |
boolean |
equals(Object obj) |
long |
getCompanyId()
Returns the company ID of this user ID mapper.
|
String |
getDescription()
Returns the description of this user ID mapper.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
String |
getExternalUserId()
Returns the external user ID of this user ID mapper.
|
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
long |
getMvccVersion()
Returns the mvcc version of this user ID mapper.
|
long |
getPrimaryKey()
Returns the primary key of this user ID mapper.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
String |
getType()
Returns the type of this user ID mapper.
|
long |
getUserId()
Returns the user ID of this user ID mapper.
|
long |
getUserIdMapperId()
Returns the user ID mapper ID of this user ID mapper.
|
String |
getUserUuid()
Returns the user uuid of this user ID mapper.
|
UserIdMapper |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEntityCacheEnabled()
Returns
true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns
true if this model's finder cache is enabled. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
resetOriginalValues()
Reset all original fields to current values.
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
void |
setCompanyId(long companyId)
Sets the company ID of this user ID mapper.
|
void |
setDescription(String description)
Sets the description of this user ID mapper.
|
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
|
void |
setExternalUserId(String externalUserId)
Sets the external user ID of this user ID mapper.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this user ID mapper.
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this user ID mapper.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setType(String type)
Sets the type of this user ID mapper.
|
void |
setUserId(long userId)
Sets the user ID of this user ID mapper.
|
void |
setUserIdMapperId(long userIdMapperId)
Sets the user ID mapper ID of this user ID mapper.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this user ID mapper.
|
CacheModel<UserIdMapper> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
UserIdMapper |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
String |
toString() |
UserIdMapper |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
public UserIdMapperWrapper(UserIdMapper userIdMapper)
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<UserIdMapper>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<UserIdMapper>public CacheModel<UserIdMapper> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<UserIdMapper>toCacheModel in interface UserIdMapperModelpublic UserIdMapper toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<UserIdMapper>toEscapedModel in interface UserIdMapperModelAutoEscapeBeanHandlerpublic UserIdMapper toUnescapedModel()
toUnescapedModel in interface BaseModel<UserIdMapper>toUnescapedModel in interface UserIdMapperModelpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<UserIdMapper>isCachedModel in interface UserIdMapperModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<UserIdMapper>isEscapedModel in interface UserIdMapperModeltrue if this model instance is escaped;
false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<UserIdMapper>isNew in interface UserIdMapperModeltrue if this model instance does not yet exist in
the database; false otherwisepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<UserIdMapper>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface UserIdMapperModelpublic int compareTo(UserIdMapper userIdMapper)
compareTo in interface UserIdMapperModelcompareTo in interface Comparable<UserIdMapper>public int hashCode()
hashCode in interface UserIdMapperModelhashCode in class Objectpublic Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<UserIdMapper>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface UserIdMapperModelpublic Object clone()
BaseModelclone in interface BaseModel<UserIdMapper>clone in interface UserIdMapperModelclone in class Objectpublic String getDescription()
getDescription in interface UserIdMapperModelpublic String getExternalUserId()
getExternalUserId in interface UserIdMapperModelpublic String getType()
getType in interface UserIdMapperModelpublic String getUserUuid()
getUserUuid in interface UserIdMapperModelpublic String toString()
toString in interface UserIdMapperModeltoString in class Objectpublic String toXmlString()
BaseModeltoXmlString in interface BaseModel<UserIdMapper>toXmlString in interface UserIdMapperModelpublic long getCompanyId()
getCompanyId in interface ShardedModelgetCompanyId in interface UserIdMapperModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface UserIdMapperModelpublic long getPrimaryKey()
getPrimaryKey in interface UserIdMapperModelpublic long getUserId()
getUserId in interface UserIdMapperModelpublic long getUserIdMapperId()
getUserIdMapperId in interface UserIdMapperModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<UserIdMapper>setCachedModel in interface UserIdMapperModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setCompanyId(long companyId)
setCompanyId in interface ShardedModelsetCompanyId in interface UserIdMapperModelcompanyId - the company ID of this user ID mapperpublic void setDescription(String description)
setDescription in interface UserIdMapperModeldescription - the description of this user ID mapperpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<UserIdMapper>setExpandoBridgeAttributes in interface UserIdMapperModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<UserIdMapper>setExpandoBridgeAttributes in interface UserIdMapperModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<UserIdMapper>setExpandoBridgeAttributes in interface UserIdMapperModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setExternalUserId(String externalUserId)
setExternalUserId in interface UserIdMapperModelexternalUserId - the external user ID of this user ID mapperpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface UserIdMapperModelmvccVersion - the mvcc version of this user ID mapperpublic void setNew(boolean n)
BaseModelsetNew in interface BaseModel<UserIdMapper>setNew in interface UserIdMapperModeln - whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface UserIdMapperModelprimaryKey - the primary key of this user ID mapperpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<UserIdMapper>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface UserIdMapperModelprimaryKeyObj - the primary key of this model instancepublic void setType(String type)
setType in interface UserIdMapperModeltype - the type of this user ID mapperpublic void setUserId(long userId)
setUserId in interface UserIdMapperModeluserId - the user ID of this user ID mapperpublic void setUserIdMapperId(long userIdMapperId)
setUserIdMapperId in interface UserIdMapperModeluserIdMapperId - the user ID mapper ID of this user ID mapperpublic void setUserUuid(String userUuid)
setUserUuid in interface UserIdMapperModeluserUuid - the user uuid of this user ID mapperpublic UserIdMapper getWrappedModel()
getWrappedModel in interface ModelWrapper<UserIdMapper>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.isEntityCacheEnabled in interface BaseModel<UserIdMapper>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.isFinderCacheEnabled in interface BaseModel<UserIdMapper>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<UserIdMapper>