net.sf.webphotos.model
Class AlbumVO
java.lang.Object
net.sf.webphotos.model.AlbumVO
- All Implemented Interfaces:
- Serializable, HasID<Integer>
@Entity
public class AlbumVO
- extends Object
- implements Serializable, HasID<Integer>
- Author:
- Guilhe
- See Also:
- Serialized Form
Constructor Summary |
AlbumVO()
Deprecated. |
AlbumVO
@Deprecated
public AlbumVO()
- Deprecated.
getCategoriasVO
public CategoryVO getCategoriasVO()
setCategoriasVO
public void setCategoriasVO(CategoryVO categoriasVO)
builder
public static AlbumVOBuilder builder()
builder
public static AlbumVOBuilder builder(Integer key)
getAlbumid
public Integer getAlbumid()
- Returns:
setAlbumid
public void setAlbumid(Integer albumid)
- Parameters:
albumid
-
getNmalbum
public String getNmalbum()
- Returns:
setNmalbum
public void setNmalbum(String nmalbum)
- Parameters:
nmalbum
-
getDescricao
public String getDescricao()
- Returns:
- the descricao
setDescricao
public void setDescricao(String descricao)
- Parameters:
descricao
- the descricao to set
getDtInsercao
public Date getDtInsercao()
- Returns:
setDtInsercao
public void setDtInsercao(Date dtInsercao)
- Parameters:
dtInsercao
-
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object object)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
getPhotos
public Set<PhotoVO> getPhotos()
- Returns:
- the photos
addPhotos
public void addPhotos(HashSet<PhotoVO> photos)
- Parameters:
photos
- the photos to add
addPhoto
public void addPhoto(PhotoVO photos)
- Parameters:
photos
- the photo to add
getPhotoBy
public PhotoVO getPhotoBy(Integer id)
- Parameters:
id
-
- Returns:
- Photo
removePhotoBy
public boolean removePhotoBy(Integer id)
- remove one photo
- Parameters:
id
-
- Returns:
- Photo
getId
public Integer getId()
- Specified by:
getId
in interface HasID<Integer>
- Returns:
Copyright © 2008-2012. All Rights Reserved.