public class Node extends AbstractNodeBase<Folder>
Modifier and Type | Field and Description |
---|---|
protected AppFileSystem |
fileSystem |
protected boolean |
folder |
codeVersion, info, storage
Modifier | Constructor and Description |
---|---|
protected |
Node(FileCreationContext context,
int codeVersion,
boolean folder) |
Modifier and Type | Method and Description |
---|---|
void |
delete() |
AppFileSystem |
getFileSystem() |
java.util.Optional<Folder> |
getParent() |
NodePath |
getPath() |
boolean |
isFolder() |
getChildInfo, getCodeVersion, getCreationDate, getDescription, getId, getModificationDate, getName, getParentInfo, getVersion, isAheadOfVersion, isAncestorOf, moveTo, rename, setDescription, toString
protected final AppFileSystem fileSystem
protected final boolean folder
protected Node(FileCreationContext context, int codeVersion, boolean folder)
public void delete()
public boolean isFolder()
isFolder
in class AbstractNodeBase<Folder>
public java.util.Optional<Folder> getParent()
getParent
in class AbstractNodeBase<Folder>
public NodePath getPath()
getPath
in class AbstractNodeBase<Folder>
public AppFileSystem getFileSystem()