org.scrashmeow.ojb.content
Class PhotoImage

java.lang.Object
  |
  +--org.scrashmeow.ojb.content.PhotoImage
All Implemented Interfaces:
java.io.Serializable

public class PhotoImage
extends java.lang.Object
implements java.io.Serializable

Author:
Alexander Bibighaus
See Also:
Serialized Form

Field Summary
protected  java.lang.String contentType
          Field contentType
protected  byte[] data
          Field data
protected  java.sql.Date dateTaken
          Field dateTaken
protected  java.lang.String filename
          Field filename
protected  java.lang.Long size
          Field size
protected  java.lang.Integer uid
          Field uid
 
Constructor Summary
PhotoImage()
          Constructor for Photo.
 
Method Summary
 java.lang.String getContentType()
          Returns the contentType.
 byte[] getData()
          Returns the data.
 java.sql.Date getDateTaken()
          Returns the dateTaken.
 java.lang.String getFilename()
          Returns the filename.
 java.lang.Long getSize()
          Returns the size.
 java.lang.Integer getUid()
          Returns the uid.
 void setContentType(java.lang.String contentType)
          Sets the contentType.
 void setData(byte[] data)
          Sets the data.
 void setDateTaken(java.sql.Date dateTaken)
          Sets the dateTaken.
 void setFilename(java.lang.String filename)
          Sets the filename.
 void setSize(java.lang.Long size)
          Sets the size.
 void setUid(java.lang.Integer uid)
          Sets the uid.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

uid

protected java.lang.Integer uid
Field uid


data

protected byte[] data
Field data


size

protected java.lang.Long size
Field size


filename

protected java.lang.String filename
Field filename


contentType

protected java.lang.String contentType
Field contentType


dateTaken

protected java.sql.Date dateTaken
Field dateTaken

Constructor Detail

PhotoImage

public PhotoImage()
Constructor for Photo.

Method Detail

getContentType

public java.lang.String getContentType()
Returns the contentType.

Returns:
String

getData

public byte[] getData()
Returns the data.

Returns:
byte[]

getDateTaken

public java.sql.Date getDateTaken()
Returns the dateTaken.

Returns:
Date

getFilename

public java.lang.String getFilename()
Returns the filename.

Returns:
String

getUid

public java.lang.Integer getUid()
Returns the uid.

Returns:
Integer

setContentType

public void setContentType(java.lang.String contentType)
Sets the contentType.

Parameters:
contentType - The contentType to set

setData

public void setData(byte[] data)
Sets the data.

Parameters:
data - The data to set

setDateTaken

public void setDateTaken(java.sql.Date dateTaken)
Sets the dateTaken.

Parameters:
dateTaken - The dateTaken to set

setFilename

public void setFilename(java.lang.String filename)
Sets the filename.

Parameters:
filename - The filename to set

setUid

public void setUid(java.lang.Integer uid)
Sets the uid.

Parameters:
uid - The uid to set

getSize

public java.lang.Long getSize()
Returns the size.

Returns:
Long

setSize

public void setSize(java.lang.Long size)
Sets the size.

Parameters:
size - The size to set


Copyright © 2003 Alexander Bibighaus et al. All Rights Reserved.