Class Project
public class Project extends IMapNodeComposite
Project
Represents a group of mind maps.
NOTE: the filepath only points to the name of the file database, not the fully-qualified pathname!
-
Nested Class Summary
Nested classes/interfaces inherited from class rs.edu.raf.dsw.rudok.app.repository.IMapNodeComposite
IMapNodeComposite.Message -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description voidaddChild(IMapNode child)Adds a child to the node.voidaddParent(IMapNodeComposite parent)Adds a parent to the node.StringgetAuthorName()StringgetFilepath()voidsetAuthorName(String authorName)voidsetChildren(Set<IMapNode> children)voidsetFilepath(String filepath)voidsetParents(Set<IMapNodeComposite> parents)Methods inherited from class rs.edu.raf.dsw.rudok.app.repository.IMapNodeComposite
getChildren, receive, removeChildMethods inherited from class rs.edu.raf.dsw.rudok.app.repository.IMapNode
getNodeName, getParents, removeParent, setNodeName, toStringMethods inherited from class rs.edu.raf.dsw.rudok.app.observer.IPublisher
addObserver, getObservers, publish, removeObserver, setObserversMethods inherited from class rs.edu.raf.dsw.rudok.app.observer.IPublisherGlobal
addObserverGlobal, getObserversGlobal, removeObserverGlobalMethods inherited from class rs.edu.raf.dsw.rudok.app.observer.IObserver
addPublisher, getPublishers, removePublisher, setPublishers
-
Constructor Details
-
Project
Default constructor.- Parameters:
nodeName- Project name.
-
Project
-
-
Method Details
-
getAuthorName
-
setAuthorName
-
getFilepath
-
setFilepath
-
setParents
- Overrides:
setParentsin classIMapNode
-
addParent
Description copied from class:IMapNodeAdds a parent to the node. -
setChildren
- Overrides:
setChildrenin classIMapNodeComposite
-
addChild
Description copied from class:IMapNodeCompositeAdds a child to the node.- Overrides:
addChildin classIMapNodeComposite- Parameters:
child- Child to be added.
-