OptimalTrace
5.2

com.compuware.optimaltrace.framework.relations
Interface ChildIfc

All Superinterfaces:
RelationIfc
All Known Subinterfaces:
AbstractRequirementIfc, AbstractStepIfc, AlternativeScenarioIfc, BizObjectIfc, com.compuware.optimaltrace.tools.common.bizobjectslocal.ClearableSuspectLinkIfc, CustomPropertyTemplateIfc, CustomPropertyTemplateListIfc, GoalLevelIfc, GoalLevelsIfc, ItemIfc, ItemListIfc, MainSuccessScenarioIfc, ProjectIfc, RefinementIfc, ScenarioIfc, SimpleRequirementIfc, StepIfc, TableHolderListContainerIfc, ToolSettingsIfc, UseCaseIfc, UseCasePackageIfc
All Known Implementing Classes:
com.compuware.optimaltrace.framework.business.AbstractBizObject, com.compuware.optimaltrace.tools.common.bizobjects.AbstractStep, ProjectContainer, Step

public interface ChildIfc
extends RelationIfc

Interface ChildIfc


Method Summary
 void addChildListener(com.compuware.optimaltrace.framework.relations.ChildListenerIfc listener)
          Adds the child listener.
 java.util.List getChildListeners()
          Gets the child listeners.
 ParentIfc getParent()
          Gets the parent.
 ParentIfc getParent(ChildIfc child, java.lang.Class parentClass)
          Gets the parent.
 boolean moveChild(ChildIfc child, ParentIfc oldParent, ParentIfc newParent)
          Moves the child.
 boolean moveChildAt(ChildIfc child, ParentIfc oldParent, ParentIfc newParent, int position)
          Moves the child at the specific position.
 void removeChildListener(com.compuware.optimaltrace.framework.relations.ChildListenerIfc listener)
          Removes the parent listener.
 boolean setParent(ParentIfc parent)
          Sets the parent.
 

Method Detail

setParent

boolean setParent(ParentIfc parent)
Sets the parent.

Parameters:
parent -

moveChild

boolean moveChild(ChildIfc child,
                  ParentIfc oldParent,
                  ParentIfc newParent)
Moves the child.

Parameters:
child -
oldParent -
newParent -
Returns:
boolean

moveChildAt

boolean moveChildAt(ChildIfc child,
                    ParentIfc oldParent,
                    ParentIfc newParent,
                    int position)
Moves the child at the specific position.

Parameters:
child -
oldParent -
newParent -
position - where to insert the new child
Returns:
boolean

getParent

ParentIfc getParent()
Gets the parent.

Returns:
ParentIfc

getParent

ParentIfc getParent(ChildIfc child,
                    java.lang.Class parentClass)
Gets the parent.

Parameters:
child -
parentClass -
Returns:
ParentIfc

getChildListeners

java.util.List getChildListeners()
Gets the child listeners.

Returns:
List

addChildListener

void addChildListener(com.compuware.optimaltrace.framework.relations.ChildListenerIfc listener)
Adds the child listener.

Parameters:
listener -

removeChildListener

void removeChildListener(com.compuware.optimaltrace.framework.relations.ChildListenerIfc listener)
Removes the parent listener.

Parameters:
listener -

OptimalTrace
5.2

Compuware Corporation

OptimalTrace is a trademark or registered trademark of Compuware Corporation in the US and other countries.
Copyright 2008-2009 Compuware Corporation. One Campus Martius,
Detroit, Michigan, 48226, U.S.A. All Rights Reserved.