com.polarion.alm.tracker.model.baselinecollection.IBaselineCollection
FIELDS
| Modifiers and Type | Name | Description |
|---|---|---|
| String | PROTO | |
| String | KEY_NAME | |
| String | KEY_ELEMENTS | |
| String | KEY_AUTHOR | |
| String | KEY_CREATED | |
| String | KEY_UPDATED | |
| String | KEY_LOCATION | |
| String | KEY_CLOSED_ON | |
| String | KEY_DESCRIPTION | |
| String | KEY_REUSED_FROM | |
| String | KEY_BRANCHED_FROM | |
| String | KEY_UPSTREAM_COLLECTIONS | |
| String | KEY_DOWNSTREAM_COLLECTIONS | |
| String | KEY_RICH_PAGES | |
| Set | DIFF_IGNORED_FIELDS |
METHODS
| Modifiers and Type | Name | Description |
|---|---|---|
| String | getName() | |
| void | setName(String) | Name of the Collection must be set before the Collection can be saved, and must not be empty or contain only whitespace. |
| Date | getCreated() | |
| Date | getUpdated() | |
| IUser | getAuthor() | |
| void | setDescription(Text) | |
| Text | getDescription() | |
| List | getElements() | |
| IBaselineCollectionElement | getElement(IPObject) | Returns the element for the given object if there is one. (Works with any revision.) |
| IBaselineCollectionElement | addElement(IPObject) | Adds or updates the element for the given object. The element's revision is set or updated to the revision of the object. Currently, only {@link IModule} is allowed as the collection element's object. |
| void | removeElement(IPObject) | Removes the element for the given object if there is one. (Ignores revision.) |
| void | delete() | |
| Date | getClosedOn() | |
| void | setReusedFrom(IBaselineCollection) | |
| IBaselineCollection | getReusedFrom() | |
| void | setBranchedFrom(IBaselineCollection) | |
| IBaselineCollection | getBranchedFrom() | |
| void | addUpstreamCollection(IBaselineCollection) | Adds a Collection to the list of upstream Collections, or updates the Collection's revision if it is already present. A Collection with no revision will be rejected. |
| void | removeUpstreamCollection(IBaselineCollection) | Removes the given Collection from the list of upstream Collections. Ignores the revision. |
| List | getUpstreamCollections() | |
| List | getDownstreamCollections() | |
| void | addRichPage(IRichPage) | Adds a Rich Page to the list of contained Rich Pages. Note: A Rich Page with a Revision will be rejected in the current implementation. Repository-level Rich Pages not associated with a Project are also not supported and will be rejected. This behavior may change in a future release. |
| void | removeRichPage(IRichPage) | Removes the given rich page from the contained rich pages. Ignores the revision. |
| List | getRichPages() |
Back to Index