@ProviderType public class UserTrackerPathWrapper extends Object implements UserTrackerPath, ModelWrapper<UserTrackerPath>
This class is a wrapper for UserTrackerPath
.
UserTrackerPath
,
Serialized FormUSER_TRACKER_PATH_ID_ACCESSOR
Constructor and Description |
---|
UserTrackerPathWrapper(UserTrackerPath userTrackerPath) |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(UserTrackerPath userTrackerPath) |
boolean |
equals(Object obj) |
long |
getCompanyId()
Returns the company ID of this user tracker path.
|
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 user tracker path.
|
String |
getPath()
Returns the path of this user tracker path.
|
Date |
getPathDate()
Returns the path date of this user tracker path.
|
long |
getPrimaryKey()
Returns the primary key of this user tracker path.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
long |
getUserTrackerId()
Returns the user tracker ID of this user tracker path.
|
long |
getUserTrackerPathId()
Returns the user tracker path ID of this user tracker path.
|
UserTrackerPath |
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 tracker path.
|
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 user tracker path.
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
void |
setPath(String path)
Sets the path of this user tracker path.
|
void |
setPathDate(Date pathDate)
Sets the path date of this user tracker path.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this user tracker path.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setUserTrackerId(long userTrackerId)
Sets the user tracker ID of this user tracker path.
|
void |
setUserTrackerPathId(long userTrackerPathId)
Sets the user tracker path ID of this user tracker path.
|
CacheModel<UserTrackerPath> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
UserTrackerPath |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler . |
String |
toString() |
UserTrackerPath |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
public UserTrackerPathWrapper(UserTrackerPath userTrackerPath)
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<UserTrackerPath>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<UserTrackerPath>
public Object clone()
BaseModel
clone
in interface BaseModel<UserTrackerPath>
clone
in interface UserTrackerPathModel
clone
in class Object
public int compareTo(UserTrackerPath userTrackerPath)
compareTo
in interface UserTrackerPathModel
compareTo
in interface Comparable<UserTrackerPath>
public long getCompanyId()
getCompanyId
in interface ShardedModel
getCompanyId
in interface UserTrackerPathModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<UserTrackerPath>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface UserTrackerPathModel
public long getMvccVersion()
getMvccVersion
in interface MVCCModel
getMvccVersion
in interface UserTrackerPathModel
public String getPath()
getPath
in interface UserTrackerPathModel
public Date getPathDate()
getPathDate
in interface UserTrackerPathModel
public long getPrimaryKey()
getPrimaryKey
in interface UserTrackerPathModel
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<UserTrackerPath>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface UserTrackerPathModel
public long getUserTrackerId()
getUserTrackerId
in interface UserTrackerPathModel
public long getUserTrackerPathId()
getUserTrackerPathId
in interface UserTrackerPathModel
public int hashCode()
hashCode
in interface UserTrackerPathModel
hashCode
in class Object
public boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.isCachedModel
in interface BaseModel<UserTrackerPath>
isCachedModel
in interface UserTrackerPathModel
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<UserTrackerPath>
isEscapedModel
in interface UserTrackerPathModel
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<UserTrackerPath>
isNew
in interface UserTrackerPathModel
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<UserTrackerPath>
setCachedModel
in interface UserTrackerPathModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public void setCompanyId(long companyId)
setCompanyId
in interface ShardedModel
setCompanyId
in interface UserTrackerPathModel
companyId
- the company ID of this user tracker pathpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<UserTrackerPath>
setExpandoBridgeAttributes
in interface UserTrackerPathModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<UserTrackerPath>
setExpandoBridgeAttributes
in interface UserTrackerPathModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<UserTrackerPath>
setExpandoBridgeAttributes
in interface UserTrackerPathModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
public void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
setMvccVersion
in interface UserTrackerPathModel
mvccVersion
- the mvcc version of this user tracker pathpublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<UserTrackerPath>
setNew
in interface UserTrackerPathModel
n
- whether this model instance does not yet exist in the databasepublic void setPath(String path)
setPath
in interface UserTrackerPathModel
path
- the path of this user tracker pathpublic void setPathDate(Date pathDate)
setPathDate
in interface UserTrackerPathModel
pathDate
- the path date of this user tracker pathpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface UserTrackerPathModel
primaryKey
- the primary key of this user tracker pathpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<UserTrackerPath>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface UserTrackerPathModel
primaryKeyObj
- the primary key of this model instancepublic void setUserTrackerId(long userTrackerId)
setUserTrackerId
in interface UserTrackerPathModel
userTrackerId
- the user tracker ID of this user tracker pathpublic void setUserTrackerPathId(long userTrackerPathId)
setUserTrackerPathId
in interface UserTrackerPathModel
userTrackerPathId
- the user tracker path ID of this user tracker pathpublic CacheModel<UserTrackerPath> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<UserTrackerPath>
toCacheModel
in interface UserTrackerPathModel
public UserTrackerPath toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface BaseModel<UserTrackerPath>
toEscapedModel
in interface UserTrackerPathModel
AutoEscapeBeanHandler
public String toString()
toString
in interface UserTrackerPathModel
toString
in class Object
public UserTrackerPath toUnescapedModel()
toUnescapedModel
in interface BaseModel<UserTrackerPath>
toUnescapedModel
in interface UserTrackerPathModel
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<UserTrackerPath>
toXmlString
in interface UserTrackerPathModel
public boolean equals(Object obj)
equals
in class Object
public UserTrackerPath getWrappedModel()
getWrappedModel
in interface ModelWrapper<UserTrackerPath>
public boolean isEntityCacheEnabled()
BaseModel
true
if this model's entity cache is enabled.isEntityCacheEnabled
in interface BaseModel<UserTrackerPath>
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<UserTrackerPath>
true
if this model's finder cache is enabled;
false
otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<UserTrackerPath>