public interface IDevelopmentLine extends IDevelopmentLineHandle, IProcessItem
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CURRENT_ITERATION_PROPERTY_ID
Id of the current iteration property.
|
static java.lang.String |
ID_PROPERTY_ID
Id of the process data property.
|
static IItemType |
ITEM_TYPE
The development line item type.
|
static java.lang.String |
ITERATIONS_PROPERTY_ID
Id of the iterations property.
|
static java.lang.String |
PROJECT_AREA_PROPERTY_ID
Id of the project area 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 |
addIteration(IIterationHandle iteration)
Adds the iteration identified by the given handle at the end of the list
of children.
|
IIterationHandle |
getCurrentIteration()
Returns this development line's current iteration or
null
if this development line does not have a current iteration. |
java.util.Date |
getEndDate()
Returns this development line's end date or
null if no end
date has been configured. |
java.lang.String |
getId()
Returns this development line's identifier or
null if no
identifier has been set. |
IIterationHandle[] |
getIterations()
Returns the top-level iterations contained in this development line.
|
java.lang.String |
getLabel()
This convenience method returns the name of this line if the name is not
null and is not a whitespace string. |
IProjectAreaHandle |
getProjectArea()
Returns the project area which contains this development line or
null if no project area has been set. |
java.util.Date |
getStartDate()
Returns this development line's start date or
null if no
start date has been configured. |
void |
insertIterationAfter(IIterationHandle iteration,
IIterationHandle anchor)
Adds the iteration identified by the given handle into the list of
children right of the given anchor.
|
boolean |
isArchived()
Returns whether this development line is archived.
|
void |
removeIteration(IIterationHandle iteration)
Removes the iteration identified by the given handle from the list of
iterations.
|
void |
setCurrentIteration(IIterationHandle current)
Sets this development line's current iteration.
|
void |
setEndDate(java.util.Date date)
Sets this development line's start date.
|
void |
setId(java.lang.String id)
Sets this development line's identifier.
|
void |
setIterations(IIterationHandle[] iterations)
Sets this development line's iterations.
|
void |
setProjectArea(IProjectAreaHandle projectArea)
Sets this development line's project area.
|
void |
setStartDate(java.util.Date date)
Sets this development line'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 ITERATIONS_PROPERTY_ID
static final java.lang.String CURRENT_ITERATION_PROPERTY_ID
static final java.lang.String PROJECT_AREA_PROPERTY_ID
java.lang.String getId()
null
if no
identifier has been set.
Development line ids are unique per project area.
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 id)
id
- the new identifierjava.lang.String getLabel()
null
and is not a whitespace string. Otherwise it returns
this line's id, which may be null
if this item is a
working copy (@see getId()
.null
IProjectAreaHandle getProjectArea()
null
if no project area 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
.
void setProjectArea(IProjectAreaHandle projectArea)
projectArea
- the handle of the project areaIIterationHandle[] getIterations()
void setIterations(IIterationHandle[] iterations)
void insertIterationAfter(IIterationHandle iteration, IIterationHandle anchor)
null
the iteration is added at the beginning of
the list.iteration
- a handle for the iterationanchor
- the anchor after which to insert the iteration or
null
void addIteration(IIterationHandle iteration)
iteration
- a handle for the iterationvoid removeIteration(IIterationHandle iteration)
iteration
- a handle to the iterationIIterationHandle getCurrentIteration()
null
if this development line does not have a current iteration.void setCurrentIteration(IIterationHandle current)
boolean isArchived()
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