Package com.liferay.portal.kernel.model
Class CompanyInfoWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CompanyInfo>
com.liferay.portal.kernel.model.CompanyInfoWrapper
- All Implemented Interfaces:
BaseModel<CompanyInfo>
,ClassedModel
,CompanyInfo
,CompanyInfoModel
,ModelWrapper<CompanyInfo>
,MVCCModel
,PersistedModel
,ShardedModel
,Serializable
,Cloneable
,Comparable<CompanyInfo>
public class CompanyInfoWrapper
extends BaseModelWrapper<CompanyInfo>
implements CompanyInfo, ModelWrapper<CompanyInfo>
This class is a wrapper for CompanyInfo
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.portal.kernel.model.CompanyInfo
COMPANY_INFO_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the company ID of this company info.long
Returns the company info ID of this company info.getKey()
Returns the key of this company info.long
Returns the mvcc version of this company info.long
Returns the primary key of this company info.void
persist()
Updates this model instance in the database or adds it if it does not yet exist.void
setCompanyId
(long companyId) Sets the company ID of this company info.void
setCompanyInfoId
(long companyInfoId) Sets the company info ID of this company info.void
Sets the key of this company info.void
setModelAttributes
(Map<String, Object> attributes) void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this company info.void
setPrimaryKey
(long primaryKey) Sets the primary key of this company info.protected CompanyInfoWrapper
wrap
(CompanyInfo companyInfo) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
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
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
CompanyInfoWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<CompanyInfo>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<CompanyInfo>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<CompanyInfo>
- Specified by:
cloneWithOriginalValues
in interfaceCompanyInfoModel
-
getCompanyId
public long getCompanyId()Returns the company ID of this company info.- Specified by:
getCompanyId
in interfaceCompanyInfoModel
- Specified by:
getCompanyId
in interfaceShardedModel
- Returns:
- the company ID of this company info
-
getCompanyInfoId
public long getCompanyInfoId()Returns the company info ID of this company info.- Specified by:
getCompanyInfoId
in interfaceCompanyInfoModel
- Returns:
- the company info ID of this company info
-
getKey
Returns the key of this company info.- Specified by:
getKey
in interfaceCompanyInfoModel
- Returns:
- the key of this company info
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this company info.- Specified by:
getMvccVersion
in interfaceCompanyInfoModel
- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this company info
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this company info.- Specified by:
getPrimaryKey
in interfaceCompanyInfoModel
- Returns:
- the primary key of this company info
-
persist
public void persist()Description copied from interface:PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persist
in interfacePersistedModel
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this company info.- Specified by:
setCompanyId
in interfaceCompanyInfoModel
- Specified by:
setCompanyId
in interfaceShardedModel
- Parameters:
companyId
- the company ID of this company info
-
setCompanyInfoId
public void setCompanyInfoId(long companyInfoId) Sets the company info ID of this company info.- Specified by:
setCompanyInfoId
in interfaceCompanyInfoModel
- Parameters:
companyInfoId
- the company info ID of this company info
-
setKey
Sets the key of this company info.- Specified by:
setKey
in interfaceCompanyInfoModel
- Parameters:
key
- the key of this company info
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this company info.- Specified by:
setMvccVersion
in interfaceCompanyInfoModel
- Specified by:
setMvccVersion
in interfaceMVCCModel
- Parameters:
mvccVersion
- the mvcc version of this company info
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this company info.- Specified by:
setPrimaryKey
in interfaceCompanyInfoModel
- Parameters:
primaryKey
- the primary key of this company info
-
toXmlString
- Specified by:
toXmlString
in interfaceCompanyInfoModel
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<CompanyInfo>
-