com.liferay.portal.model
Class ImageWrapper
java.lang.Object
com.liferay.portal.model.ImageWrapper
- All Implemented Interfaces:
- BaseModel<Image>, Image, ImageModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<Image>
public class ImageWrapper
- extends java.lang.Object
- implements Image
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class is a wrapper for Image.
- Author:
- Brian Wing Shun Chan
- See Also:
Image,
Serialized Form- Generated:
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
ImageWrapper
public ImageWrapper(Image image)
getPrimaryKey
public long getPrimaryKey()
- Specified by:
getPrimaryKey in interface ImageModel
setPrimaryKey
public void setPrimaryKey(long pk)
- Specified by:
setPrimaryKey in interface ImageModel
getImageId
public long getImageId()
- Specified by:
getImageId in interface ImageModel
setImageId
public void setImageId(long imageId)
- Specified by:
setImageId in interface ImageModel
getModifiedDate
public java.util.Date getModifiedDate()
- Specified by:
getModifiedDate in interface ImageModel
setModifiedDate
public void setModifiedDate(java.util.Date modifiedDate)
- Specified by:
setModifiedDate in interface ImageModel
getText
public java.lang.String getText()
- Specified by:
getText in interface ImageModel
setText
public void setText(java.lang.String text)
- Specified by:
setText in interface ImageModel
getType
public java.lang.String getType()
- Specified by:
getType in interface ImageModel
setType
public void setType(java.lang.String type)
- Specified by:
setType in interface ImageModel
getHeight
public int getHeight()
- Specified by:
getHeight in interface ImageModel
setHeight
public void setHeight(int height)
- Specified by:
setHeight in interface ImageModel
getWidth
public int getWidth()
- Specified by:
getWidth in interface ImageModel
setWidth
public void setWidth(int width)
- Specified by:
setWidth in interface ImageModel
getSize
public int getSize()
- Specified by:
getSize in interface ImageModel
setSize
public void setSize(int size)
- Specified by:
setSize in interface ImageModel
toEscapedModel
public Image toEscapedModel()
- Specified by:
toEscapedModel in interface ImageModel
isNew
public boolean isNew()
- Specified by:
isNew in interface BaseModel<Image>- Specified by:
isNew in interface ImageModel
setNew
public boolean setNew(boolean n)
- Specified by:
setNew in interface BaseModel<Image>- Specified by:
setNew in interface ImageModel
isCachedModel
public boolean isCachedModel()
- Specified by:
isCachedModel in interface BaseModel<Image>- Specified by:
isCachedModel in interface ImageModel
setCachedModel
public void setCachedModel(boolean cachedModel)
- Specified by:
setCachedModel in interface BaseModel<Image>- Specified by:
setCachedModel in interface ImageModel
isEscapedModel
public boolean isEscapedModel()
- Specified by:
isEscapedModel in interface BaseModel<Image>- Specified by:
isEscapedModel in interface ImageModel
setEscapedModel
public void setEscapedModel(boolean escapedModel)
- Specified by:
setEscapedModel in interface BaseModel<Image>- Specified by:
setEscapedModel in interface ImageModel
getPrimaryKeyObj
public java.io.Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj in interface BaseModel<Image>- Specified by:
getPrimaryKeyObj in interface ImageModel
getExpandoBridge
public ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge in interface BaseModel<Image>- Specified by:
getExpandoBridge in interface ImageModel
setExpandoBridgeAttributes
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
- Specified by:
setExpandoBridgeAttributes in interface BaseModel<Image>- Specified by:
setExpandoBridgeAttributes in interface ImageModel
clone
public java.lang.Object clone()
- Specified by:
clone in interface BaseModel<Image>- Specified by:
clone in interface ImageModel- Overrides:
clone in class java.lang.Object
compareTo
public int compareTo(Image image)
- Specified by:
compareTo in interface ImageModel- Specified by:
compareTo in interface java.lang.Comparable<Image>
hashCode
public int hashCode()
- Specified by:
hashCode in interface ImageModel- Overrides:
hashCode in class java.lang.Object
toString
public java.lang.String toString()
- Specified by:
toString in interface ImageModel- Overrides:
toString in class java.lang.Object
toXmlString
public java.lang.String toXmlString()
- Specified by:
toXmlString in interface BaseModel<Image>- Specified by:
toXmlString in interface ImageModel
getTextObj
public byte[] getTextObj()
- Specified by:
getTextObj in interface Image
setTextObj
public void setTextObj(byte[] textObj)
- Specified by:
setTextObj in interface Image
getWrappedImage
public Image getWrappedImage()