public class PhoneWrapper extends BaseModelWrapper<Phone> implements ModelWrapper<Phone>, Phone
This class is a wrapper for Phone.
Phone,
Serialized FormmodelPHONE_ID_ACCESSOR| Constructor and Description |
|---|
PhoneWrapper(Phone phone) |
| Modifier and Type | Method and Description |
|---|---|
Phone |
cloneWithOriginalValues() |
String |
getClassName()
Returns the fully qualified class name of this phone.
|
long |
getClassNameId()
Returns the class name ID of this phone.
|
long |
getClassPK()
Returns the class pk of this phone.
|
long |
getCompanyId()
Returns the company ID of this phone.
|
Date |
getCreateDate()
Returns the create date of this phone.
|
String |
getExtension()
Returns the extension of this phone.
|
Map<String,Object> |
getModelAttributes() |
Date |
getModifiedDate()
Returns the modified date of this phone.
|
long |
getMvccVersion()
Returns the mvcc version of this phone.
|
String |
getNumber()
Returns the number of this phone.
|
long |
getPhoneId()
Returns the phone ID of this phone.
|
boolean |
getPrimary()
Returns the primary of this phone.
|
long |
getPrimaryKey()
Returns the primary key of this phone.
|
StagedModelType |
getStagedModelType() |
ListType |
getType() |
long |
getTypeId()
Returns the type ID of this phone.
|
long |
getUserId()
Returns the user ID of this phone.
|
String |
getUserName()
Returns the user name of this phone.
|
String |
getUserUuid()
Returns the user uuid of this phone.
|
String |
getUuid()
Returns the uuid of this phone.
|
boolean |
isPrimary()
Returns
true if this phone is primary. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
setClassName(String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this phone.
|
void |
setClassPK(long classPK)
Sets the class pk of this phone.
|
void |
setCompanyId(long companyId)
Sets the company ID of this phone.
|
void |
setCreateDate(Date createDate)
Sets the create date of this phone.
|
void |
setExtension(String extension)
Sets the extension of this phone.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this phone.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this phone.
|
void |
setNumber(String number)
Sets the number of this phone.
|
void |
setPhoneId(long phoneId)
Sets the phone ID of this phone.
|
void |
setPrimary(boolean primary)
Sets whether this phone is primary.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this phone.
|
void |
setTypeId(long typeId)
Sets the type ID of this phone.
|
void |
setUserId(long userId)
Sets the user ID of this phone.
|
void |
setUserName(String userName)
Sets the user name of this phone.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this phone.
|
void |
setUuid(String uuid)
Sets the uuid of this phone.
|
protected PhoneWrapper |
wrap(Phone phone) |
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, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringclonegetModelClass, getModelClassNamepublic PhoneWrapper(Phone phone)
public Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<Phone>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<Phone>public Phone cloneWithOriginalValues()
cloneWithOriginalValues in interface BaseModel<Phone>cloneWithOriginalValues in interface PhoneModelpublic String getClassName()
getClassName in interface PhoneModelgetClassName in interface TypedModelpublic long getClassNameId()
getClassNameId in interface PhoneModelgetClassNameId in interface TypedModelpublic long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface PhoneModelpublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface PhoneModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelpublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface PhoneModelgetCreateDate in interface StagedModelpublic String getExtension()
getExtension in interface PhoneModelpublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface PhoneModelgetModifiedDate in interface StagedModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface PhoneModelpublic String getNumber()
getNumber in interface PhoneModelpublic long getPhoneId()
getPhoneId in interface PhoneModelpublic boolean getPrimary()
getPrimary in interface PhoneModelpublic long getPrimaryKey()
getPrimaryKey in interface PhoneModelpublic ListType getType() throws PortalException
getType in interface PhonePortalExceptionpublic long getTypeId()
getTypeId in interface PhoneModelpublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface PhoneModelpublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface PhoneModelpublic String getUserUuid()
getUserUuid in interface AuditedModelgetUserUuid in interface PhoneModelpublic String getUuid()
getUuid in interface PhoneModelgetUuid in interface StagedModelpublic boolean isPrimary()
true if this phone is primary.isPrimary in interface PhoneModeltrue if this phone is primary; false otherwisepublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setClassName(String className)
setClassName in interface PhoneModelpublic void setClassNameId(long classNameId)
setClassNameId in interface PhoneModelsetClassNameId in interface TypedModelclassNameId - the class name ID of this phonepublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface PhoneModelclassPK - the class pk of this phonepublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface PhoneModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelcompanyId - the company ID of this phonepublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface PhoneModelsetCreateDate in interface StagedModelcreateDate - the create date of this phonepublic void setExtension(String extension)
setExtension in interface PhoneModelextension - the extension of this phonepublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface PhoneModelsetModifiedDate in interface StagedModelmodifiedDate - the modified date of this phonepublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface PhoneModelmvccVersion - the mvcc version of this phonepublic void setNumber(String number)
setNumber in interface PhoneModelnumber - the number of this phonepublic void setPhoneId(long phoneId)
setPhoneId in interface PhoneModelphoneId - the phone ID of this phonepublic void setPrimary(boolean primary)
setPrimary in interface PhoneModelprimary - the primary of this phonepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface PhoneModelprimaryKey - the primary key of this phonepublic void setTypeId(long typeId)
setTypeId in interface PhoneModeltypeId - the type ID of this phonepublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface PhoneModeluserId - the user ID of this phonepublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface PhoneModeluserName - the user name of this phonepublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface PhoneModeluserUuid - the user uuid of this phonepublic void setUuid(String uuid)
setUuid in interface PhoneModelsetUuid in interface StagedModeluuid - the uuid of this phonepublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelprotected PhoneWrapper wrap(Phone phone)
wrap in class BaseModelWrapper<Phone>