@ProviderType public class PasswordTrackerWrapper extends Object implements PasswordTracker, ModelWrapper<PasswordTracker>
This class is a wrapper for PasswordTracker
.
PasswordTracker
,
Serialized FormPASSWORD_TRACKER_ID_ACCESSOR
Constructor and Description |
---|
PasswordTrackerWrapper(PasswordTracker passwordTracker) |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(PasswordTracker passwordTracker) |
boolean |
equals(Object obj) |
long |
getCompanyId()
Returns the company ID of this password tracker.
|
Date |
getCreateDate()
Returns the create date of this password tracker.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
long |
getMvccVersion()
Returns the mvcc version of this password tracker.
|
String |
getPassword()
Returns the password of this password tracker.
|
long |
getPasswordTrackerId()
Returns the password tracker ID of this password tracker.
|
long |
getPrimaryKey()
Returns the primary key of this password tracker.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
long |
getUserId()
Returns the user ID of this password tracker.
|
String |
getUserUuid()
Returns the user uuid of this password tracker.
|
PasswordTracker |
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 password tracker.
|
void |
setCreateDate(Date createDate)
Sets the create date of this password tracker.
|
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 |
setModelAttributes(Map<String,Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this password tracker.
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
void |
setPassword(String password)
Sets the password of this password tracker.
|
void |
setPasswordTrackerId(long passwordTrackerId)
Sets the password tracker ID of this password tracker.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this password tracker.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setUserId(long userId)
Sets the user ID of this password tracker.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this password tracker.
|
CacheModel<PasswordTracker> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
PasswordTracker |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler . |
String |
toString() |
PasswordTracker |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
public PasswordTrackerWrapper(PasswordTracker passwordTracker)
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<PasswordTracker>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<PasswordTracker>
public Object clone()
BaseModel
clone
in interface BaseModel<PasswordTracker>
clone
in interface PasswordTrackerModel
clone
in class Object
public int compareTo(PasswordTracker passwordTracker)
compareTo
in interface PasswordTrackerModel
compareTo
in interface Comparable<PasswordTracker>
public long getCompanyId()
getCompanyId
in interface PasswordTrackerModel
getCompanyId
in interface ShardedModel
public Date getCreateDate()
getCreateDate
in interface PasswordTrackerModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<PasswordTracker>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface PasswordTrackerModel
public long getMvccVersion()
getMvccVersion
in interface MVCCModel
getMvccVersion
in interface PasswordTrackerModel
public String getPassword()
getPassword
in interface PasswordTrackerModel
public long getPasswordTrackerId()
getPasswordTrackerId
in interface PasswordTrackerModel
public long getPrimaryKey()
getPrimaryKey
in interface PasswordTrackerModel
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<PasswordTracker>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface PasswordTrackerModel
public long getUserId()
getUserId
in interface PasswordTrackerModel
public String getUserUuid()
getUserUuid
in interface PasswordTrackerModel
public int hashCode()
hashCode
in interface PasswordTrackerModel
hashCode
in class Object
public boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.isCachedModel
in interface BaseModel<PasswordTracker>
isCachedModel
in interface PasswordTrackerModel
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<PasswordTracker>
isEscapedModel
in interface PasswordTrackerModel
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<PasswordTracker>
isNew
in interface PasswordTrackerModel
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<PasswordTracker>
setCachedModel
in interface PasswordTrackerModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public void setCompanyId(long companyId)
setCompanyId
in interface PasswordTrackerModel
setCompanyId
in interface ShardedModel
companyId
- the company ID of this password trackerpublic void setCreateDate(Date createDate)
setCreateDate
in interface PasswordTrackerModel
createDate
- the create date of this password trackerpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<PasswordTracker>
setExpandoBridgeAttributes
in interface PasswordTrackerModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<PasswordTracker>
setExpandoBridgeAttributes
in interface PasswordTrackerModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<PasswordTracker>
setExpandoBridgeAttributes
in interface PasswordTrackerModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
public void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
setMvccVersion
in interface PasswordTrackerModel
mvccVersion
- the mvcc version of this password trackerpublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<PasswordTracker>
setNew
in interface PasswordTrackerModel
n
- whether this model instance does not yet exist in the databasepublic void setPassword(String password)
setPassword
in interface PasswordTrackerModel
password
- the password of this password trackerpublic void setPasswordTrackerId(long passwordTrackerId)
setPasswordTrackerId
in interface PasswordTrackerModel
passwordTrackerId
- the password tracker ID of this password trackerpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface PasswordTrackerModel
primaryKey
- the primary key of this password trackerpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<PasswordTracker>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface PasswordTrackerModel
primaryKeyObj
- the primary key of this model instancepublic void setUserId(long userId)
setUserId
in interface PasswordTrackerModel
userId
- the user ID of this password trackerpublic void setUserUuid(String userUuid)
setUserUuid
in interface PasswordTrackerModel
userUuid
- the user uuid of this password trackerpublic CacheModel<PasswordTracker> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<PasswordTracker>
toCacheModel
in interface PasswordTrackerModel
public PasswordTracker toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface BaseModel<PasswordTracker>
toEscapedModel
in interface PasswordTrackerModel
AutoEscapeBeanHandler
public String toString()
toString
in interface PasswordTrackerModel
toString
in class Object
public PasswordTracker toUnescapedModel()
toUnescapedModel
in interface BaseModel<PasswordTracker>
toUnescapedModel
in interface PasswordTrackerModel
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<PasswordTracker>
toXmlString
in interface PasswordTrackerModel
public boolean equals(Object obj)
equals
in class Object
public PasswordTracker getWrappedModel()
getWrappedModel
in interface ModelWrapper<PasswordTracker>
public boolean isEntityCacheEnabled()
BaseModel
true
if this model's entity cache is enabled.isEntityCacheEnabled
in interface BaseModel<PasswordTracker>
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<PasswordTracker>
true
if this model's finder cache is enabled;
false
otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<PasswordTracker>