public interface IIteration extends IIterationHandle, IProcessItem
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ARCHIVED_PROPERTY_ID
Id of the archived property.
|
static java.lang.String |
CHILDREN_ID
Deprecated.
use
CHILDREN_PROPERTY_ID instead |
static java.lang.String |
CHILDREN_PROPERTY_ID
Id of the children property.
|
static java.lang.String |
DEVELOPMENT_LINE_ID
Deprecated.
use
DEVELOPMENT_LINE_PROPERTY_ID instead |
static java.lang.String |
DEVELOPMENT_LINE_PROPERTY_ID
Id of the development line property.
|
static java.lang.String |
END_DATE_ID
Deprecated.
use
END_DATE_PROPERTY_ID instead |
static java.lang.String |
END_DATE_PROPERTY_ID
Id of the end date property.
|
static java.lang.String |
HAS_DELIVERABLE_PROPERTY_ID
Id of the hasDeliverable property.
|
static java.lang.String |
ID_PROPERTY_ID
Id of the id property.
|
static IItemType |
ITEM_TYPE
The iteration item type.
|
static java.lang.String |
PARENT_ID
Deprecated.
use
PARENT_PROPERTY_ID instead |
static java.lang.String |
PARENT_PROPERTY_ID
Id of the parent property.
|
static java.lang.String |
START_DATE_ID
Deprecated.
use
START_DATE_PROPERTY_ID instead |
static java.lang.String |
START_DATE_PROPERTY_ID
Id of the start date property.
|
DESCRIPTION_DETAILS_PROPERTY_ID, DESCRIPTION_SUMMARY_PROPERTY_ID, DEVELOPMENT_LINE, ITERATION, ITERATION_TYPE, NAME_PROPERTY_ID, PROCESS_ATTACHMENT, PROCESS_DEFINITION, PROCESS_DOMAIN_DEFINITION, PROJECT_AREA, PROJECT_LINK, READ_ACCESS_LIST, TEAM_AREA
MERGE_PREDECESSOR_STATE_PROPERTY, PREDECESSOR_STATE_PROPERTY
CONTEXT_ID_PROPERTY, ITEM_ID_PROPERTY, MAX_LARGE_STRING_BYTES, MAX_MEDIUM_STRING_BYTES, MAX_SMALL_STRING_BYTES, MODIFIED_BY_PROPERTY, MODIFIED_PROPERTY, STATE_ID_PROPERTY
Modifier and Type | Method and Description |
---|---|
void |
addChild(IIterationHandle child)
Adds the iteration identified by the given handle at the end of the list
of child iterations.
|
IIterationHandle[] |
getChildren()
Returns the iterations into which this iteration is divided.
|
IDevelopmentLineHandle |
getDevelopmentLine()
Returns the development line to which this iteration belongs or
null if no development line has been set. |
java.util.Date |
getEndDate()
Returns this iteration's end date or
null if no end date
has been configured. |
java.lang.String |
getId()
Returns the id of this iteration or
null if no id has been
set. |
IIterationTypeHandle |
getIterationType()
Returns the type of this iteration or
null if no type has
been specified. |
java.lang.String |
getLabel()
This convenience method returns the name of this iteration if the name is
not
null and is not a whitespace string. |
IIterationHandle |
getParent()
Returns the parent iteration of this iteration or
null if
this iteration does not have a parent. |
java.util.Date |
getStartDate()
Returns this iteration's start date or
null if no start
date has been configured. |
boolean |
hasDeliverable()
Returns whether or not this iteration is configured as having a
deliverable.
|
void |
insertChildAfter(IIterationHandle child,
IIterationHandle anchor)
Inserts the iteration identified by the given handle into the list of
child iterations right after the given anchor.
|
boolean |
isArchived()
Returns whether or not this iteration is archived.
|
void |
removeChild(IIterationHandle child)
Removes the iteration identified by the given handle from the list of
child iterations.
|
void |
setChildren(IIterationHandle[] children)
Sets the child iterations of this iteration.
|
void |
setDevelopmentLine(IDevelopmentLineHandle developmentLine)
Returns the development line to which this iteration belongs.
|
void |
setEndDate(java.util.Date date)
Sets this iteration's end date.
|
void |
setHasDeliverable(boolean hasDeliverable)
Sets whether or not this iteration has a deliverable.
|
void |
setId(java.lang.String identifier)
Sets the id of this iteration.
|
void |
setIterationType(IIterationTypeHandle handle)
Sets the type of this iteration (may be
null ). |
void |
setParent(IIterationHandle parent)
Set the parent iteration of this iteration.
|
void |
setStartDate(java.util.Date date)
Sets this iteration's start date.
|
getProcessItemType, getPropertyName
getDescription, getName, setName
getMergePredecessorState, getPredecessorState
isNewItem
getContextId, getItemHandle, getModifiedBy, getRedactedCopy, getRequestedModified, getRequestedStateId, getStateHandle, getWorkingCopy, hasHistory, isComplete, isPropertySet, isRedactedCopy, isWorkingCopy, modified, setContextId, setRequestedModified, setRequestedStateId
equals, getAdapter, getFullState, getItemId, getItemType, getOrigin, getStateId, hasFullState, hasStateId, isAuditable, isConfigurationAware, isImmutable, isSimple, isUnmanaged, makeImmutable, protect, sameItemId, sameStateId, size
static final IItemType ITEM_TYPE
static final java.lang.String ID_PROPERTY_ID
static final java.lang.String ARCHIVED_PROPERTY_ID
static final java.lang.String START_DATE_PROPERTY_ID
static final java.lang.String START_DATE_ID
START_DATE_PROPERTY_ID
insteadstatic final java.lang.String END_DATE_PROPERTY_ID
static final java.lang.String END_DATE_ID
END_DATE_PROPERTY_ID
insteadstatic final java.lang.String DEVELOPMENT_LINE_PROPERTY_ID
static final java.lang.String DEVELOPMENT_LINE_ID
DEVELOPMENT_LINE_PROPERTY_ID
insteadstatic final java.lang.String CHILDREN_PROPERTY_ID
static final java.lang.String CHILDREN_ID
CHILDREN_PROPERTY_ID
insteadstatic final java.lang.String PARENT_PROPERTY_ID
static final java.lang.String PARENT_ID
PARENT_PROPERTY_ID
insteadstatic final java.lang.String HAS_DELIVERABLE_PROPERTY_ID
java.lang.String getId()
null
if no id has been
set.
In order for this item to be saved to the repository this field must have
a non-null value, so it is safe to assume that this method will not
return null if it is an immutable copy fetched from the repository. It is
possible for an incomplete/invalid working copy, however, to return
null
.
null
void setId(java.lang.String identifier)
null
.identifier
- the new identifier, may not be null
java.lang.String getLabel()
null
and is not a whitespace string. Otherwise it
returns this iteration's id, which may be null
if this
item is a working copy (@see getId()
.null
IIterationHandle[] getChildren()
void setChildren(IIterationHandle[] children)
Note that in order to save the iteration, the child iterations will also have to declare this iteration as their parent. When establishing a new parent/child relationship, the parent/child iterations have to be saved together.
children
- the child iterationsvoid insertChildAfter(IIterationHandle child, IIterationHandle anchor)
null
the element is added at the beginning of the list.child
- a handle for the new childanchor
- the current child after which the new child should be added
or null
void addChild(IIterationHandle child)
Note that in order to save the iteration, the child iteration will also have to declare this iteration as its parent. When establishing a new parent/child relationship, the parent/child iterations have to be saved together.
child
- a handle for the new childvoid removeChild(IIterationHandle child)
child
- a handle to the existing childIIterationHandle getParent()
null
if
this iteration does not have a parent. Iterations which do not have a
parent are either root iterations (@see
setDevelopmentLine(IDevelopmentLineHandle)
) or they are
misconfigured children (@see #setChildren()
).null
void setParent(IIterationHandle parent)
null
to indicate that the iteration is a root iteration.
Note that in order to save the iteration, the parent iteration will also
have to contain this iteration as a child. If the parent is
null
, the development line will have to specify that it
contains this root iteration. When establishing a new parent/child
relationship, the parent/child iterations have to be saved together.
the
- parent iterationIDevelopmentLineHandle getDevelopmentLine()
null
if no development line has been set.
In order for this item to be saved to the repository this field must have
a non-null value, so it is safe to assume that this method will not
return null if it is an immutable copy fetched from the repository. It is
possible for an incomplete/invalid working copy, however, to return
null
.
null
void setDevelopmentLine(IDevelopmentLineHandle developmentLine)
Note that in order to save the iteration, the development line will also have to contain this iteration (either directly or transitively). When adding a new iteration to a development line, the line, iteration, and any parent/child iterations have to be saved together.
the
- development lineboolean isArchived()
In order to archive an iteration, use the process client library or process server service.
java.util.Date getStartDate()
null
if no start
date has been configured.null
void setStartDate(java.util.Date date)
date
- the start date or null
java.util.Date getEndDate()
null
if no end date
has been configured.null
void setEndDate(java.util.Date date)
date
- the end date or null
boolean hasDeliverable()
void setHasDeliverable(boolean hasDeliverable)
hasDeliverable
- whether or not this iteration has a deliverableIIterationTypeHandle getIterationType()
null
if no type has
been specified.null
void setIterationType(IIterationTypeHandle handle)
null
).handle
- the type of this iteration or null