public class CompanyInfoWrapper extends BaseModelWrapper<CompanyInfo> implements CompanyInfo, ModelWrapper<CompanyInfo>
This class is a wrapper for CompanyInfo.
CompanyInfo,
Serialized FormmodelCOMPANY_INFO_ID_ACCESSOR| Constructor and Description |
|---|
CompanyInfoWrapper(CompanyInfo companyInfo) |
| Modifier and Type | Method and Description |
|---|---|
CompanyInfo |
cloneWithOriginalValues() |
long |
getCompanyId()
Returns the company ID of this company info.
|
long |
getCompanyInfoId()
Returns the company info ID of this company info.
|
String |
getKey()
Returns the key of this company info.
|
Map<String,Object> |
getModelAttributes() |
long |
getMvccVersion()
Returns the mvcc version of this company info.
|
long |
getPrimaryKey()
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 |
setKey(String key)
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) |
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, toXmlStringclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamegetWrappedModelpublic CompanyInfoWrapper(CompanyInfo companyInfo)
public Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<CompanyInfo>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<CompanyInfo>public CompanyInfo cloneWithOriginalValues()
cloneWithOriginalValues in interface BaseModel<CompanyInfo>cloneWithOriginalValues in interface CompanyInfoModelpublic long getCompanyId()
getCompanyId in interface CompanyInfoModelgetCompanyId in interface ShardedModelpublic long getCompanyInfoId()
getCompanyInfoId in interface CompanyInfoModelpublic String getKey()
getKey in interface CompanyInfoModelpublic long getMvccVersion()
getMvccVersion in interface CompanyInfoModelgetMvccVersion in interface MVCCModelpublic long getPrimaryKey()
getPrimaryKey in interface CompanyInfoModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setCompanyId(long companyId)
setCompanyId in interface CompanyInfoModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this company infopublic void setCompanyInfoId(long companyInfoId)
setCompanyInfoId in interface CompanyInfoModelcompanyInfoId - the company info ID of this company infopublic void setKey(String key)
setKey in interface CompanyInfoModelkey - the key of this company infopublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface CompanyInfoModelsetMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this company infopublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CompanyInfoModelprimaryKey - the primary key of this company infoprotected CompanyInfoWrapper wrap(CompanyInfo companyInfo)
wrap in class BaseModelWrapper<CompanyInfo>