public abstract class EntryNode extends Object implements Entry
Modifier and Type | Field and Description |
---|---|
private DirectoryNode |
_parent |
private Property |
_property |
Modifier | Constructor and Description |
---|---|
protected |
EntryNode(Property property,
DirectoryNode parent)
create a DocumentNode.
|
Modifier and Type | Method and Description |
---|---|
boolean |
delete()
Delete this Entry.
|
String |
getName()
get the name of the Entry
|
DirectoryEntry |
getParent()
get this Entry's parent (the DocumentEntry that owns this
Entry).
|
protected Property |
getProperty()
grant access to the property
|
protected abstract boolean |
isDeleteOK()
extensions use this method to verify internal rules regarding
deletion of the underlying store.
|
boolean |
isDirectoryEntry()
is this a DirectoryEntry?
|
boolean |
isDocumentEntry()
is this a DocumentEntry?
|
protected boolean |
isRoot()
is this the root of the tree?
|
boolean |
renameTo(String newName)
Rename this Entry.
|
private Property _property
private DirectoryNode _parent
protected EntryNode(Property property, DirectoryNode parent)
property
- the Property for this Entryparent
- the parent of this entryprotected Property getProperty()
protected boolean isRoot()
protected abstract boolean isDeleteOK()
public String getName()
public boolean isDirectoryEntry()
isDirectoryEntry
in interface Entry
public boolean isDocumentEntry()
isDocumentEntry
in interface Entry
public DirectoryEntry getParent()
public boolean delete()
public boolean renameTo(String newName)
Copyright © 2015 Open Microscopy Environment