org.gcube.application.aquamaps.publisher.impl.model
Class File

java.lang.Object
  extended by org.gcube.application.aquamaps.publisher.impl.model.File

public class File
extends Object


Constructor Summary
File(FileType type, String originalUri, String name)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getName()
           
 String getOriginalUri()
           
 String getStoredUri()
           
 FileType getType()
           
 int hashCode()
           
protected  void publish(String baseDir, boolean deleteIfExists)
           
 void setName(String name)
           
 void setType(FileType type)
           
 String toString()
           
protected  void unpublish()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

File

public File(FileType type,
            String originalUri,
            String name)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getType

public FileType getType()

setType

public void setType(FileType type)

getOriginalUri

public String getOriginalUri()

getName

public String getName()

setName

public void setName(String name)

getStoredUri

public String getStoredUri()
Returns:
the storedUri

publish

protected void publish(String baseDir,
                       boolean deleteIfExists)
                throws Exception
Throws:
Exception

unpublish

protected void unpublish()
                  throws Exception
Throws:
Exception

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2013. All Rights Reserved.