@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 ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<UserIdMapper>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<UserIdMapper>
public Object clone()
BaseModel
clone
in interface BaseModel<UserIdMapper>
clone
in interface UserIdMapperModel
clone
in class Object
public int compareTo(UserIdMapper userIdMapper)
compareTo
in interface UserIdMapperModel
compareTo
in interface Comparable<UserIdMapper>
public long getCompanyId()
getCompanyId
in interface ShardedModel
getCompanyId
in interface UserIdMapperModel
public String getDescription()
getDescription
in interface UserIdMapperModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<UserIdMapper>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface UserIdMapperModel
public String getExternalUserId()
getExternalUserId
in interface UserIdMapperModel
public long getMvccVersion()
getMvccVersion
in interface MVCCModel
getMvccVersion
in interface UserIdMapperModel
public long getPrimaryKey()
getPrimaryKey
in interface UserIdMapperModel
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<UserIdMapper>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface UserIdMapperModel
public String getType()
getType
in interface UserIdMapperModel
public long getUserId()
getUserId
in interface UserIdMapperModel
public long getUserIdMapperId()
getUserIdMapperId
in interface UserIdMapperModel
public String getUserUuid()
getUserUuid
in interface UserIdMapperModel
public int hashCode()
hashCode
in interface UserIdMapperModel
hashCode
in class Object
public boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.isCachedModel
in interface BaseModel<UserIdMapper>
isCachedModel
in interface UserIdMapperModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.isEscapedModel
in interface BaseModel<UserIdMapper>
isEscapedModel
in interface UserIdMapperModel
true
if this model instance is escaped;
false
otherwisepublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.isNew
in interface BaseModel<UserIdMapper>
isNew
in interface UserIdMapperModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void persist()
PersistedModel
persist
in interface PersistedModel
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<UserIdMapper>
setCachedModel
in interface UserIdMapperModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public void setCompanyId(long companyId)
setCompanyId
in interface ShardedModel
setCompanyId
in interface UserIdMapperModel
companyId
- the company ID of this user ID mapperpublic void setDescription(String description)
setDescription
in interface UserIdMapperModel
description
- the description of this user ID mapperpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<UserIdMapper>
setExpandoBridgeAttributes
in interface UserIdMapperModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<UserIdMapper>
setExpandoBridgeAttributes
in interface UserIdMapperModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<UserIdMapper>
setExpandoBridgeAttributes
in interface UserIdMapperModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
public void setExternalUserId(String externalUserId)
setExternalUserId
in interface UserIdMapperModel
externalUserId
- the external user ID of this user ID mapperpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
setMvccVersion
in interface UserIdMapperModel
mvccVersion
- the mvcc version of this user ID mapperpublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<UserIdMapper>
setNew
in interface UserIdMapperModel
n
- whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface UserIdMapperModel
primaryKey
- the primary key of this user ID mapperpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<UserIdMapper>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface UserIdMapperModel
primaryKeyObj
- the primary key of this model instancepublic void setType(String type)
setType
in interface UserIdMapperModel
type
- the type of this user ID mapperpublic void setUserId(long userId)
setUserId
in interface UserIdMapperModel
userId
- the user ID of this user ID mapperpublic void setUserIdMapperId(long userIdMapperId)
setUserIdMapperId
in interface UserIdMapperModel
userIdMapperId
- the user ID mapper ID of this user ID mapperpublic void setUserUuid(String userUuid)
setUserUuid
in interface UserIdMapperModel
userUuid
- the user uuid of this user ID mapperpublic CacheModel<UserIdMapper> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<UserIdMapper>
toCacheModel
in interface UserIdMapperModel
public UserIdMapper toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface BaseModel<UserIdMapper>
toEscapedModel
in interface UserIdMapperModel
AutoEscapeBeanHandler
public String toString()
toString
in interface UserIdMapperModel
toString
in class Object
public UserIdMapper toUnescapedModel()
toUnescapedModel
in interface BaseModel<UserIdMapper>
toUnescapedModel
in interface UserIdMapperModel
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<UserIdMapper>
toXmlString
in interface UserIdMapperModel
public boolean equals(Object obj)
equals
in class Object
public UserIdMapper getWrappedModel()
getWrappedModel
in interface ModelWrapper<UserIdMapper>
public boolean isEntityCacheEnabled()
BaseModel
true
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()
BaseModel
true
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()
BaseModel
resetOriginalValues
in interface BaseModel<UserIdMapper>