Liferay 6.1.2-ce-ga3

com.liferay.portal.model.impl
Class ContactModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<Contact>
      extended by com.liferay.portal.model.impl.ContactModelImpl
All Implemented Interfaces:
AuditedModel, BaseModel<Contact>, ClassedModel, ContactModel, Serializable, Cloneable, Comparable<Contact>
Direct Known Subclasses:
ContactBaseImpl

@JSON(strict=true)
public class ContactModelImpl
extends BaseModelImpl<Contact>
implements ContactModel

The base model implementation for the Contact service. Represents a row in the "Contact_" database table, with each column mapped to a property of this class.

This implementation and its corresponding interface ContactModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ContactImpl.

See Also:
ContactImpl, Contact, ContactModel, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
static boolean COLUMN_BITMASK_ENABLED
           
static long COMPANYID_COLUMN_BITMASK
           
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static long LOCK_EXPIRATION_TIME
           
static String SESSION_FACTORY
           
static Object[][] TABLE_COLUMNS
           
static String TABLE_NAME
           
static String TABLE_SQL_CREATE
           
static String TABLE_SQL_DROP
           
static String TX_MANAGER
           
 
Constructor Summary
ContactModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(Contact contact)
           
 boolean equals(Object obj)
           
 long getAccountId()
          Returns the account ID of this contact.
 String getAimSn()
          Returns the aim sn of this contact.
 Date getBirthday()
          Returns the birthday of this contact.
 long getColumnBitmask()
           
 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 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 getIcqSn()
          Returns the icq sn 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()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 Date getModifiedDate()
          Returns the modified date of this contact.
 String getMsnSn()
          Returns the msn sn of this contact.
 String getMySpaceSn()
          Returns the my space sn of this contact.
 long getOriginalCompanyId()
           
 long getParentContactId()
          Returns the parent contact ID of this contact.
 int 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.
 int 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.
 String getYmSn()
          Returns the ym sn of this contact.
 int hashCode()
           
 boolean isMale()
          Returns true if this contact is male.
 void resetOriginalValues()
          Reset all original fields to current values.
 void setAccountId(long accountId)
          Sets the account ID of this contact.
 void setAimSn(String aimSn)
          Sets the aim sn of this contact.
 void setBirthday(Date birthday)
          Sets the birthday 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 setEmployeeNumber(String employeeNumber)
          Sets the employee number of this contact.
 void setEmployeeStatusId(String employeeStatusId)
          Sets the employee status ID of this contact.
 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 setIcqSn(String icqSn)
          Sets the icq sn 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 setMsnSn(String msnSn)
          Sets the msn sn of this contact.
 void setMySpaceSn(String mySpaceSn)
          Sets the my space sn of this contact.
 void setParentContactId(long parentContactId)
          Sets the parent contact ID of this contact.
 void setPrefixId(int 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(int 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.
 void setYmSn(String ymSn)
          Sets the ym sn 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.
static Contact toModel(ContactSoap soapModel)
          Converts the soap model instance into a normal model instance.
static List<Contact> toModels(ContactSoap[] soapModels)
          Converts the soap model instances into normal model instances.
 String toString()
           
 Contact toUnescapedModel()
           
 String toXmlString()
          Returns the XML representation of this model instance.
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.model.ContactModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setNew
 

Field Detail

TABLE_NAME

public static final String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static final String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final String TABLE_SQL_DROP
See Also:
Constant Field Values

DATA_SOURCE

public static final String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final String TX_MANAGER
See Also:
Constant Field Values

ENTITY_CACHE_ENABLED

public static final boolean ENTITY_CACHE_ENABLED

FINDER_CACHE_ENABLED

public static final boolean FINDER_CACHE_ENABLED

COLUMN_BITMASK_ENABLED

public static final boolean COLUMN_BITMASK_ENABLED

COMPANYID_COLUMN_BITMASK

public static long COMPANYID_COLUMN_BITMASK

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

ContactModelImpl

public ContactModelImpl()
Method Detail

toModel

public static Contact toModel(ContactSoap soapModel)
Converts the soap model instance into a normal model instance.

Parameters:
soapModel - the soap model instance to convert
Returns:
the normal model instance

toModels

public static List<Contact> toModels(ContactSoap[] soapModels)
Converts the soap model instances into normal model instances.

Parameters:
soapModels - the soap model instances to convert
Returns:
the normal model instances

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: ContactModel
Returns the primary key of this contact.

Specified by:
getPrimaryKey in interface ContactModel
Returns:
the primary key of this contact

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Description copied from interface: ContactModel
Sets the primary key of this contact.

Specified by:
setPrimaryKey in interface ContactModel
Parameters:
primaryKey - the primary key of this contact

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Returns the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<Contact>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface ContactModel
Returns:
the primary key of this model instance

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<Contact>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface ContactModel
Parameters:
primaryKeyObj - the primary key of this model instance

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface BaseModel<Contact>
Overrides:
getModelAttributes in class BaseModelImpl<Contact>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<Contact>
Overrides:
setModelAttributes in class BaseModelImpl<Contact>

getContactId

@JSON
public long getContactId()
Description copied from interface: ContactModel
Returns the contact ID of this contact.

Specified by:
getContactId in interface ContactModel
Returns:
the contact ID of this contact

setContactId

public void setContactId(long contactId)
Description copied from interface: ContactModel
Sets the contact ID of this contact.

Specified by:
setContactId in interface ContactModel
Parameters:
contactId - the contact ID of this contact

getCompanyId

@JSON
public long getCompanyId()
Description copied from interface: ContactModel
Returns the company ID of this contact.

Specified by:
getCompanyId in interface AuditedModel
Specified by:
getCompanyId in interface ContactModel
Returns:
the company ID of this contact

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: ContactModel
Sets the company ID of this contact.

Specified by:
setCompanyId in interface AuditedModel
Specified by:
setCompanyId in interface ContactModel
Parameters:
companyId - the company ID of this contact

getOriginalCompanyId

public long getOriginalCompanyId()

getUserId

@JSON
public long getUserId()
Description copied from interface: ContactModel
Returns the user ID of this contact.

Specified by:
getUserId in interface AuditedModel
Specified by:
getUserId in interface ContactModel
Returns:
the user ID of this contact

setUserId

public void setUserId(long userId)
Description copied from interface: ContactModel
Sets the user ID of this contact.

Specified by:
setUserId in interface AuditedModel
Specified by:
setUserId in interface ContactModel
Parameters:
userId - the user ID of this contact

getUserUuid

public String getUserUuid()
                   throws SystemException
Description copied from interface: ContactModel
Returns the user uuid of this contact.

Specified by:
getUserUuid in interface AuditedModel
Specified by:
getUserUuid in interface ContactModel
Returns:
the user uuid of this contact
Throws:
SystemException - if a system exception occurred

setUserUuid

public void setUserUuid(String userUuid)
Description copied from interface: ContactModel
Sets the user uuid of this contact.

Specified by:
setUserUuid in interface AuditedModel
Specified by:
setUserUuid in interface ContactModel
Parameters:
userUuid - the user uuid of this contact

getUserName

@JSON
public String getUserName()
Description copied from interface: ContactModel
Returns the user name of this contact.

Specified by:
getUserName in interface AuditedModel
Specified by:
getUserName in interface ContactModel
Returns:
the user name of this contact

setUserName

public void setUserName(String userName)
Description copied from interface: ContactModel
Sets the user name of this contact.

Specified by:
setUserName in interface AuditedModel
Specified by:
setUserName in interface ContactModel
Parameters:
userName - the user name of this contact

getCreateDate

@JSON
public Date getCreateDate()
Description copied from interface: ContactModel
Returns the create date of this contact.

Specified by:
getCreateDate in interface AuditedModel
Specified by:
getCreateDate in interface ContactModel
Returns:
the create date of this contact

setCreateDate

public void setCreateDate(Date createDate)
Description copied from interface: ContactModel
Sets the create date of this contact.

Specified by:
setCreateDate in interface AuditedModel
Specified by:
setCreateDate in interface ContactModel
Parameters:
createDate - the create date of this contact

getModifiedDate

@JSON
public Date getModifiedDate()
Description copied from interface: ContactModel
Returns the modified date of this contact.

Specified by:
getModifiedDate in interface AuditedModel
Specified by:
getModifiedDate in interface ContactModel
Returns:
the modified date of this contact

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Description copied from interface: ContactModel
Sets the modified date of this contact.

Specified by:
setModifiedDate in interface AuditedModel
Specified by:
setModifiedDate in interface ContactModel
Parameters:
modifiedDate - the modified date of this contact

getAccountId

@JSON
public long getAccountId()
Description copied from interface: ContactModel
Returns the account ID of this contact.

Specified by:
getAccountId in interface ContactModel
Returns:
the account ID of this contact

setAccountId

public void setAccountId(long accountId)
Description copied from interface: ContactModel
Sets the account ID of this contact.

Specified by:
setAccountId in interface ContactModel
Parameters:
accountId - the account ID of this contact

getParentContactId

@JSON
public long getParentContactId()
Description copied from interface: ContactModel
Returns the parent contact ID of this contact.

Specified by:
getParentContactId in interface ContactModel
Returns:
the parent contact ID of this contact

setParentContactId

public void setParentContactId(long parentContactId)
Description copied from interface: ContactModel
Sets the parent contact ID of this contact.

Specified by:
setParentContactId in interface ContactModel
Parameters:
parentContactId - the parent contact ID of this contact

getFirstName

@JSON
public String getFirstName()
Description copied from interface: ContactModel
Returns the first name of this contact.

Specified by:
getFirstName in interface ContactModel
Returns:
the first name of this contact

setFirstName

public void setFirstName(String firstName)
Description copied from interface: ContactModel
Sets the first name of this contact.

Specified by:
setFirstName in interface ContactModel
Parameters:
firstName - the first name of this contact

getMiddleName

@JSON
public String getMiddleName()
Description copied from interface: ContactModel
Returns the middle name of this contact.

Specified by:
getMiddleName in interface ContactModel
Returns:
the middle name of this contact

setMiddleName

public void setMiddleName(String middleName)
Description copied from interface: ContactModel
Sets the middle name of this contact.

Specified by:
setMiddleName in interface ContactModel
Parameters:
middleName - the middle name of this contact

getLastName

@JSON
public String getLastName()
Description copied from interface: ContactModel
Returns the last name of this contact.

Specified by:
getLastName in interface ContactModel
Returns:
the last name of this contact

setLastName

public void setLastName(String lastName)
Description copied from interface: ContactModel
Sets the last name of this contact.

Specified by:
setLastName in interface ContactModel
Parameters:
lastName - the last name of this contact

getPrefixId

@JSON
public int getPrefixId()
Description copied from interface: ContactModel
Returns the prefix ID of this contact.

Specified by:
getPrefixId in interface ContactModel
Returns:
the prefix ID of this contact

setPrefixId

public void setPrefixId(int prefixId)
Description copied from interface: ContactModel
Sets the prefix ID of this contact.

Specified by:
setPrefixId in interface ContactModel
Parameters:
prefixId - the prefix ID of this contact

getSuffixId

@JSON
public int getSuffixId()
Description copied from interface: ContactModel
Returns the suffix ID of this contact.

Specified by:
getSuffixId in interface ContactModel
Returns:
the suffix ID of this contact

setSuffixId

public void setSuffixId(int suffixId)
Description copied from interface: ContactModel
Sets the suffix ID of this contact.

Specified by:
setSuffixId in interface ContactModel
Parameters:
suffixId - the suffix ID of this contact

getMale

@JSON
public boolean getMale()
Description copied from interface: ContactModel
Returns the male of this contact.

Specified by:
getMale in interface ContactModel
Returns:
the male of this contact

isMale

public boolean isMale()
Description copied from interface: ContactModel
Returns true if this contact is male.

Specified by:
isMale in interface ContactModel
Returns:
true if this contact is male; false otherwise

setMale

public void setMale(boolean male)
Description copied from interface: ContactModel
Sets whether this contact is male.

Specified by:
setMale in interface ContactModel
Parameters:
male - the male of this contact

getBirthday

@JSON
public Date getBirthday()
Description copied from interface: ContactModel
Returns the birthday of this contact.

Specified by:
getBirthday in interface ContactModel
Returns:
the birthday of this contact

setBirthday

public void setBirthday(Date birthday)
Description copied from interface: ContactModel
Sets the birthday of this contact.

Specified by:
setBirthday in interface ContactModel
Parameters:
birthday - the birthday of this contact

getSmsSn

@JSON
public String getSmsSn()
Description copied from interface: ContactModel
Returns the sms sn of this contact.

Specified by:
getSmsSn in interface ContactModel
Returns:
the sms sn of this contact

setSmsSn

public void setSmsSn(String smsSn)
Description copied from interface: ContactModel
Sets the sms sn of this contact.

Specified by:
setSmsSn in interface ContactModel
Parameters:
smsSn - the sms sn of this contact

getAimSn

@JSON
public String getAimSn()
Description copied from interface: ContactModel
Returns the aim sn of this contact.

Specified by:
getAimSn in interface ContactModel
Returns:
the aim sn of this contact

setAimSn

public void setAimSn(String aimSn)
Description copied from interface: ContactModel
Sets the aim sn of this contact.

Specified by:
setAimSn in interface ContactModel
Parameters:
aimSn - the aim sn of this contact

getFacebookSn

@JSON
public String getFacebookSn()
Description copied from interface: ContactModel
Returns the facebook sn of this contact.

Specified by:
getFacebookSn in interface ContactModel
Returns:
the facebook sn of this contact

setFacebookSn

public void setFacebookSn(String facebookSn)
Description copied from interface: ContactModel
Sets the facebook sn of this contact.

Specified by:
setFacebookSn in interface ContactModel
Parameters:
facebookSn - the facebook sn of this contact

getIcqSn

@JSON
public String getIcqSn()
Description copied from interface: ContactModel
Returns the icq sn of this contact.

Specified by:
getIcqSn in interface ContactModel
Returns:
the icq sn of this contact

setIcqSn

public void setIcqSn(String icqSn)
Description copied from interface: ContactModel
Sets the icq sn of this contact.

Specified by:
setIcqSn in interface ContactModel
Parameters:
icqSn - the icq sn of this contact

getJabberSn

@JSON
public String getJabberSn()
Description copied from interface: ContactModel
Returns the jabber sn of this contact.

Specified by:
getJabberSn in interface ContactModel
Returns:
the jabber sn of this contact

setJabberSn

public void setJabberSn(String jabberSn)
Description copied from interface: ContactModel
Sets the jabber sn of this contact.

Specified by:
setJabberSn in interface ContactModel
Parameters:
jabberSn - the jabber sn of this contact

getMsnSn

@JSON
public String getMsnSn()
Description copied from interface: ContactModel
Returns the msn sn of this contact.

Specified by:
getMsnSn in interface ContactModel
Returns:
the msn sn of this contact

setMsnSn

public void setMsnSn(String msnSn)
Description copied from interface: ContactModel
Sets the msn sn of this contact.

Specified by:
setMsnSn in interface ContactModel
Parameters:
msnSn - the msn sn of this contact

getMySpaceSn

@JSON
public String getMySpaceSn()
Description copied from interface: ContactModel
Returns the my space sn of this contact.

Specified by:
getMySpaceSn in interface ContactModel
Returns:
the my space sn of this contact

setMySpaceSn

public void setMySpaceSn(String mySpaceSn)
Description copied from interface: ContactModel
Sets the my space sn of this contact.

Specified by:
setMySpaceSn in interface ContactModel
Parameters:
mySpaceSn - the my space sn of this contact

getSkypeSn

@JSON
public String getSkypeSn()
Description copied from interface: ContactModel
Returns the skype sn of this contact.

Specified by:
getSkypeSn in interface ContactModel
Returns:
the skype sn of this contact

setSkypeSn

public void setSkypeSn(String skypeSn)
Description copied from interface: ContactModel
Sets the skype sn of this contact.

Specified by:
setSkypeSn in interface ContactModel
Parameters:
skypeSn - the skype sn of this contact

getTwitterSn

@JSON
public String getTwitterSn()
Description copied from interface: ContactModel
Returns the twitter sn of this contact.

Specified by:
getTwitterSn in interface ContactModel
Returns:
the twitter sn of this contact

setTwitterSn

public void setTwitterSn(String twitterSn)
Description copied from interface: ContactModel
Sets the twitter sn of this contact.

Specified by:
setTwitterSn in interface ContactModel
Parameters:
twitterSn - the twitter sn of this contact

getYmSn

@JSON
public String getYmSn()
Description copied from interface: ContactModel
Returns the ym sn of this contact.

Specified by:
getYmSn in interface ContactModel
Returns:
the ym sn of this contact

setYmSn

public void setYmSn(String ymSn)
Description copied from interface: ContactModel
Sets the ym sn of this contact.

Specified by:
setYmSn in interface ContactModel
Parameters:
ymSn - the ym sn of this contact

getEmployeeStatusId

@JSON
public String getEmployeeStatusId()
Description copied from interface: ContactModel
Returns the employee status ID of this contact.

Specified by:
getEmployeeStatusId in interface ContactModel
Returns:
the employee status ID of this contact

setEmployeeStatusId

public void setEmployeeStatusId(String employeeStatusId)
Description copied from interface: ContactModel
Sets the employee status ID of this contact.

Specified by:
setEmployeeStatusId in interface ContactModel
Parameters:
employeeStatusId - the employee status ID of this contact

getEmployeeNumber

@JSON
public String getEmployeeNumber()
Description copied from interface: ContactModel
Returns the employee number of this contact.

Specified by:
getEmployeeNumber in interface ContactModel
Returns:
the employee number of this contact

setEmployeeNumber

public void setEmployeeNumber(String employeeNumber)
Description copied from interface: ContactModel
Sets the employee number of this contact.

Specified by:
setEmployeeNumber in interface ContactModel
Parameters:
employeeNumber - the employee number of this contact

getJobTitle

@JSON
public String getJobTitle()
Description copied from interface: ContactModel
Returns the job title of this contact.

Specified by:
getJobTitle in interface ContactModel
Returns:
the job title of this contact

setJobTitle

public void setJobTitle(String jobTitle)
Description copied from interface: ContactModel
Sets the job title of this contact.

Specified by:
setJobTitle in interface ContactModel
Parameters:
jobTitle - the job title of this contact

getJobClass

@JSON
public String getJobClass()
Description copied from interface: ContactModel
Returns the job class of this contact.

Specified by:
getJobClass in interface ContactModel
Returns:
the job class of this contact

setJobClass

public void setJobClass(String jobClass)
Description copied from interface: ContactModel
Sets the job class of this contact.

Specified by:
setJobClass in interface ContactModel
Parameters:
jobClass - the job class of this contact

getHoursOfOperation

@JSON
public String getHoursOfOperation()
Description copied from interface: ContactModel
Returns the hours of operation of this contact.

Specified by:
getHoursOfOperation in interface ContactModel
Returns:
the hours of operation of this contact

setHoursOfOperation

public void setHoursOfOperation(String hoursOfOperation)
Description copied from interface: ContactModel
Sets the hours of operation of this contact.

Specified by:
setHoursOfOperation in interface ContactModel
Parameters:
hoursOfOperation - the hours of operation of this contact

getColumnBitmask

public long getColumnBitmask()

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Returns the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<Contact>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface ContactModel
Overrides:
getExpandoBridge in class BaseModelImpl<Contact>
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<Contact>
Specified by:
setExpandoBridgeAttributes in interface ContactModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<Contact>
Parameters:
serviceContext - the service context
See Also:
ServiceContext.getExpandoBridgeAttributes( )

toEscapedModel

public Contact toEscapedModel()
Description copied from interface: BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<Contact>
Specified by:
toEscapedModel in interface ContactModel
Overrides:
toEscapedModel in class BaseModelImpl<Contact>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public Contact toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<Contact>
Specified by:
toUnescapedModel in interface ContactModel
Overrides:
toUnescapedModel in class BaseModelImpl<Contact>

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<Contact>
Specified by:
clone in interface ContactModel
Specified by:
clone in class BaseModelImpl<Contact>
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(Contact contact)
Specified by:
compareTo in interface ContactModel
Specified by:
compareTo in interface Comparable<Contact>

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface ContactModel
Overrides:
hashCode in class Object

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<Contact>
Overrides:
resetOriginalValues in class BaseModelImpl<Contact>

toCacheModel

public CacheModel<Contact> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<Contact>
Specified by:
toCacheModel in interface ContactModel
Overrides:
toCacheModel in class BaseModelImpl<Contact>
Returns:
the cache model object

toString

public String toString()
Specified by:
toString in interface ContactModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Returns the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<Contact>
Specified by:
toXmlString in interface ContactModel
Returns:
the XML representation of this model instance

Liferay 6.1.2-ce-ga3