@ProviderType public interface DLSyncEventModel extends BaseModel<DLSyncEvent>, ShardedModel
This interface and its corresponding implementation DLSyncEventModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in DLSyncEventImpl
.
DLSyncEvent
,
DLSyncEventImpl
,
DLSyncEventModelImpl
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(DLSyncEvent dlSyncEvent) |
long |
getCompanyId()
Returns the company ID of this dl sync event.
|
String |
getEvent()
Returns the event of this dl sync event.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
long |
getModifiedTime()
Returns the modified time of this dl sync event.
|
long |
getPrimaryKey()
Returns the primary key of this dl sync event.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
long |
getSyncEventId()
Returns the sync event ID of this dl sync event.
|
String |
getType()
Returns the type of this dl sync event.
|
long |
getTypePK()
Returns the type pk of this dl sync event.
|
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 |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
void |
setCompanyId(long companyId)
Sets the company ID of this dl sync event.
|
void |
setEvent(String event)
Sets the event of this dl sync event.
|
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 |
setModifiedTime(long modifiedTime)
Sets the modified time of this dl sync event.
|
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 dl sync event.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setSyncEventId(long syncEventId)
Sets the sync event ID of this dl sync event.
|
void |
setType(String type)
Sets the type of this dl sync event.
|
void |
setTypePK(long typePK)
Sets the type pk of this dl sync event.
|
CacheModel<DLSyncEvent> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
DLSyncEvent |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler . |
String |
toString() |
DLSyncEvent |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes
getModelClass, getModelClassName
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this dl sync eventlong getSyncEventId()
void setSyncEventId(long syncEventId)
syncEventId
- the sync event ID of this dl sync eventlong getCompanyId()
getCompanyId
in interface ShardedModel
void setCompanyId(long companyId)
setCompanyId
in interface ShardedModel
companyId
- the company ID of this dl sync eventlong getModifiedTime()
void setModifiedTime(long modifiedTime)
modifiedTime
- the modified time of this dl sync event@AutoEscape String getEvent()
void setEvent(String event)
event
- the event of this dl sync event@AutoEscape String getType()
void setType(String type)
type
- the type of this dl sync eventlong getTypePK()
void setTypePK(long typePK)
typePK
- the type pk of this dl sync eventboolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.isNew
in interface BaseModel<DLSyncEvent>
true
if this model instance does not yet exist in
the database; false
otherwisevoid setNew(boolean n)
BaseModel
setNew
in interface BaseModel<DLSyncEvent>
n
- whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.isCachedModel
in interface BaseModel<DLSyncEvent>
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<DLSyncEvent>
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.isEscapedModel
in interface BaseModel<DLSyncEvent>
true
if this model instance is escaped;
false
otherwiseSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<DLSyncEvent>
getPrimaryKeyObj
in interface ClassedModel
void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<DLSyncEvent>
setPrimaryKeyObj
in interface ClassedModel
primaryKeyObj
- the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<DLSyncEvent>
getExpandoBridge
in interface ClassedModel
void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<DLSyncEvent>
void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<DLSyncEvent>
void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<DLSyncEvent>
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
Object clone()
BaseModel
clone
in interface BaseModel<DLSyncEvent>
int compareTo(DLSyncEvent dlSyncEvent)
compareTo
in interface Comparable<DLSyncEvent>
int hashCode()
hashCode
in class Object
CacheModel<DLSyncEvent> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<DLSyncEvent>
DLSyncEvent toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface BaseModel<DLSyncEvent>
AutoEscapeBeanHandler
DLSyncEvent toUnescapedModel()
toUnescapedModel
in interface BaseModel<DLSyncEvent>
String toString()
toString
in class Object
String toXmlString()
BaseModel
toXmlString
in interface BaseModel<DLSyncEvent>