public class ProjectCalendarContainer extends ProjectEntityContainer<ProjectCalendar>
m_sequenceProvider
modCount
Constructor and Description |
---|
ProjectCalendarContainer(ProjectFile projectFile)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ProjectCalendar |
add()
Add a calendar to the project.
|
ProjectCalendar |
addDefaultBaseCalendar()
This is a convenience method used to add a calendar called
"Standard" to the project, and populate it with a default working week
and default working hours.
|
ProjectCalendar |
addDefaultDerivedCalendar()
This is a convenience method to add a default derived
calendar to the project.
|
ProjectCalendar |
findOrCreateDefaultCalendar()
If we're calling this method, we don't have a reliable way to identify
the default calendar.
|
ProjectCalendar |
getByName(String calendarName)
Retrieves the named calendar.
|
void |
removed(ProjectCalendar calendar)
Called to notify subclasses of item removal.
|
added, firstUniqueID, fixUniqueIdClashes, getByUniqueID, updateUniqueID
add, add, clear, get, remove, replaced, set, size
addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
parallelStream, removeIf, stream
public ProjectCalendarContainer(ProjectFile projectFile)
projectFile
- parent projectpublic void removed(ProjectCalendar calendar)
ProjectEntityContainer
removed
in class ProjectEntityContainer<ProjectCalendar>
calendar
- removed itempublic ProjectCalendar add()
public ProjectCalendar addDefaultBaseCalendar()
public ProjectCalendar addDefaultDerivedCalendar()
public ProjectCalendar findOrCreateDefaultCalendar()
public ProjectCalendar getByName(String calendarName)
calendarName
- name of the required calendarCopyright © 2000–2024 Packwood Software. All rights reserved.