sk.stuba.fiit.foo07.genex.beans
Class Picture

java.lang.Object
  extended by sk.stuba.fiit.foo07.genex.beans.Picture

public class Picture
extends java.lang.Object

Author:
Martin

Constructor Summary
Picture()
           
Picture(java.lang.String name, java.lang.String description, java.lang.String settings, java.lang.String mimeType, byte[] content, java.lang.Integer pictureID)
           
 
Method Summary
 byte[] getContent()
           
 java.lang.String getDescription()
           
 java.lang.String getMimeType()
           
 java.lang.String getName()
           
 java.lang.Integer getPictureID()
           
 java.lang.String getSettings()
           
 void setContent(byte[] content)
           
 void setDescription(java.lang.String description)
           
 void setMimeType(java.lang.String mimeType)
           
 void setName(java.lang.String name)
           
 void setPictureID(java.lang.Integer pictureID)
           
 void setSettings(java.lang.String settings)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Picture

public Picture()

Picture

public Picture(java.lang.String name,
               java.lang.String description,
               java.lang.String settings,
               java.lang.String mimeType,
               byte[] content,
               java.lang.Integer pictureID)
Method Detail

getName

public java.lang.String getName()
Returns:
the name

setName

public void setName(java.lang.String name)
Parameters:
name - the name to set

getDescription

public java.lang.String getDescription()
Returns:
the description

setDescription

public void setDescription(java.lang.String description)
Parameters:
description - the description to set

getSettings

public java.lang.String getSettings()
Returns:
the settings

setSettings

public void setSettings(java.lang.String settings)
Parameters:
settings - the settings to set

getMimeType

public java.lang.String getMimeType()
Returns:
the mimeType

setMimeType

public void setMimeType(java.lang.String mimeType)
Parameters:
mimeType - the mimeType to set

getContent

public byte[] getContent()
Returns:
the content

setContent

public void setContent(byte[] content)
Parameters:
content - the content to set

getPictureID

public java.lang.Integer getPictureID()
Returns:
the pictureID

setPictureID

public void setPictureID(java.lang.Integer pictureID)
Parameters:
pictureID - the pictureID to set

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2008 Faculty of Informatics and Information Technologies, STU Bratislava. All Rights Reserved.