org.esa.beam.visat.actions.pgrab.model
Class RepositoryEntry

java.lang.Object
  extended by org.esa.beam.visat.actions.pgrab.model.RepositoryEntry

public class RepositoryEntry
extends Object


Constructor Summary
RepositoryEntry(String productFilePath)
           
 
Method Summary
 void closeProduct()
           
 boolean equals(Object obj)
           
 Object getData(int index)
           
 Repository getOwner()
          Gets the owning Repository of this RepositoryEntry
 Product getProduct()
           
 File getProductFile()
           
 float getProductSize()
          Returns the size of the Product in megabytes.
 void openProduct()
           
 void setData(int index, Object data)
           
 void setOwner(Repository repository)
          Set the Repository to which this RepositoryEntry contains.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryEntry

public RepositoryEntry(String productFilePath)
Method Detail

setOwner

public void setOwner(Repository repository)
Set the Repository to which this RepositoryEntry contains.

Parameters:
repository - the repository.

getOwner

public Repository getOwner()
Gets the owning Repository of this RepositoryEntry

Returns:
the repository.

getProductFile

public File getProductFile()

openProduct

public void openProduct()
                 throws IOException
Throws:
IOException

closeProduct

public void closeProduct()

getProduct

public Product getProduct()

setData

public void setData(int index,
                    Object data)

getData

public Object getData(int index)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getProductSize

public float getProductSize()
Returns the size of the Product in megabytes.

Returns:
the size in megabytes.


Copyright © 2002-2012 Brockmann Consult GmbH. All Rights Reserved.