NODE - Type of contained nodepublic interface NodeContainer<NODE extends TreeNode> extends Identified
| Modifier and Type | Method and Description |
|---|---|
void |
accept(NodeContainerVisitor visitor) |
void |
addContent(NODE node)
Adds new content to this container.
|
void |
addContent(NODE node,
int position)
Adds new content to this container at the given position.
|
List<NODE> |
getContent() |
List<String> |
getContentNames() |
Collection<NODE> |
getOrderedContent()
Will return the ordered (if order there is) content nodes.
|
GenericProject |
getProject()
A node container can be a library.
|
boolean |
hasContent() |
boolean |
isContentNameAvailable(String name) |
void |
removeContent(NODE contentToRemove) |
getIdvoid addContent(@NotNull
NODE node)
throws DuplicateNameException,
org.squashtest.tm.core.foundation.exception.NullArgumentException
node - DuplicateNameExceptionorg.squashtest.tm.core.foundation.exception.NullArgumentExceptionvoid addContent(@NotNull
NODE node,
int position)
throws DuplicateNameException,
org.squashtest.tm.core.foundation.exception.NullArgumentException
node - DuplicateNameExceptionorg.squashtest.tm.core.foundation.exception.NullArgumentExceptionboolean isContentNameAvailable(String name)
Collection<NODE> getOrderedContent()
boolean hasContent()
void removeContent(NODE contentToRemove) throws org.squashtest.tm.core.foundation.exception.NullArgumentException
org.squashtest.tm.core.foundation.exception.NullArgumentExceptionGenericProject getProject()
void accept(NodeContainerVisitor visitor)
Copyright © 2010–2016 Henix, henix.fr. All rights reserved.