org.apache.openjpa.example.gallery.model
Class Album

java.lang.Object
  extended by org.apache.openjpa.example.gallery.model.Album

@Entity
public class Album
extends Object

Album entity. Contains references to zero or more images and zero or more image creators/authors.


Constructor Summary
Album()
           
 
Method Summary
 List<Creator> getCreator()
           
 long getId()
           
 List<Image> getImages()
           
 String getName()
           
 void setCreator(List<Creator> creator)
           
 void setId(long id)
           
 void setImages(List<Image> images)
           
 void setName(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Album

public Album()
Method Detail

setId

public void setId(long id)

getId

public long getId()

setName

public void setName(String name)

getName

public String getName()

setImages

public void setImages(List<Image> images)

getImages

public List<Image> getImages()

setCreator

public void setCreator(List<Creator> creator)

getCreator

public List<Creator> getCreator()


Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.