public abstract class EntryNode extends java.lang.Object implements Entry
Modifier | Constructor and Description |
---|---|
protected |
EntryNode(Property property,
DirectoryNode parent)
create a DocumentNode.
|
Modifier and Type | Method and Description |
---|---|
boolean |
delete()
Delete this Entry.
|
java.lang.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(java.lang.String newName)
Rename this Entry.
|
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 java.lang.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(java.lang.String newName)
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.