public class ResourceContainer extends ProjectEntityWithIDContainer<Resource> implements ChildResourceContainer
m_idMapm_sequenceProvidermodCount| Constructor and Description |
|---|
ResourceContainer(ProjectContext context)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Resource |
add()
Add a resource to the project.
|
Resource |
addResource()
Creates and adds a resource to the list of resources held by this object.
|
List<Resource> |
getChildResources()
Retrieve a list of child resources held by this object.
|
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.
|
getByID, getNextID, mapID, renumberIDs, unmapIDadded, firstUniqueID, fixUniqueIdClashes, getByUniqueID, getSequenceProvider, updateUniqueIDadd, add, clear, get, remove, replaced, set, sizeaddAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArrayparallelStream, removeIf, streampublic ResourceContainer(ProjectContext context)
context - parent contextpublic List<Resource> getChildResources()
ChildResourceContainergetChildResources in interface ChildResourceContainerpublic Resource addResource()
ChildResourceContaineraddResource in interface ChildResourceContainerpublic void removed(Resource resource)
ProjectEntityContainerremoved in class ProjectEntityContainer<Resource>resource - removed itempublic Resource add()
public Set<FieldType> getPopulatedFields()
public List<CustomField> getCustomFields()
Copyright © 2000–2025 MPXJ. All rights reserved.