portaview.model
Class PhotoModel

java.lang.Object
  extended byjava.util.Observable
      extended byportaview.model.DomainModel
          extended byportaview.model.ImageModel
              extended byportaview.model.PhotoModel
All Implemented Interfaces:
org.apache.xmlrpc.AsyncCallback

public class PhotoModel
extends ImageModel

Represents a photo model, or "M" in the MVC layer in the PortaView manager..

Author:
William Lee

Constructor Summary
PhotoModel(AlbumModel a, java.lang.String name)
          Constructs a Photo in a given album.
 
Method Summary
 AlbumModel getAlbum()
           
 void setAlbum(AlbumModel model)
          Sets the album model.
 
Methods inherited from class portaview.model.ImageModel
getImage, handleError, handleResult, setImage
 
Methods inherited from class portaview.model.DomainModel
forceNotifyObservers
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PhotoModel

public PhotoModel(AlbumModel a,
                  java.lang.String name)
Constructs a Photo in a given album.

Parameters:
a -
Method Detail

getAlbum

public AlbumModel getAlbum()
Returns:
the AlbumModel.

setAlbum

public void setAlbum(AlbumModel model)
Sets the album model.

Parameters:
model - model to set.


Copyright © 2003 The PortaView Team. All Rights Reserved.