storagehub-client-wrapper/src/main/java/org/gcube/common/storagehubwrapper/shared/tohl/folder/items/WorkspaceVersion.java

61 lines
852 B
Java

/**
*
*/
package org.gcube.common.storagehubwrapper.shared.tohl.folder.items;
import java.util.Calendar;
/**
* The Interface WorkspaceVersion.
*
* @author Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it)
* Jun 15, 2018
*/
public interface WorkspaceVersion {
/**
* Gets the name.
*
* @return the name
*/
public String getName();
/**
* Gets the created.
*
* @return the created
*/
public Calendar getCreated();
/**
* Gets the user.
*
* @return the user
*/
public String getUser();
/**
* Gets the remote path.
*
* @return the remote path
*/
public String getRemotePath();
/**
* Gets the size.
*
* @return the size
*/
public long getSize();
/**
* Checks if is current version.
*
* @return true, if is current version
*/
public boolean isCurrentVersion();
}