@ProviderType public interface ContactModel extends AttachedModel, AuditedModel, BaseModel<Contact>, MVCCModel, ShardedModel
This interface and its corresponding implementation ContactModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ContactImpl
.
Contact
,
ContactImpl
,
ContactModelImpl
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(Contact contact) |
long |
getAccountId()
Returns the account ID of this contact.
|
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.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
String |
getFacebookSn()
Returns the facebook sn of this contact.
|
String |
getFirstName()
Returns the first name of this contact.
|
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.
|
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.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
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.
|
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isMale()
Returns
true if this contact is male. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
void |
setAccountId(long accountId)
Sets the account ID of this contact.
|
void |
setBirthday(Date birthday)
Sets the birthday of this contact.
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
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 |
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 |
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 |
setModifiedDate(Date modifiedDate)
Sets the modified date of this contact.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this contact.
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
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 |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
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.
|
CacheModel<Contact> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
Contact |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler . |
String |
toString() |
Contact |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes
getModelClass, getModelClassName
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this contactlong getMvccVersion()
getMvccVersion
in interface MVCCModel
void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
mvccVersion
- the mvcc version of this contactlong getContactId()
void setContactId(long contactId)
contactId
- the contact ID of this contactlong getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface ShardedModel
void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface ShardedModel
companyId
- the company ID of this contactlong getUserId()
getUserId
in interface AuditedModel
void setUserId(long userId)
setUserId
in interface AuditedModel
userId
- the user ID of this contactString getUserUuid()
getUserUuid
in interface AuditedModel
void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
userUuid
- the user uuid of this contact@AutoEscape String getUserName()
getUserName
in interface AuditedModel
void setUserName(String userName)
setUserName
in interface AuditedModel
userName
- the user name of this contactDate getCreateDate()
getCreateDate
in interface AuditedModel
void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
createDate
- the create date of this contactDate getModifiedDate()
getModifiedDate
in interface AuditedModel
void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
modifiedDate
- the modified date of this contactString getClassName()
getClassName
in interface TypedModel
void setClassName(String className)
long getClassNameId()
getClassNameId
in interface TypedModel
void setClassNameId(long classNameId)
setClassNameId
in interface TypedModel
classNameId
- the class name ID of this contactlong getClassPK()
getClassPK
in interface AttachedModel
void setClassPK(long classPK)
setClassPK
in interface AttachedModel
classPK
- the class pk of this contactlong getAccountId()
void setAccountId(long accountId)
accountId
- the account ID of this contactlong getParentContactId()
void setParentContactId(long parentContactId)
parentContactId
- the parent contact ID of this contact@AutoEscape String getEmailAddress()
void setEmailAddress(String emailAddress)
emailAddress
- the email address of this contact@AutoEscape String getFirstName()
void setFirstName(String firstName)
firstName
- the first name of this contact@AutoEscape String getMiddleName()
void setMiddleName(String middleName)
middleName
- the middle name of this contact@AutoEscape String getLastName()
void setLastName(String lastName)
lastName
- the last name of this contactlong getPrefixId()
void setPrefixId(long prefixId)
prefixId
- the prefix ID of this contactlong getSuffixId()
void setSuffixId(long suffixId)
suffixId
- the suffix ID of this contactboolean getMale()
boolean isMale()
true
if this contact is male.true
if this contact is male; false
otherwisevoid setMale(boolean male)
male
- the male of this contactDate getBirthday()
void setBirthday(Date birthday)
birthday
- the birthday of this contact@AutoEscape String getSmsSn()
void setSmsSn(String smsSn)
smsSn
- the sms sn of this contact@AutoEscape String getFacebookSn()
void setFacebookSn(String facebookSn)
facebookSn
- the facebook sn of this contact@AutoEscape String getJabberSn()
void setJabberSn(String jabberSn)
jabberSn
- the jabber sn of this contact@AutoEscape String getSkypeSn()
void setSkypeSn(String skypeSn)
skypeSn
- the skype sn of this contact@AutoEscape String getTwitterSn()
void setTwitterSn(String twitterSn)
twitterSn
- the twitter sn of this contact@AutoEscape String getEmployeeStatusId()
void setEmployeeStatusId(String employeeStatusId)
employeeStatusId
- the employee status ID of this contact@AutoEscape String getEmployeeNumber()
void setEmployeeNumber(String employeeNumber)
employeeNumber
- the employee number of this contact@AutoEscape String getJobTitle()
void setJobTitle(String jobTitle)
jobTitle
- the job title of this contact@AutoEscape String getJobClass()
void setJobClass(String jobClass)
jobClass
- the job class of this contact@AutoEscape String getHoursOfOperation()
void setHoursOfOperation(String hoursOfOperation)
hoursOfOperation
- the hours of operation of this contactboolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.void setNew(boolean n)
BaseModel
boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.isCachedModel
in interface BaseModel<Contact>
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<Contact>
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.isEscapedModel
in interface BaseModel<Contact>
true
if this model instance is escaped;
false
otherwiseSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<Contact>
getPrimaryKeyObj
in interface ClassedModel
void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<Contact>
setPrimaryKeyObj
in interface ClassedModel
primaryKeyObj
- the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<Contact>
getExpandoBridge
in interface ClassedModel
void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<Contact>
void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<Contact>
void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<Contact>
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
Object clone()
BaseModel
int hashCode()
hashCode
in class Object
CacheModel<Contact> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<Contact>
Contact toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface BaseModel<Contact>
AutoEscapeBeanHandler
Contact toUnescapedModel()
toUnescapedModel
in interface BaseModel<Contact>
String toString()
toString
in class Object
String toXmlString()
BaseModel
toXmlString
in interface BaseModel<Contact>