Package com.liferay.portal.kernel.model
Class ServiceComponentWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ServiceComponent>
com.liferay.portal.kernel.model.ServiceComponentWrapper
- All Implemented Interfaces:
BaseModel<ServiceComponent>
,ClassedModel
,ModelWrapper<ServiceComponent>
,MVCCModel
,PersistedModel
,ServiceComponent
,ServiceComponentModel
,Serializable
,Cloneable
,Comparable<ServiceComponent>
public class ServiceComponentWrapper
extends BaseModelWrapper<ServiceComponent>
implements ModelWrapper<ServiceComponent>, ServiceComponent
This class is a wrapper for ServiceComponent
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.portal.kernel.model.ServiceComponent
SERVICE_COMPONENT_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the build date of this service component.Returns the build namespace of this service component.long
Returns the build number of this service component.getData()
Returns the data of this service component.long
Returns the mvcc version of this service component.long
Returns the primary key of this service component.long
Returns the service component ID of this service component.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
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.protected ServiceComponentWrapper
wrap
(ServiceComponent serviceComponent) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
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
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
ServiceComponentWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<ServiceComponent>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<ServiceComponent>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<ServiceComponent>
- Specified by:
cloneWithOriginalValues
in interfaceServiceComponentModel
-
getBuildDate
public long getBuildDate()Returns the build date of this service component.- Specified by:
getBuildDate
in interfaceServiceComponentModel
- Returns:
- the build date of this service component
-
getBuildNamespace
Returns the build namespace of this service component.- Specified by:
getBuildNamespace
in interfaceServiceComponentModel
- Returns:
- the build namespace of this service component
-
getBuildNumber
public long getBuildNumber()Returns the build number of this service component.- Specified by:
getBuildNumber
in interfaceServiceComponentModel
- Returns:
- the build number of this service component
-
getData
Returns the data of this service component.- Specified by:
getData
in interfaceServiceComponentModel
- Returns:
- the data of this service component
-
getIndexesSQL
- Specified by:
getIndexesSQL
in interfaceServiceComponent
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this service component.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Specified by:
getMvccVersion
in interfaceServiceComponentModel
- Returns:
- the mvcc version of this service component
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this service component.- Specified by:
getPrimaryKey
in interfaceServiceComponentModel
- Returns:
- the primary key of this service component
-
getSequencesSQL
- Specified by:
getSequencesSQL
in interfaceServiceComponent
-
getServiceComponentId
public long getServiceComponentId()Returns the service component ID of this service component.- Specified by:
getServiceComponentId
in interfaceServiceComponentModel
- Returns:
- the service component ID of this service component
-
getTablesSQL
- Specified by:
getTablesSQL
in interfaceServiceComponent
-
persist
public void persist()Description copied from interface:PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persist
in interfacePersistedModel
-
setBuildDate
public void setBuildDate(long buildDate) Sets the build date of this service component.- Specified by:
setBuildDate
in interfaceServiceComponentModel
- Parameters:
buildDate
- the build date of this service component
-
setBuildNamespace
Sets the build namespace of this service component.- Specified by:
setBuildNamespace
in interfaceServiceComponentModel
- Parameters:
buildNamespace
- the build namespace of this service component
-
setBuildNumber
public void setBuildNumber(long buildNumber) Sets the build number of this service component.- Specified by:
setBuildNumber
in interfaceServiceComponentModel
- Parameters:
buildNumber
- the build number of this service component
-
setData
Sets the data of this service component.- Specified by:
setData
in interfaceServiceComponentModel
- Parameters:
data
- the data of this service component
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this service component.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Specified by:
setMvccVersion
in interfaceServiceComponentModel
- Parameters:
mvccVersion
- the mvcc version of this service component
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this service component.- Specified by:
setPrimaryKey
in interfaceServiceComponentModel
- Parameters:
primaryKey
- the primary key of this service component
-
setServiceComponentId
public void setServiceComponentId(long serviceComponentId) Sets the service component ID of this service component.- Specified by:
setServiceComponentId
in interfaceServiceComponentModel
- Parameters:
serviceComponentId
- the service component ID of this service component
-
toXmlString
- Specified by:
toXmlString
in interfaceServiceComponentModel
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<ServiceComponent>
-