@ProviderType public class JournalArticleResourceWrapper extends java.lang.Object implements JournalArticleResource, ModelWrapper<JournalArticleResource>
This class is a wrapper for JournalArticleResource.
JournalArticleResource,
Serialized Form| Constructor and Description |
|---|
JournalArticleResourceWrapper(JournalArticleResource journalArticleResource) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(JournalArticleResource journalArticleResource) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getArticleId()
Returns the article ID of this journal article resource.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
long |
getGroupId()
Returns the group ID of this journal article resource.
|
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 journal article resource.
|
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
long |
getResourcePrimKey()
Returns the resource prim key of this journal article resource.
|
java.lang.String |
getUuid()
Returns the uuid of this journal article resource.
|
JournalArticleResource |
getWrappedJournalArticleResource()
Deprecated.
As of 6.1.0, replaced by
getWrappedModel() |
JournalArticleResource |
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 |
setArticleId(java.lang.String articleId)
Sets the article ID of this journal article resource.
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
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 |
setGroupId(long groupId)
Sets the group ID of this journal article resource.
|
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 journal article resource.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setResourcePrimKey(long resourcePrimKey)
Sets the resource prim key of this journal article resource.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this journal article resource.
|
CacheModel<JournalArticleResource> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
JournalArticleResource |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
java.lang.String |
toString() |
JournalArticleResource |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
public JournalArticleResourceWrapper(JournalArticleResource journalArticleResource)
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<JournalArticleResource>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<JournalArticleResource>public long getPrimaryKey()
getPrimaryKey in interface JournalArticleResourceModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface JournalArticleResourceModelprimaryKey - the primary key of this journal article resourcepublic java.lang.String getUuid()
getUuid in interface JournalArticleResourceModelpublic void setUuid(java.lang.String uuid)
setUuid in interface JournalArticleResourceModeluuid - the uuid of this journal article resourcepublic long getResourcePrimKey()
getResourcePrimKey in interface JournalArticleResourceModelpublic void setResourcePrimKey(long resourcePrimKey)
setResourcePrimKey in interface JournalArticleResourceModelresourcePrimKey - the resource prim key of this journal article resourcepublic long getGroupId()
getGroupId in interface JournalArticleResourceModelpublic void setGroupId(long groupId)
setGroupId in interface JournalArticleResourceModelgroupId - the group ID of this journal article resourcepublic java.lang.String getArticleId()
getArticleId in interface JournalArticleResourceModelpublic void setArticleId(java.lang.String articleId)
setArticleId in interface JournalArticleResourceModelarticleId - the article ID of this journal article resourcepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<JournalArticleResource>isNew in interface JournalArticleResourceModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModelsetNew in interface BaseModel<JournalArticleResource>setNew in interface JournalArticleResourceModeln - 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<JournalArticleResource>isCachedModel in interface JournalArticleResourceModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<JournalArticleResource>setCachedModel in interface JournalArticleResourceModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<JournalArticleResource>isEscapedModel in interface JournalArticleResourceModeltrue if this model instance is escaped;
false otherwisepublic java.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<JournalArticleResource>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface JournalArticleResourceModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<JournalArticleResource>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface JournalArticleResourceModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<JournalArticleResource>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface JournalArticleResourceModelpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<JournalArticleResource>setExpandoBridgeAttributes in interface JournalArticleResourceModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<JournalArticleResource>setExpandoBridgeAttributes in interface JournalArticleResourceModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<JournalArticleResource>setExpandoBridgeAttributes in interface JournalArticleResourceModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public java.lang.Object clone()
BaseModelclone in interface BaseModel<JournalArticleResource>clone in interface JournalArticleResourceModelclone in class java.lang.Objectpublic int compareTo(JournalArticleResource journalArticleResource)
compareTo in interface JournalArticleResourceModelcompareTo in interface java.lang.Comparable<JournalArticleResource>public int hashCode()
hashCode in interface JournalArticleResourceModelhashCode in class java.lang.Objectpublic CacheModel<JournalArticleResource> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<JournalArticleResource>toCacheModel in interface JournalArticleResourceModelpublic JournalArticleResource toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<JournalArticleResource>toEscapedModel in interface JournalArticleResourceModelAutoEscapeBeanHandlerpublic JournalArticleResource toUnescapedModel()
toUnescapedModel in interface BaseModel<JournalArticleResource>toUnescapedModel in interface JournalArticleResourceModelpublic java.lang.String toString()
toString in interface JournalArticleResourceModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<JournalArticleResource>toXmlString in interface JournalArticleResourceModelpublic void persist()
throws SystemException
PersistedModelpersist in interface PersistedModelSystemException - if a system exception occurredpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic JournalArticleResource getWrappedJournalArticleResource()
getWrappedModel()public JournalArticleResource getWrappedModel()
getWrappedModel in interface ModelWrapper<JournalArticleResource>public void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<JournalArticleResource>