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 void
addChild(IMapNode child)
Adds a child to the node.void
addParent(IMapNodeComposite parent)
Adds a parent to the node.String
getAuthorName()
String
getFilepath()
void
setAuthorName(String authorName)
void
setChildren(Set<IMapNode> children)
void
setFilepath(String filepath)
void
setParents(Set<IMapNodeComposite> parents)
Methods inherited from class rs.edu.raf.dsw.rudok.app.repository.IMapNodeComposite
getChildren, receive, removeChild
Methods inherited from class rs.edu.raf.dsw.rudok.app.repository.IMapNode
getNodeName, getParents, removeParent, setNodeName, toString
Methods inherited from class rs.edu.raf.dsw.rudok.app.observer.IPublisher
addObserver, getObservers, publish, removeObserver, setObservers
Methods inherited from class rs.edu.raf.dsw.rudok.app.observer.IPublisherGlobal
addObserverGlobal, getObserversGlobal, removeObserverGlobal
Methods 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:
setParents
in classIMapNode
-
addParent
Description copied from class:IMapNode
Adds a parent to the node. -
setChildren
- Overrides:
setChildren
in classIMapNodeComposite
-
addChild
Description copied from class:IMapNodeComposite
Adds a child to the node.- Overrides:
addChild
in classIMapNodeComposite
- Parameters:
child
- Child to be added.
-