org.scrashmeow.ojb.content
Class Photo

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

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

Author:
Alexander Bibighaus
See Also:
Serialized Form

Field Summary
protected  java.lang.String caption
          Field caption
protected  java.util.Collection comments
          Field comments
protected  Image image
          Field image
protected  java.lang.Integer imageUid
          Field imageId
protected  java.lang.String title
          Field title
protected  java.lang.Integer uid
          Field uid
 
Constructor Summary
Photo()
          Constructor for Photo.
 
Method Summary
 java.lang.String getCaption()
          Returns the caption.
 java.util.Collection getComments()
          Returns the comments.
 Image getImage()
          Returns the image.
 java.lang.Integer getImageUid()
           
 java.lang.String getTitle()
          Returns the title.
 java.lang.Integer getUid()
          Returns the uid.
 void setCaption(java.lang.String caption)
          Sets the caption.
 void setComments(java.util.Collection comments)
          Sets the comments.
 void setImage(Image image)
          Sets the image.
 void setImageUid(java.lang.Integer integer)
           
 void setTitle(java.lang.String title)
          Sets the title.
 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


title

protected java.lang.String title
Field title


caption

protected java.lang.String caption
Field caption


comments

protected java.util.Collection comments
Field comments


image

protected Image image
Field image


imageUid

protected java.lang.Integer imageUid
Field imageId

Constructor Detail

Photo

public Photo()
Constructor for Photo.

Method Detail

getCaption

public java.lang.String getCaption()
Returns the caption.

Returns:
String

getTitle

public java.lang.String getTitle()
Returns the title.

Returns:
String

setCaption

public void setCaption(java.lang.String caption)
Sets the caption.

Parameters:
caption - The caption to set

setTitle

public void setTitle(java.lang.String title)
Sets the title.

Parameters:
title - The title to set

getUid

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

Returns:
Integer

setUid

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

Parameters:
uid - The uid to set

getComments

public java.util.Collection getComments()
Returns the comments.

Returns:
Collection

setComments

public void setComments(java.util.Collection comments)
Sets the comments.

Parameters:
comments - The comments to set

getImage

public Image getImage()
Returns the image.

Returns:
PhotoImage

setImage

public void setImage(Image image)
Sets the image.

Parameters:
image - The image to set

getImageUid

public java.lang.Integer getImageUid()
Returns:

setImageUid

public void setImageUid(java.lang.Integer integer)
Parameters:
integer -


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