public class VirtualHostWrapper extends BaseModelWrapper<VirtualHost> implements ModelWrapper<VirtualHost>, VirtualHost
This class is a wrapper for VirtualHost.
VirtualHost,
Serialized FormmodelVIRTUAL_HOST_ID_ACCESSOR| Constructor and Description |
|---|
VirtualHostWrapper(VirtualHost virtualHost) |
| Modifier and Type | Method and Description |
|---|---|
long |
getCompanyId()
Returns the company ID of this virtual host.
|
String |
getHostname()
Returns the hostname of this virtual host.
|
long |
getLayoutSetId()
Returns the layout set ID of this virtual host.
|
Map<String,Object> |
getModelAttributes() |
long |
getMvccVersion()
Returns the mvcc version of this virtual host.
|
long |
getPrimaryKey()
Returns the primary key of this virtual host.
|
long |
getVirtualHostId()
Returns the virtual host ID of this virtual host.
|
void |
persist()
NOTE FOR DEVELOPERS:
Never modify or reference this class directly.
|
void |
setCompanyId(long companyId)
Sets the company ID of this virtual host.
|
void |
setHostname(String hostname)
Sets the hostname of this virtual host.
|
void |
setLayoutSetId(long layoutSetId)
Sets the layout set ID of this virtual host.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this virtual host.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this virtual host.
|
void |
setVirtualHostId(long virtualHostId)
Sets the virtual host ID of this virtual host.
|
protected VirtualHostWrapper |
wrap(VirtualHost virtualHost) |
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, toXmlStringgetWrappedModelclone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamepublic VirtualHostWrapper(VirtualHost virtualHost)
public Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<VirtualHost>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<VirtualHost>public long getCompanyId()
getCompanyId in interface ShardedModelgetCompanyId in interface VirtualHostModelpublic String getHostname()
getHostname in interface VirtualHostModelpublic long getLayoutSetId()
getLayoutSetId in interface VirtualHostModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface VirtualHostModelpublic long getPrimaryKey()
getPrimaryKey in interface VirtualHostModelpublic long getVirtualHostId()
getVirtualHostId in interface VirtualHostModelpublic void persist()
VirtualHost interface instead.persist in interface PersistedModelpublic void setCompanyId(long companyId)
setCompanyId in interface ShardedModelsetCompanyId in interface VirtualHostModelcompanyId - the company ID of this virtual hostpublic void setHostname(String hostname)
setHostname in interface VirtualHostModelhostname - the hostname of this virtual hostpublic void setLayoutSetId(long layoutSetId)
setLayoutSetId in interface VirtualHostModellayoutSetId - the layout set ID of this virtual hostpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface VirtualHostModelmvccVersion - the mvcc version of this virtual hostpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface VirtualHostModelprimaryKey - the primary key of this virtual hostpublic void setVirtualHostId(long virtualHostId)
setVirtualHostId in interface VirtualHostModelvirtualHostId - the virtual host ID of this virtual hostprotected VirtualHostWrapper wrap(VirtualHost virtualHost)
wrap in class BaseModelWrapper<VirtualHost>