Class Project

    • Constructor Detail

      • Project

        public Project​(ProjectSource source)
        Create project
        Parameters:
        source -
      • Project

        public Project​(ProjectSource source,
                       Project parenProject)
        Create project
        Parameters:
        source -
        parenProject -
    • Method Detail

      • getParentProject

        public Project getParentProject()
        Get ParentProject.
        Returns:
        parentProject
      • isRootProject

        public boolean isRootProject()
        Return true if this is a root project.
        Returns:
        true if this is a root project, false otherwise
      • getNotes

        public javafx.beans.property.ListProperty<Note> getNotes()
        Get Wrapper for ProjectSource.notes.
        Returns:
        the wrapper
      • addSource

        public boolean addSource​(Source source)
        Adds a new Source to the project.
        Parameters:
        source - the source to add
        Returns:
        true if the source could be added
      • updateSource

        public boolean updateSource​(Source source)
        Updates a Source in the project.
        Parameters:
        source - the source to update
        Returns:
        true if the source could be updated
      • removeSource

        public boolean removeSource​(Source source)
        Removes a Source from the project.
        Parameters:
        source - the source to remove
        Returns:
        true if the source could be removed