public class ContactWrapper extends BaseModelWrapper<Contact> implements Contact, ModelWrapper<Contact>
This class is a wrapper for Contact.
Contact,
Serialized FormmodelCONTACT_ID_ACCESSOR| Constructor and Description |
|---|
ContactWrapper(Contact contact) |
| Modifier and Type | Method and Description |
|---|---|
Contact |
cloneWithOriginalValues() |
Date |
getBirthday()
Returns the birthday of this contact.
|
String |
getClassName()
Returns the fully qualified class name of this contact.
|
long |
getClassNameId()
Returns the class name ID of this contact.
|
long |
getClassPK()
Returns the class pk of this contact.
|
long |
getCompanyId()
Returns the company ID of this contact.
|
long |
getContactId()
Returns the contact ID of this contact.
|
Date |
getCreateDate()
Returns the create date of this contact.
|
String |
getEmailAddress()
Returns the email address of this contact.
|
String |
getEmployeeNumber()
Returns the employee number of this contact.
|
String |
getEmployeeStatusId()
Returns the employee status ID of this contact.
|
String |
getFacebookSn()
Returns the facebook sn of this contact.
|
String |
getFirstName()
Returns the first name of this contact.
|
String |
getFullName() |
String |
getHoursOfOperation()
Returns the hours of operation of this contact.
|
String |
getJabberSn()
Returns the jabber sn of this contact.
|
String |
getJobClass()
Returns the job class of this contact.
|
String |
getJobTitle()
Returns the job title of this contact.
|
String |
getLastName()
Returns the last name of this contact.
|
boolean |
getMale()
Returns the male of this contact.
|
String |
getMiddleName()
Returns the middle name of this contact.
|
Map<String,Object> |
getModelAttributes() |
Date |
getModifiedDate()
Returns the modified date of this contact.
|
long |
getMvccVersion()
Returns the mvcc version of this contact.
|
long |
getParentContactId()
Returns the parent contact ID of this contact.
|
long |
getPrefixId()
Returns the prefix ID of this contact.
|
long |
getPrimaryKey()
Returns the primary key of this contact.
|
String |
getSkypeSn()
Returns the skype sn of this contact.
|
String |
getSmsSn()
Returns the sms sn of this contact.
|
long |
getSuffixId()
Returns the suffix ID of this contact.
|
String |
getTwitterSn()
Returns the twitter sn of this contact.
|
long |
getUserId()
Returns the user ID of this contact.
|
String |
getUserName()
Returns the user name of this contact.
|
String |
getUserUuid()
Returns the user uuid of this contact.
|
boolean |
isMale()
Returns
true if this contact is male. |
boolean |
isUser() |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
setBirthday(Date birthday)
Sets the birthday of this contact.
|
void |
setClassName(String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this contact.
|
void |
setClassPK(long classPK)
Sets the class pk of this contact.
|
void |
setCompanyId(long companyId)
Sets the company ID of this contact.
|
void |
setContactId(long contactId)
Sets the contact ID of this contact.
|
void |
setCreateDate(Date createDate)
Sets the create date of this contact.
|
void |
setEmailAddress(String emailAddress)
Sets the email address of this contact.
|
void |
setEmployeeNumber(String employeeNumber)
Sets the employee number of this contact.
|
void |
setEmployeeStatusId(String employeeStatusId)
Sets the employee status ID of this contact.
|
void |
setFacebookSn(String facebookSn)
Sets the facebook sn of this contact.
|
void |
setFirstName(String firstName)
Sets the first name of this contact.
|
void |
setHoursOfOperation(String hoursOfOperation)
Sets the hours of operation of this contact.
|
void |
setJabberSn(String jabberSn)
Sets the jabber sn of this contact.
|
void |
setJobClass(String jobClass)
Sets the job class of this contact.
|
void |
setJobTitle(String jobTitle)
Sets the job title of this contact.
|
void |
setLastName(String lastName)
Sets the last name of this contact.
|
void |
setMale(boolean male)
Sets whether this contact is male.
|
void |
setMiddleName(String middleName)
Sets the middle name of this contact.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this contact.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this contact.
|
void |
setParentContactId(long parentContactId)
Sets the parent contact ID of this contact.
|
void |
setPrefixId(long prefixId)
Sets the prefix ID of this contact.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this contact.
|
void |
setSkypeSn(String skypeSn)
Sets the skype sn of this contact.
|
void |
setSmsSn(String smsSn)
Sets the sms sn of this contact.
|
void |
setSuffixId(long suffixId)
Sets the suffix ID of this contact.
|
void |
setTwitterSn(String twitterSn)
Sets the twitter sn of this contact.
|
void |
setUserId(long userId)
Sets the user ID of this contact.
|
void |
setUserName(String userName)
Sets the user name of this contact.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this contact.
|
protected ContactWrapper |
wrap(Contact contact) |
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, toXmlStringclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamegetWrappedModelpublic ContactWrapper(Contact contact)
public Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<Contact>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<Contact>public Contact cloneWithOriginalValues()
cloneWithOriginalValues in interface BaseModel<Contact>cloneWithOriginalValues in interface ContactModelpublic Date getBirthday()
getBirthday in interface ContactModelpublic String getClassName()
getClassName in interface ContactModelgetClassName in interface TypedModelpublic long getClassNameId()
getClassNameId in interface ContactModelgetClassNameId in interface TypedModelpublic long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface ContactModelpublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface ContactModelgetCompanyId in interface ShardedModelpublic long getContactId()
getContactId in interface ContactModelpublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface ContactModelpublic String getEmailAddress()
getEmailAddress in interface ContactModelpublic String getEmployeeNumber()
getEmployeeNumber in interface ContactModelpublic String getEmployeeStatusId()
getEmployeeStatusId in interface ContactModelpublic String getFacebookSn()
getFacebookSn in interface ContactModelpublic String getFirstName()
getFirstName in interface ContactModelpublic String getFullName()
getFullName in interface Contactpublic String getHoursOfOperation()
getHoursOfOperation in interface ContactModelpublic String getJabberSn()
getJabberSn in interface ContactModelpublic String getJobClass()
getJobClass in interface ContactModelpublic String getJobTitle()
getJobTitle in interface ContactModelpublic String getLastName()
getLastName in interface ContactModelpublic boolean getMale()
getMale in interface ContactModelpublic String getMiddleName()
getMiddleName in interface ContactModelpublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface ContactModelpublic long getMvccVersion()
getMvccVersion in interface ContactModelgetMvccVersion in interface MVCCModelpublic long getParentContactId()
getParentContactId in interface ContactModelpublic long getPrefixId()
getPrefixId in interface ContactModelpublic long getPrimaryKey()
getPrimaryKey in interface ContactModelpublic String getSkypeSn()
getSkypeSn in interface ContactModelpublic String getSmsSn()
getSmsSn in interface ContactModelpublic long getSuffixId()
getSuffixId in interface ContactModelpublic String getTwitterSn()
getTwitterSn in interface ContactModelpublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface ContactModelpublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface ContactModelpublic String getUserUuid()
getUserUuid in interface AuditedModelgetUserUuid in interface ContactModelpublic boolean isMale()
true if this contact is male.isMale in interface ContactModeltrue if this contact is male; false otherwisepublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setBirthday(Date birthday)
setBirthday in interface ContactModelbirthday - the birthday of this contactpublic void setClassName(String className)
setClassName in interface ContactModelpublic void setClassNameId(long classNameId)
setClassNameId in interface ContactModelsetClassNameId in interface TypedModelclassNameId - the class name ID of this contactpublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface ContactModelclassPK - the class pk of this contactpublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface ContactModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this contactpublic void setContactId(long contactId)
setContactId in interface ContactModelcontactId - the contact ID of this contactpublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface ContactModelcreateDate - the create date of this contactpublic void setEmailAddress(String emailAddress)
setEmailAddress in interface ContactModelemailAddress - the email address of this contactpublic void setEmployeeNumber(String employeeNumber)
setEmployeeNumber in interface ContactModelemployeeNumber - the employee number of this contactpublic void setEmployeeStatusId(String employeeStatusId)
setEmployeeStatusId in interface ContactModelemployeeStatusId - the employee status ID of this contactpublic void setFacebookSn(String facebookSn)
setFacebookSn in interface ContactModelfacebookSn - the facebook sn of this contactpublic void setFirstName(String firstName)
setFirstName in interface ContactModelfirstName - the first name of this contactpublic void setHoursOfOperation(String hoursOfOperation)
setHoursOfOperation in interface ContactModelhoursOfOperation - the hours of operation of this contactpublic void setJabberSn(String jabberSn)
setJabberSn in interface ContactModeljabberSn - the jabber sn of this contactpublic void setJobClass(String jobClass)
setJobClass in interface ContactModeljobClass - the job class of this contactpublic void setJobTitle(String jobTitle)
setJobTitle in interface ContactModeljobTitle - the job title of this contactpublic void setLastName(String lastName)
setLastName in interface ContactModellastName - the last name of this contactpublic void setMale(boolean male)
setMale in interface ContactModelmale - the male of this contactpublic void setMiddleName(String middleName)
setMiddleName in interface ContactModelmiddleName - the middle name of this contactpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface ContactModelmodifiedDate - the modified date of this contactpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface ContactModelsetMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this contactpublic void setParentContactId(long parentContactId)
setParentContactId in interface ContactModelparentContactId - the parent contact ID of this contactpublic void setPrefixId(long prefixId)
setPrefixId in interface ContactModelprefixId - the prefix ID of this contactpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface ContactModelprimaryKey - the primary key of this contactpublic void setSkypeSn(String skypeSn)
setSkypeSn in interface ContactModelskypeSn - the skype sn of this contactpublic void setSmsSn(String smsSn)
setSmsSn in interface ContactModelsmsSn - the sms sn of this contactpublic void setSuffixId(long suffixId)
setSuffixId in interface ContactModelsuffixId - the suffix ID of this contactpublic void setTwitterSn(String twitterSn)
setTwitterSn in interface ContactModeltwitterSn - the twitter sn of this contactpublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface ContactModeluserId - the user ID of this contactpublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface ContactModeluserName - the user name of this contactpublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface ContactModeluserUuid - the user uuid of this contactprotected ContactWrapper wrap(Contact contact)
wrap in class BaseModelWrapper<Contact>