Liferay 6.0.3

com.liferay.portlet.journal.model
Class JournalArticleImageWrapper

java.lang.Object
  extended by com.liferay.portlet.journal.model.JournalArticleImageWrapper
All Implemented Interfaces:
BaseModel<JournalArticleImage>, JournalArticleImage, JournalArticleImageModel, Serializable, Cloneable, Comparable<JournalArticleImage>

public class JournalArticleImageWrapper
extends Object
implements JournalArticleImage

This class is a wrapper for JournalArticleImage.

See Also:
JournalArticleImage, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Constructor Summary
JournalArticleImageWrapper(JournalArticleImage journalArticleImage)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(JournalArticleImage journalArticleImage)
           
 String getArticleId()
           
 long getArticleImageId()
           
 String getElInstanceId()
           
 String getElName()
           
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 long getGroupId()
           
 String getLanguageId()
           
 long getPrimaryKey()
           
 Serializable getPrimaryKeyObj()
          Gets the primary key for this model instance.
 boolean getTempImage()
           
 double getVersion()
           
 JournalArticleImage getWrappedJournalArticleImage()
           
 int hashCode()
           
 boolean isCachedModel()
          Determines if this model instance was retrieved from the entity cache.
 boolean isEscapedModel()
          Determines if this model instance has been wrapped with an HTML auto escape handler.
 boolean isNew()
          Determines if this model instance does not yet exist in the database.
 boolean isTempImage()
           
 void setArticleId(String articleId)
           
 void setArticleImageId(long articleImageId)
           
 void setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
 void setElInstanceId(String elInstanceId)
           
 void setElName(String elName)
           
 void setEscapedModel(boolean escapedModel)
          Sets whether this model instance has been wrapped with an HTML auto escape handler.
 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)
           
 void setLanguageId(String languageId)
           
 void setNew(boolean n)
          Sets whether this model instance does not yet exist in the database.
 void setPrimaryKey(long pk)
           
 void setTempImage(boolean tempImage)
           
 void setVersion(double version)
           
 JournalArticleImage toEscapedModel()
           
 String toString()
           
 String toXmlString()
          Gets the XML representation of this model instance.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JournalArticleImageWrapper

public JournalArticleImageWrapper(JournalArticleImage journalArticleImage)
Method Detail

getPrimaryKey

public long getPrimaryKey()
Specified by:
getPrimaryKey in interface JournalArticleImageModel

setPrimaryKey

public void setPrimaryKey(long pk)
Specified by:
setPrimaryKey in interface JournalArticleImageModel

getArticleImageId

public long getArticleImageId()
Specified by:
getArticleImageId in interface JournalArticleImageModel

setArticleImageId

public void setArticleImageId(long articleImageId)
Specified by:
setArticleImageId in interface JournalArticleImageModel

getGroupId

public long getGroupId()
Specified by:
getGroupId in interface JournalArticleImageModel

setGroupId

public void setGroupId(long groupId)
Specified by:
setGroupId in interface JournalArticleImageModel

getArticleId

public String getArticleId()
Specified by:
getArticleId in interface JournalArticleImageModel

setArticleId

public void setArticleId(String articleId)
Specified by:
setArticleId in interface JournalArticleImageModel

getVersion

public double getVersion()
Specified by:
getVersion in interface JournalArticleImageModel

setVersion

public void setVersion(double version)
Specified by:
setVersion in interface JournalArticleImageModel

getElInstanceId

public String getElInstanceId()
Specified by:
getElInstanceId in interface JournalArticleImageModel

setElInstanceId

public void setElInstanceId(String elInstanceId)
Specified by:
setElInstanceId in interface JournalArticleImageModel

getElName

public String getElName()
Specified by:
getElName in interface JournalArticleImageModel

setElName

public void setElName(String elName)
Specified by:
setElName in interface JournalArticleImageModel

getLanguageId

public String getLanguageId()
Specified by:
getLanguageId in interface JournalArticleImageModel

setLanguageId

