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

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

@Entity
public class Creator
extends Object

Creator entity. Contains a reference to one or more images authored by an instance of the creator.


Constructor Summary
Creator()
           
 
Method Summary
 List<Album> getAlbums()
           
 String getFirstName()
           
 long getId()
           
 List<Image> getImages()
           
 String getLastName()
           
 void setAlbums(List<Album> albums)
           
 void setFirstName(String firstName)
           
 void setId(long id)
           
 void setImages(List<Image> images)
           
 void setLastName(String lastName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Creator

public Creator()
Method Detail

setId

public void setId(long id)

getId

public long getId()

setFirstName

public void setFirstName(String firstName)

getFirstName

public String getFirstName()

setLastName

public void setLastName(String lastName)

getLastName

public String getLastName()

setImages

public void setImages(List<Image> images)

getImages

public List<Image> getImages()

getAlbums

public List<Album> getAlbums()

setAlbums

public void setAlbums(List<Album> albums)


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