public class ServiceComponentWrapper extends BaseModelWrapper<ServiceComponent> implements ModelWrapper<ServiceComponent>, ServiceComponent
This class is a wrapper for ServiceComponent
.
ServiceComponent
,
Serialized Formmodel
SERVICE_COMPONENT_ID_ACCESSOR
Constructor and Description |
---|
ServiceComponentWrapper(ServiceComponent serviceComponent) |
Modifier and Type | Method and Description |
---|---|
ServiceComponent |
cloneWithOriginalValues() |
long |
getBuildDate()
Returns the build date of this service component.
|
String |
getBuildNamespace()
Returns the build namespace of this service component.
|
long |
getBuildNumber()
Returns the build number of this service component.
|
String |
getData()
Returns the data of this service component.
|
String |
getIndexesSQL() |
Map<String,Object> |
getModelAttributes() |
long |
getMvccVersion()
Returns the mvcc version of this service component.
|
long |
getPrimaryKey()
Returns the primary key of this service component.
|
String |
getSequencesSQL() |
long |
getServiceComponentId()
Returns the service component ID of this service component.
|
String |
getTablesSQL() |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
setBuildDate(long buildDate)
Sets the build date of this service component.
|
void |
setBuildNamespace(String buildNamespace)
Sets the build namespace of this service component.
|
void |
setBuildNumber(long buildNumber)
Sets the build number of this service component.
|
void |
setData(String data)
Sets the data of this service component.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this service component.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this service component.
|
void |
setServiceComponentId(long serviceComponentId)
Sets the service component ID of this service component.
|
String |
toXmlString() |
protected ServiceComponentWrapper |
wrap(ServiceComponent serviceComponent) |
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
getWrappedModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
getModelClass, getModelClassName
public ServiceComponentWrapper(ServiceComponent serviceComponent)
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<ServiceComponent>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<ServiceComponent>
public ServiceComponent cloneWithOriginalValues()
cloneWithOriginalValues
in interface BaseModel<ServiceComponent>
cloneWithOriginalValues
in interface ServiceComponentModel
public long getBuildDate()
getBuildDate
in interface ServiceComponentModel
public String getBuildNamespace()
getBuildNamespace
in interface ServiceComponentModel
public long getBuildNumber()
getBuildNumber
in interface ServiceComponentModel
public String getData()
getData
in interface ServiceComponentModel
public String getIndexesSQL()
getIndexesSQL
in interface ServiceComponent
public long getMvccVersion()
getMvccVersion
in interface MVCCModel
getMvccVersion
in interface ServiceComponentModel
public long getPrimaryKey()
getPrimaryKey
in interface ServiceComponentModel
public String getSequencesSQL()
getSequencesSQL
in interface ServiceComponent
public long getServiceComponentId()
getServiceComponentId
in interface ServiceComponentModel
public String getTablesSQL()
getTablesSQL
in interface ServiceComponent
public void persist()
PersistedModel
persist
in interface PersistedModel
public void setBuildDate(long buildDate)
setBuildDate
in interface ServiceComponentModel
buildDate
- the build date of this service componentpublic void setBuildNamespace(String buildNamespace)
setBuildNamespace
in interface ServiceComponentModel
buildNamespace
- the build namespace of this service componentpublic void setBuildNumber(long buildNumber)
setBuildNumber
in interface ServiceComponentModel
buildNumber
- the build number of this service componentpublic void setData(String data)
setData
in interface ServiceComponentModel
data
- the data of this service componentpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
setMvccVersion
in interface ServiceComponentModel
mvccVersion
- the mvcc version of this service componentpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface ServiceComponentModel
primaryKey
- the primary key of this service componentpublic void setServiceComponentId(long serviceComponentId)
setServiceComponentId
in interface ServiceComponentModel
serviceComponentId
- the service component ID of this service componentpublic String toXmlString()
toXmlString
in interface ServiceComponentModel
protected ServiceComponentWrapper wrap(ServiceComponent serviceComponent)
wrap
in class BaseModelWrapper<ServiceComponent>