public class DirectoryRepositoryItem extends AbstractRepositoryElement implements RepositoryDirectory
| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected Map<String,RepositoryElement> |
items |
protected String |
name |
parent| Constructor and Description |
|---|
DirectoryRepositoryItem(RepositoryDirectory parent,
String name) |
| Modifier and Type | Method and Description |
|---|---|
protected RepositoryElement |
add(RepositoryElement dirElement,
boolean allowOverwrite) |
RepositoryElement |
getChild(String element) |
Collection<? extends RepositoryElement> |
getChildren() |
String |
getDescription() |
protected Map<String,RepositoryElement> |
getItems() |
String |
getName() |
void |
insert(RepositoryContent content,
String path,
boolean allowOverwrite) |
void |
setDescription(String description) |
void |
setName(String name) |
String |
toString() |
getParent, getPath, setParentclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetParent, getPath, setParentprotected Map<String,RepositoryElement> items
protected String name
protected String description
public DirectoryRepositoryItem(RepositoryDirectory parent, String name)
public String getName()
getName in interface RepositoryElementgetName in class AbstractRepositoryElementpublic String getDescription()
getDescription in interface RepositoryElementpublic void setName(String name)
public void setDescription(String description)
protected Map<String,RepositoryElement> getItems()
public Collection<? extends RepositoryElement> getChildren()
getChildren in interface RepositoryDirectorypublic void insert(RepositoryContent content, String path, boolean allowOverwrite)
protected RepositoryElement add(RepositoryElement dirElement, boolean allowOverwrite)
public RepositoryElement getChild(String element)
getChild in interface RepositoryDirectoryCopyright © 2016–2022. All rights reserved.