public class CompanyInfoWrapper extends BaseModelWrapper<CompanyInfo> implements CompanyInfo, ModelWrapper<CompanyInfo>
This class is a wrapper for CompanyInfo
.
CompanyInfo
,
Serialized Formmodel
COMPANY_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.
|
String |
toXmlString() |
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
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
getModelClass, getModelClassName
getWrappedModel
public 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 CompanyInfoModel
public long getCompanyId()
getCompanyId
in interface CompanyInfoModel
getCompanyId
in interface ShardedModel
public long getCompanyInfoId()
getCompanyInfoId
in interface CompanyInfoModel
public String getKey()
getKey
in interface CompanyInfoModel
public long getMvccVersion()
getMvccVersion
in interface CompanyInfoModel
getMvccVersion
in interface MVCCModel
public long getPrimaryKey()
getPrimaryKey
in interface CompanyInfoModel
public void persist()
PersistedModel
persist
in interface PersistedModel
public void setCompanyId(long companyId)
setCompanyId
in interface CompanyInfoModel
setCompanyId
in interface ShardedModel
companyId
- the company ID of this company infopublic void setCompanyInfoId(long companyInfoId)
setCompanyInfoId
in interface CompanyInfoModel
companyInfoId
- the company info ID of this company infopublic void setKey(String key)
setKey
in interface CompanyInfoModel
key
- the key of this company infopublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface CompanyInfoModel
setMvccVersion
in interface MVCCModel
mvccVersion
- the mvcc version of this company infopublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface CompanyInfoModel
primaryKey
- the primary key of this company infopublic String toXmlString()
toXmlString
in interface CompanyInfoModel
protected CompanyInfoWrapper wrap(CompanyInfo companyInfo)
wrap
in class BaseModelWrapper<CompanyInfo>