com.gentics.contentnode.rest.model
Class Image

java.lang.Object
  extended by com.gentics.contentnode.rest.model.ContentNodeItem
      extended by com.gentics.contentnode.rest.model.File
          extended by com.gentics.contentnode.rest.model.Image
All Implemented Interfaces:
Serializable

public class Image
extends File

Image object, represents an Image in GCN

Author:
norbert
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.gentics.contentnode.rest.model.ContentNodeItem
ContentNodeItem.ItemType
 
Field Summary
 
Fields inherited from class com.gentics.contentnode.rest.model.File
broken, channelId, description, fileSize, fileType, folderId, folderName, forceOnline, inherited, online, tags, url
 
Constructor Summary
Image()
          Constructor used by JAXB
 
Method Summary
 Integer getDpiX()
          DPI (x-Dimension)
 Integer getDpiY()
          DPI (y-Dimension)
 String getIconCls()
          Define attribute to select the appropriate class
 Integer getSizeX()
          Image size (x-Dimension)
 Integer getSizeY()
          Image size (y-Dimension)
 Integer getTypeId()
          Type ID
 void setDpiX(Integer dpiX)
           
 void setDpiY(Integer dpiY)
           
 void setSizeX(Integer sizeX)
           
 void setSizeY(Integer sizeY)
           
 
Methods inherited from class com.gentics.contentnode.rest.model.File
getChannelId, getCls, getDescription, getFileSize, getFileType, getFolderId, getFolderName, getInheritedFrom, getLeaf, getLiveUrl, getMasterNode, getPath, getTags, getText, getUrl, isBroken, isForceOnline, isInherited, isOnline, setBroken, setChannelId, setCls, setDescription, setFileSize, setFileType, setFolderId, setFolderName, setForceOnline, setIconCls, setInherited, setInheritedFrom, setLeaf, setLiveUrl, setMasterNode, setOnline, setPath, setTags, setText, setTypeId, setUrl
 
Methods inherited from class com.gentics.contentnode.rest.model.ContentNodeItem
getCdate, getCreator, getEdate, getEditor, getId, getName, getType, setCdate, setCreator, setEdate, setEditor, setId, setName, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Image

public Image()
Constructor used by JAXB

Method Detail

getIconCls

public String getIconCls()
Define attribute to select the appropriate class

Overrides:
getIconCls in class File
Returns:

getSizeX

public Integer getSizeX()
Image size (x-Dimension)

Returns:
the sizeX

getSizeY

public Integer getSizeY()
Image size (y-Dimension)

Returns:
the sizeY

getTypeId

public Integer getTypeId()
Type ID

Overrides:
getTypeId in class File
Returns:
the typeId

getDpiX

public Integer getDpiX()
DPI (x-Dimension)

Returns:
the dpiX

getDpiY

public Integer getDpiY()
DPI (y-Dimension)

Returns:
the dpiY

setSizeX

public void setSizeX(Integer sizeX)
Parameters:
sizeX - the sizeX to set

setSizeY

public void setSizeY(Integer sizeY)
Parameters:
sizeY - the sizeY to set

setDpiX

public void setDpiX(Integer dpiX)
Parameters:
dpiX - the dpiX to set

setDpiY

public void setDpiY(Integer dpiY)
Parameters:
dpiY - the dpiY to set


Copyright © 2015 Gentics Software GmbH. All Rights Reserved.