@JSON(strict=true)
@ProviderType
public class PhoneModelImpl
extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Phone>
implements com.liferay.portal.kernel.model.PhoneModel
This implementation and its corresponding interface PhoneModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in PhoneImpl
.
PhoneImpl
,
Phone
,
PhoneModel
,
Serialized FormModifier and Type | Field and Description |
---|---|
static long |
CLASSNAMEID_COLUMN_BITMASK |
static long |
CLASSPK_COLUMN_BITMASK |
static boolean |
COLUMN_BITMASK_ENABLED |
static long |
COMPANYID_COLUMN_BITMASK |
static long |
CREATEDATE_COLUMN_BITMASK |
static String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED |
static boolean |
FINDER_CACHE_ENABLED |
static long |
LOCK_EXPIRATION_TIME |
static String |
ORDER_BY_JPQL |
static String |
ORDER_BY_SQL |
static long |
PRIMARY_COLUMN_BITMASK |
static String |
SESSION_FACTORY |
static Object[][] |
TABLE_COLUMNS |
static Map<String,Integer> |
TABLE_COLUMNS_MAP |
static String |
TABLE_NAME |
static String |
TABLE_SQL_CREATE |
static String |
TABLE_SQL_DROP |
static String |
TX_MANAGER |
static long |
USERID_COLUMN_BITMASK |
static long |
UUID_COLUMN_BITMASK |
Constructor and Description |
---|
PhoneModelImpl() |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
int |
compareTo(com.liferay.portal.kernel.model.Phone phone) |
boolean |
equals(Object obj) |
String |
getClassName() |
long |
getClassNameId() |
long |
getClassPK() |
long |
getColumnBitmask() |
long |
getCompanyId() |
Date |
getCreateDate() |
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
String |
getExtension() |
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
Date |
getModifiedDate() |
long |
getMvccVersion() |
String |
getNumber() |
long |
getOriginalClassNameId() |
long |
getOriginalClassPK() |
long |
getOriginalCompanyId() |
boolean |
getOriginalPrimary() |
long |
getOriginalUserId() |
String |
getOriginalUuid() |
long |
getPhoneId() |
boolean |
getPrimary() |
long |
getPrimaryKey() |
Serializable |
getPrimaryKeyObj() |
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
long |
getTypeId() |
long |
getUserId() |
String |
getUserName() |
String |
getUserUuid() |
String |
getUuid() |
int |
hashCode() |
boolean |
hasSetModifiedDate() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
boolean |
isPrimary() |
void |
resetOriginalValues() |
void |
setClassName(String className) |
void |
setClassNameId(long classNameId) |
void |
setClassPK(long classPK) |
void |
setCompanyId(long companyId) |
void |
setCreateDate(Date createDate) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setExtension(String extension) |
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setModifiedDate(Date modifiedDate) |
void |
setMvccVersion(long mvccVersion) |
void |
setNumber(String number) |
void |
setPhoneId(long phoneId) |
void |
setPrimary(boolean primary) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(Serializable primaryKeyObj) |
void |
setTypeId(long typeId) |
void |
setUserId(long userId) |
void |
setUserName(String userName) |
void |
setUserUuid(String userUuid) |
void |
setUuid(String uuid) |
com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.Phone> |
toCacheModel() |
com.liferay.portal.kernel.model.Phone |
toEscapedModel() |
static com.liferay.portal.kernel.model.Phone |
toModel(com.liferay.portal.kernel.model.PhoneSoap soapModel)
Converts the soap model instance into a normal model instance.
|
static List<com.liferay.portal.kernel.model.Phone> |
toModels(com.liferay.portal.kernel.model.PhoneSoap[] soapModels)
Converts the soap model instances into normal model instances.
|
String |
toString() |
String |
toXmlString() |
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final Map<String,Integer> TABLE_COLUMNS_MAP
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static final long CLASSNAMEID_COLUMN_BITMASK
public static final long CLASSPK_COLUMN_BITMASK
public static final long COMPANYID_COLUMN_BITMASK
public static final long PRIMARY_COLUMN_BITMASK
public static final long USERID_COLUMN_BITMASK
public static final long UUID_COLUMN_BITMASK
public static final long CREATEDATE_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
public static com.liferay.portal.kernel.model.Phone toModel(com.liferay.portal.kernel.model.PhoneSoap soapModel)
soapModel
- the soap model instance to convertpublic static List<com.liferay.portal.kernel.model.Phone> toModels(com.liferay.portal.kernel.model.PhoneSoap[] soapModels)
soapModels
- the soap model instances to convertpublic long getPrimaryKey()
getPrimaryKey
in interface com.liferay.portal.kernel.model.PhoneModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface com.liferay.portal.kernel.model.PhoneModel
public Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Phone>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.PhoneModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Phone>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.PhoneModel
public Class<?> getModelClass()
getModelClass
in interface com.liferay.portal.kernel.model.ClassedModel
public String getModelClassName()
getModelClassName
in interface com.liferay.portal.kernel.model.ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Phone>
getModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Phone>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Phone>
setModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Phone>
@JSON public long getMvccVersion()
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
getMvccVersion
in interface com.liferay.portal.kernel.model.PhoneModel
public void setMvccVersion(long mvccVersion)
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
setMvccVersion
in interface com.liferay.portal.kernel.model.PhoneModel
@JSON public String getUuid()
getUuid
in interface com.liferay.portal.kernel.model.PhoneModel
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
public void setUuid(String uuid)
setUuid
in interface com.liferay.portal.kernel.model.PhoneModel
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
public String getOriginalUuid()
@JSON public long getPhoneId()
getPhoneId
in interface com.liferay.portal.kernel.model.PhoneModel
public void setPhoneId(long phoneId)
setPhoneId
in interface com.liferay.portal.kernel.model.PhoneModel
@JSON public long getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.PhoneModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
public void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.PhoneModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
public long getOriginalCompanyId()
@JSON public long getUserId()
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
getUserId
in interface com.liferay.portal.kernel.model.PhoneModel
public void setUserId(long userId)
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
setUserId
in interface com.liferay.portal.kernel.model.PhoneModel
public String getUserUuid()
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
getUserUuid
in interface com.liferay.portal.kernel.model.PhoneModel
public void setUserUuid(String userUuid)
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
setUserUuid
in interface com.liferay.portal.kernel.model.PhoneModel
public long getOriginalUserId()
@JSON public String getUserName()
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
getUserName
in interface com.liferay.portal.kernel.model.PhoneModel
public void setUserName(String userName)
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
setUserName
in interface com.liferay.portal.kernel.model.PhoneModel
@JSON public Date getCreateDate()
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.PhoneModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
public void setCreateDate(Date createDate)
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface com.liferay.portal.kernel.model.PhoneModel
setCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
@JSON public Date getModifiedDate()
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.PhoneModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public boolean hasSetModifiedDate()
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface com.liferay.portal.kernel.model.PhoneModel
setModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public String getClassName()
getClassName
in interface com.liferay.portal.kernel.model.PhoneModel
getClassName
in interface com.liferay.portal.kernel.model.TypedModel
public void setClassName(String className)
setClassName
in interface com.liferay.portal.kernel.model.PhoneModel
@JSON public long getClassNameId()
getClassNameId
in interface com.liferay.portal.kernel.model.PhoneModel
getClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
public void setClassNameId(long classNameId)
setClassNameId
in interface com.liferay.portal.kernel.model.PhoneModel
setClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
public long getOriginalClassNameId()
@JSON public long getClassPK()
getClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
getClassPK
in interface com.liferay.portal.kernel.model.PhoneModel
public void setClassPK(long classPK)
setClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
setClassPK
in interface com.liferay.portal.kernel.model.PhoneModel
public long getOriginalClassPK()
@JSON public String getNumber()
getNumber
in interface com.liferay.portal.kernel.model.PhoneModel
public void setNumber(String number)
setNumber
in interface com.liferay.portal.kernel.model.PhoneModel
@JSON public String getExtension()
getExtension
in interface com.liferay.portal.kernel.model.PhoneModel
public void setExtension(String extension)
setExtension
in interface com.liferay.portal.kernel.model.PhoneModel
@JSON public long getTypeId()
getTypeId
in interface com.liferay.portal.kernel.model.PhoneModel
public void setTypeId(long typeId)
setTypeId
in interface com.liferay.portal.kernel.model.PhoneModel
@JSON public boolean getPrimary()
getPrimary
in interface com.liferay.portal.kernel.model.PhoneModel
@JSON public boolean isPrimary()
isPrimary
in interface com.liferay.portal.kernel.model.PhoneModel
public void setPrimary(boolean primary)
setPrimary
in interface com.liferay.portal.kernel.model.PhoneModel
public boolean getOriginalPrimary()
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
public long getColumnBitmask()
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Phone>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
getExpandoBridge
in interface com.liferay.portal.kernel.model.PhoneModel
getExpandoBridge
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Phone>
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Phone>
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.PhoneModel
setExpandoBridgeAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Phone>
public com.liferay.portal.kernel.model.Phone toEscapedModel()
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Phone>
toEscapedModel
in interface com.liferay.portal.kernel.model.PhoneModel
toEscapedModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Phone>
public Object clone()
clone
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Phone>
clone
in interface com.liferay.portal.kernel.model.PhoneModel
clone
in interface com.liferay.portal.kernel.model.StagedModel
clone
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Phone>
public int compareTo(com.liferay.portal.kernel.model.Phone phone)
compareTo
in interface com.liferay.portal.kernel.model.PhoneModel
compareTo
in interface Comparable<com.liferay.portal.kernel.model.Phone>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface com.liferay.portal.kernel.model.PhoneModel
hashCode
in class Object
public boolean isEntityCacheEnabled()
isEntityCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Phone>
public boolean isFinderCacheEnabled()
isFinderCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Phone>
public void resetOriginalValues()
resetOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Phone>
resetOriginalValues
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Phone>
public com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.Phone> toCacheModel()
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Phone>
toCacheModel
in interface com.liferay.portal.kernel.model.PhoneModel
toCacheModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Phone>
public String toString()
toString
in interface com.liferay.portal.kernel.model.PhoneModel
toString
in class Object
public String toXmlString()
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Phone>
toXmlString
in interface com.liferay.portal.kernel.model.PhoneModel