public void setLanguageId(String languageId)
Specified by:
setLanguageId in interface JournalArticleImageModel

getTempImage

public boolean getTempImage()
Specified by:
getTempImage in interface JournalArticleImageModel

isTempImage

public boolean isTempImage()
Specified by:
isTempImage in interface JournalArticleImageModel

setTempImage

public void setTempImage(boolean tempImage)
Specified by:
setTempImage in interface JournalArticleImageModel

toEscapedModel

public JournalArticleImage toEscapedModel()
Specified by:
toEscapedModel in interface JournalArticleImageModel

isNew

public boolean isNew()
Description copied from interface: BaseModel
Determines if this model instance does not yet exist in the database.

Specified by:
isNew in interface BaseModel<JournalArticleImage>
Specified by:
isNew in interface JournalArticleImageModel
Returns:
true if this model instance does not yet exist in the database; false otherwise

setNew

public void setNew(boolean n)
Description copied from interface: BaseModel
Sets whether this model instance does not yet exist in the database.

Specified by:
setNew in interface BaseModel<JournalArticleImage>
Specified by:
setNew in interface JournalArticleImageModel
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

public boolean isCachedModel()
Description copied from interface: BaseModel
Determines if this model instance was retrieved from the entity cache.

Specified by:
isCachedModel in interface BaseModel<JournalArticleImage>
Specified by:
isCachedModel in interface JournalArticleImageModel
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

setCachedModel

public void setCachedModel(boolean cachedModel)
Description copied from interface: BaseModel
Sets whether this model instance was retrieved from the entity cache.

Specified by:
setCachedModel in interface BaseModel<JournalArticleImage>
Specified by:
setCachedModel in interface JournalArticleImageModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

public boolean isEscapedModel()
Description copied from interface: BaseModel
Determines if this model instance has been wrapped with an HTML auto escape handler.

Specified by:
isEscapedModel in interface BaseModel<JournalArticleImage>
Specified by:
isEscapedModel in interface JournalArticleImageModel
Returns:
true if this model instance has been wrapped with an HTML auto escape handler; false otherwise
See Also:
BaseModel.setEscapedModel(boolean)

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Description copied from interface: BaseModel
Sets whether this model instance has been wrapped with an HTML auto escape handler.

A model instance can be wrapped with an HTML auto escape handler using its toEscapedModel method. For example, UserModel.toEscapedModel().

Specified by:
setEscapedModel in interface BaseModel<JournalArticleImage>
Specified by:
setEscapedModel in interface JournalArticleImageModel
Parameters:
escapedModel - whether this model instance has been wrapped with an HTML auto escape handler
See Also:
AutoEscapeBeanHandler

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Gets the primary key for this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<JournalArticleImage>
Specified by:
getPrimaryKeyObj in interface JournalArticleImageModel
Returns:
the primary key

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Gets the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<JournalArticleImage>
Specified by:
getExpandoBridge in interface JournalArticleImageModel
Returns:
the expando bridge

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<JournalArticleImage>
Specified by:
setExpandoBridgeAttributes in interface JournalArticleImageModel
Parameters:
serviceContext - the service context to retrieve the expando bridge attributes from
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<JournalArticleImage>
Specified by:
clone in interface JournalArticleImageModel
Overrides:
clone in class Object
Returns:
the clone

compareTo

public int compareTo(JournalArticleImage journalArticleImage)
Specified by:
compareTo in interface JournalArticleImageModel
Specified by:
compareTo in interface Comparable<JournalArticleImage>

hashCode

public int hashCode()
Specified by:
hashCode in interface JournalArticleImageModel
Overrides:
hashCode in class Object

toString

public String toString()
Specified by:
toString in interface JournalArticleImageModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Gets the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<JournalArticleImage>
Specified by:
toXmlString in interface JournalArticleImageModel
Returns:
the XML representation of this model instance

getWrappedJournalArticleImage

public JournalArticleImage getWrappedJournalArticleImage()

Liferay 6.0.3