@ProviderType public class ServiceComponentWrapper extends java.lang.Object implements ServiceComponent, ModelWrapper<ServiceComponent>
This class is a wrapper for ServiceComponent.
ServiceComponent,
Serialized Form| Constructor and Description |
|---|
ServiceComponentWrapper(ServiceComponent serviceComponent) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(ServiceComponent serviceComponent) |
boolean |
equals(java.lang.Object obj) |
long |
getBuildDate()
Returns the build date of this service component.
|
java.lang.String |
getBuildNamespace()
Returns the build namespace of this service component.
|
long |
getBuildNumber()
Returns the build number of this service component.
|
java.lang.String |
getData()
Returns the data of this service component.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
java.lang.String |
getIndexesSQL() |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
long |
getPrimaryKey()
Returns the primary key of this service component.
|
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
java.lang.String |
getSequencesSQL() |
long |
getServiceComponentId()
Returns the service component ID of this service component.
|
java.lang.String |
getTablesSQL() |
ServiceComponent |
getWrappedModel() |
ServiceComponent |
getWrappedServiceComponent()
Deprecated.
As of 6.1.0, replaced by
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
resetOriginalValues()
Reset all original fields to current values.
|
void |
setBuildDate(long buildDate)
Sets the build date of this service component.
|
void |
setBuildNamespace(java.lang.String buildNamespace)
Sets the build namespace of this service component.
|
void |
setBuildNumber(long buildNumber)
Sets the build number of this service component.
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
void |
setData(java.lang.String data)
Sets the data of this service component.
|
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this service component.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setServiceComponentId(long serviceComponentId)
Sets the service component ID of this service component.
|
CacheModel<ServiceComponent> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
ServiceComponent |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
java.lang.String |
toString() |
ServiceComponent |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
public ServiceComponentWrapper(ServiceComponent serviceComponent)
public java.lang.Class<?> getModelClass()
getModelClass in interface ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<ServiceComponent>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<ServiceComponent>public long getPrimaryKey()
getPrimaryKey in interface ServiceComponentModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface ServiceComponentModelprimaryKey - the primary key of this service componentpublic long getServiceComponentId()
getServiceComponentId in interface ServiceComponentModelpublic void setServiceComponentId(long serviceComponentId)
setServiceComponentId in interface ServiceComponentModelserviceComponentId - the service component ID of this service componentpublic java.lang.String getBuildNamespace()
getBuildNamespace in interface ServiceComponentModelpublic void setBuildNamespace(java.lang.String buildNamespace)
setBuildNamespace in interface ServiceComponentModelbuildNamespace - the build namespace of this service componentpublic long getBuildNumber()
getBuildNumber in interface ServiceComponentModelpublic void setBuildNumber(long buildNumber)
setBuildNumber in interface ServiceComponentModelbuildNumber - the build number of this service componentpublic long getBuildDate()
getBuildDate in interface ServiceComponentModelpublic void setBuildDate(long buildDate)
setBuildDate in interface ServiceComponentModelbuildDate - the build date of this service componentpublic java.lang.String getData()
getData in interface ServiceComponentModelpublic void setData(java.lang.String data)
setData in interface ServiceComponentModeldata - the data of this service componentpublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<ServiceComponent>isNew in interface ServiceComponentModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModelsetNew in interface BaseModel<ServiceComponent>setNew in interface ServiceComponentModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<ServiceComponent>isCachedModel in interface ServiceComponentModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<ServiceComponent>setCachedModel in interface ServiceComponentModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<ServiceComponent>isEscapedModel in interface ServiceComponentModeltrue if this model instance is escaped;
false otherwisepublic java.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<ServiceComponent>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface ServiceComponentModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<ServiceComponent>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface ServiceComponentModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<ServiceComponent>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface ServiceComponentModelpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<ServiceComponent>setExpandoBridgeAttributes in interface ServiceComponentModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<ServiceComponent>setExpandoBridgeAttributes in interface ServiceComponentModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<ServiceComponent>setExpandoBridgeAttributes in interface ServiceComponentModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public java.lang.Object clone()
BaseModelclone in interface BaseModel<ServiceComponent>clone in interface ServiceComponentModelclone in class java.lang.Objectpublic int compareTo(ServiceComponent serviceComponent)
compareTo in interface ServiceComponentModelcompareTo in interface java.lang.Comparable<ServiceComponent>public int hashCode()
hashCode in interface ServiceComponentModelhashCode in class java.lang.Objectpublic CacheModel<ServiceComponent> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<ServiceComponent>toCacheModel in interface ServiceComponentModelpublic ServiceComponent toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<ServiceComponent>toEscapedModel in interface ServiceComponentModelAutoEscapeBeanHandlerpublic ServiceComponent toUnescapedModel()
toUnescapedModel in interface BaseModel<ServiceComponent>toUnescapedModel in interface ServiceComponentModelpublic java.lang.String toString()
toString in interface ServiceComponentModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<ServiceComponent>toXmlString in interface ServiceComponentModelpublic void persist()
throws SystemException
PersistedModelpersist in interface PersistedModelSystemException - if a system exception occurredpublic java.lang.String getIndexesSQL()
getIndexesSQL in interface ServiceComponentpublic java.lang.String getSequencesSQL()
getSequencesSQL in interface ServiceComponentpublic java.lang.String getTablesSQL()
getTablesSQL in interface ServiceComponentpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic ServiceComponent getWrappedServiceComponent()
getWrappedModel()public ServiceComponent getWrappedModel()
getWrappedModel in interface ModelWrapper<ServiceComponent>public void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<ServiceComponent>