public class ResourceContainer extends ProjectEntityWithIDContainer<Resource>
m_idMap
m_projectFile
modCount
Constructor and Description |
---|
ResourceContainer(ProjectFile projectFile)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Resource |
add()
Add a resource to the project.
|
List<CustomField> |
getCustomFields()
Retrieve a list of resource custom fields.
|
FieldType |
getFieldTypeByAlias(String alias)
Retrieve the type of a field by its alias.
|
Set<FieldType> |
getPopulatedFields()
Retrieve the set of populated fields for this project.
|
void |
removed(Resource resource)
Called to notify subclasses of item removal.
|
void |
updateStructure()
Rebuild the hierarchical resource structure based on the Parent Resource ID.
|
getByID, getNextID, mapID, renumberIDs, unmapID
added, firstUniqueID, fixUniqueIdClashes, getByUniqueID, getNextUniqueID, renumberUniqueIDs, updateUniqueID, updateUniqueIdCounter, validateUniqueIDsForMicrosoftProject
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 ResourceContainer(ProjectFile projectFile)
projectFile
- parent projectpublic void removed(Resource resource)
ProjectEntityContainer
removed
in class ProjectEntityContainer<Resource>
resource
- removed itempublic Resource add()
public void updateStructure()
public Set<FieldType> getPopulatedFields()
public List<CustomField> getCustomFields()
Copyright © 2000–2024 Packwood Software. All rights reserved.