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
modelFields inherited from interface com.liferay.portal.kernel.model.CompanyInfo
COMPANY_INFO_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the company ID of this company info.longReturns the company info ID of this company info.getKey()Returns the key of this company info.longReturns the mvcc version of this company info.longReturns the primary key of this company info.voidpersist()Updates this model instance in the database or adds it if it does not yet exist.voidsetCompanyId(long companyId) Sets the company ID of this company info.voidsetCompanyInfoId(long companyInfoId) Sets the company info ID of this company info.voidSets the key of this company info.voidsetModelAttributes(Map<String, Object> attributes) voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this company info.voidsetPrimaryKey(long primaryKey) Sets the primary key of this company info.protected CompanyInfoWrapperwrap(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, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
CompanyInfoWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfaceBaseModel<CompanyInfo>
-
setModelAttributes
- Specified by:
setModelAttributesin interfaceBaseModel<CompanyInfo>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<CompanyInfo>- Specified by:
cloneWithOriginalValuesin interfaceCompanyInfoModel
-
getCompanyId
public long getCompanyId()Returns the company ID of this company info.- Specified by:
getCompanyIdin interfaceCompanyInfoModel- Specified by:
getCompanyIdin interfaceShardedModel- Returns:
- the company ID of this company info
-
getCompanyInfoId
public long getCompanyInfoId()Returns the company info ID of this company info.- Specified by:
getCompanyInfoIdin interfaceCompanyInfoModel- Returns:
- the company info ID of this company info
-
getKey
Returns the key of this company info.- Specified by:
getKeyin interfaceCompanyInfoModel- Returns:
- the key of this company info
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this company info.- Specified by:
getMvccVersionin interfaceCompanyInfoModel- Specified by:
getMvccVersionin interfaceMVCCModel- Returns:
- the mvcc version of this company info
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this company info.- Specified by:
getPrimaryKeyin interfaceCompanyInfoModel- Returns:
- the primary key of this company info
-
persist
public void persist()Description copied from interface:PersistedModelUpdates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persistin interfacePersistedModel
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this company info.- Specified by:
setCompanyIdin interfaceCompanyInfoModel- Specified by:
setCompanyIdin 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:
setCompanyInfoIdin interfaceCompanyInfoModel- Parameters:
companyInfoId- the company info ID of this company info
-
setKey
Sets the key of this company info.- Specified by:
setKeyin 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:
setMvccVersionin interfaceCompanyInfoModel- Specified by:
setMvccVersionin 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:
setPrimaryKeyin interfaceCompanyInfoModel- Parameters:
primaryKey- the primary key of this company info
-
toXmlString
- Specified by:
toXmlStringin interfaceCompanyInfoModel
-
wrap
- Specified by:
wrapin classBaseModelWrapper<CompanyInfo>
-