@ProviderType public class VirtualHostWrapper extends BaseModelWrapper<VirtualHost> implements VirtualHost, ModelWrapper<VirtualHost>
This class is a wrapper for VirtualHost
.
VirtualHost
,
Serialized Formmodel
VIRTUAL_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()
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 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, toXmlString
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
getModelClass, getModelClassName
getWrappedModel
public 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 ShardedModel
getCompanyId
in interface VirtualHostModel
public String getHostname()
getHostname
in interface VirtualHostModel
public long getLayoutSetId()
getLayoutSetId
in interface VirtualHostModel
public long getMvccVersion()
getMvccVersion
in interface MVCCModel
getMvccVersion
in interface VirtualHostModel
public long getPrimaryKey()
getPrimaryKey
in interface VirtualHostModel
public long getVirtualHostId()
getVirtualHostId
in interface VirtualHostModel
public void persist()
PersistedModel
persist
in interface PersistedModel
public void setCompanyId(long companyId)
setCompanyId
in interface ShardedModel
setCompanyId
in interface VirtualHostModel
companyId
- the company ID of this virtual hostpublic void setHostname(String hostname)
setHostname
in interface VirtualHostModel
hostname
- the hostname of this virtual hostpublic void setLayoutSetId(long layoutSetId)
setLayoutSetId
in interface VirtualHostModel
layoutSetId
- the layout set ID of this virtual hostpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
setMvccVersion
in interface VirtualHostModel
mvccVersion
- the mvcc version of this virtual hostpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface VirtualHostModel
primaryKey
- the primary key of this virtual hostpublic void setVirtualHostId(long virtualHostId)
setVirtualHostId
in interface VirtualHostModel
virtualHostId
- the virtual host ID of this virtual hostprotected VirtualHostWrapper wrap(VirtualHost virtualHost)
wrap
in class BaseModelWrapper<VirtualHost>