org.hibernate.test.sql.hand
Class ImageHolder

java.lang.Object
  extended by org.hibernate.test.sql.hand.ImageHolder

public class ImageHolder
extends Object


Constructor Summary
ImageHolder()
           
ImageHolder(byte[] photo)
           
 
Method Summary
 Long getId()
           
 byte[] getPhoto()
           
 void setId(Long id)
           
 void setPhoto(byte[] photo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageHolder

public ImageHolder(byte[] photo)

ImageHolder

public ImageHolder()
Method Detail

getId

public Long getId()
Returns:
Returns the id.

setId

public void setId(Long id)
Parameters:
id - The id to set.

getPhoto

public byte[] getPhoto()
Returns:
Returns the photo.

setPhoto

public void setPhoto(byte[] photo)
Parameters:
photo - The photo to set.


Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.