edu.jhu.tmaj.beans.exfile
Class ExternalFolder
java.lang.Object
edu.jhu.tmaj.beans.exfile.ExternalFolder
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable
public final class ExternalFolder
- extends java.lang.Object
- implements java.io.Serializable, java.lang.Comparable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
DUMMY_EXTERNAL_FOLDER
public static final ExternalFolder DUMMY_EXTERNAL_FOLDER
ExternalFolder
public ExternalFolder(int id,
java.lang.String folderName,
ExternalFolder parentExternalFolder)
getInstance
public static ExternalFolder getInstance(java.lang.String folderName,
ExternalFolder parentExternalFolder)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String newName)
getParent
public ExternalFolder getParent()
getRelativePath
public static java.io.File getRelativePath(ExternalFolder externalFolder)
getID
public int getID()
getAbsoluteDirectoryOnServer
public static java.io.File getAbsoluteDirectoryOnServer(ExternalFolder externalFolder)
getAbsoluteDirectoryOnClient
public static java.io.File getAbsoluteDirectoryOnClient(ExternalFolder externalFolder)
getAbsoluteDirectoryOnServer
public java.io.File getAbsoluteDirectoryOnServer()
getAbsoluteDirectoryOnClient
public java.io.File getAbsoluteDirectoryOnClient()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toStringAlt
public java.lang.String toStringAlt()
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
compareTo
public int compareTo(java.lang.Object obj)
- Specified by:
compareTo
in interface java.lang.Comparable
isTopLevel
public boolean isTopLevel()