OptimalTrace
5.2

com.compuware.optimaltrace.tools.common.bizobjects
Class Step

java.lang.Object
  extended by com.compuware.optimaltrace.framework.business.AbstractPropertiesContainer
      extended by com.compuware.optimaltrace.framework.business.AbstractBizObject
          extended by com.compuware.optimaltrace.tools.common.bizobjects.AbstractStep
              extended by com.compuware.optimaltrace.tools.common.bizobjects.Step
All Implemented Interfaces:
BizObjectIfc, PersistentIfc, PropertiesContainerIfc, RepositionableChildIfc, CustomPropertyHolderIfc, DynAttributeIfc, MergeObjectIfc, AssociateIfc, ChildIfc, ParentIfc, RelationIfc, AbstractStepIfc, LinkHolderIfc, StepIfc

public class Step
extends com.compuware.optimaltrace.tools.common.bizobjects.AbstractStep
implements StepIfc

Class Step, implements the StepIfc interface.


Field Summary
static java.lang.String _readableName
           
static java.lang.String _typeId
           
 
Fields inherited from class com.compuware.optimaltrace.tools.common.bizobjects.AbstractStep
_emptyList, ALREADY_REFINED, NO_CIRCULAR_REFINEMENT, NO_SIBLING_REFINEMENT, NON_EQUIVALENT_REFINEMENT, REFINING_TO_SELF
 
Fields inherited from class com.compuware.optimaltrace.framework.business.AbstractPropertiesContainer
_propertyChangeSupport
 
Fields inherited from interface com.compuware.optimaltrace.tools.common.bizobjects.StepIfc
ATTR_IS_OPTIONAL
 
Fields inherited from interface com.compuware.optimaltrace.tools.common.bizobjects.AbstractStepIfc
ATTR_DESCRIPTION
 
Fields inherited from interface com.compuware.optimaltrace.framework.business.BizObjectIfc
ATTR_IS_LOCKED, ATTR_IS_LOCKEDLOCALLY, ATTR_IS_READONLY, ATTR_LOCKOWNER, ATTR_NAME, BO_DB_TIMESTAMP, BO_ID, BO_ST, BO_TIMESTAMP, BO_TYPE
 
Fields inherited from interface com.compuware.optimaltrace.framework.merge.MergeObjectIfc
ATTR_IS_ASSOCIATECHANGEDNEWER, ATTR_IS_ASSOCIATECHANGEDOLDER, ATTR_IS_ATTRIBUTESCHANGED_NEWER, ATTR_IS_ATTRIBUTESCHANGED_OLDER, ATTR_IS_CHILDCONFLICT, ATTR_IS_CHILDWASADDED, ATTR_IS_CHILDWASREMOVED, ATTR_IS_CUSTOMPROPERTYCHANGED, ATTR_IS_CUSTOMPROPERTYCHANGEDADDED, ATTR_IS_CUSTOMPROPERTYCHANGEDREMOVED, ATTR_IS_CUSTOMPROPERTYVALUECHANGEDNEWER, ATTR_IS_CUSTOMPROPERTYVALUECHANGEDOLDER, ATTR_IS_MERGEACCEPTED, ATTR_IS_MERGECHANGED, ATTR_IS_MERGEREJECTED, ATTR_IS_NEWPARENTAFTERMOVE, ATTR_IS_OLDPARENTAFTERMOVE, ATTR_IS_PARENTCHANGED, ATTR_IS_POSITIONCHANGEDNEWER, ATTR_IS_POSITIONCHANGEDOLDER, ATTR_IS_WASADDED, ATTR_IS_WASREMOVED
 
Constructor Summary
Step()
          Constructor Step
 
Method Summary
 java.lang.String getAbstractStepReadableTypeName()
          Gets the abstract step readable type name.
 com.compuware.optimaltrace.tools.common.bizobjects.ActorIfc getActor()
          Gets the actore.
 com.compuware.optimaltrace.tools.common.bizobjects.PostConditionIfc getPostCondition()
          Gets the postcondition.
 com.compuware.optimaltrace.tools.common.bizobjects.PreConditionIfc getPreCondition()
          Gets the precondition.
 java.lang.String getReadableName()
          Gets the readable name.
static java.lang.String getReadableTypeName()
          Gets the readable type name.
static java.lang.String getReadableTypePluralName()
          Gets the readable type plural name.
 int getStepNumber()
          Gets the step number.
 java.lang.String getTypeId()
          Gets the type ID.
 boolean removeActor(com.compuware.optimaltrace.tools.common.bizobjects.ActorIfc actor)
          Moves the actor.
 boolean removePostCondition(com.compuware.optimaltrace.tools.common.bizobjects.PostConditionIfc postCondition)
          Removes the postcondition.
 boolean removePreCondition(com.compuware.optimaltrace.tools.common.bizobjects.PreConditionIfc preCondition)
          Removes the precondition.
 boolean setActor(com.compuware.optimaltrace.tools.common.bizobjects.ActorIfc actor)
          Sets the actor
 boolean setPostCondition(com.compuware.optimaltrace.tools.common.bizobjects.PostConditionIfc postCondition)
          Sets the postcondition.
 boolean setPreCondition(com.compuware.optimaltrace.tools.common.bizobjects.PreConditionIfc preCondition)
          Sets the precondition.
 
Methods inherited from class com.compuware.optimaltrace.tools.common.bizobjects.AbstractStep
addBranch, addRefinement, checkBranchNameUnique, checkRefinementNameUnique, getBranches, getBranchesAsString, getCustomProperty, getCustomPropertyBucket, getCustomPropertyTemplates, getDescription, getExternalLinks, getLinkBucket, getParentUseCase, getPositionNumber, getRefinements, getRefinementsAsString, getRefinementToUseCase, isAlreadyBranched, isAlreadyRefinedToUseCase, isCircularBranch, isCircularRefinement, isCircularRelationship, isRefiningToSelf, moveBranch, moveRefinement, removeBranch, removeCustomPropertyBucket, removeLinkBucket, removeRefinement, setCustomPropertyBucket, setDescription, setLinkBucket, updateName
 
Methods inherited from class com.compuware.optimaltrace.framework.business.AbstractBizObject
addAssociate, addAssociateListener, addChild, addChildAt, addChildListener, addInwardAssociate, addParentListener, cloneObjectsAttributes, customPropertiesToDocArray, decrementChildPosition, deleteSQL, disableMergeObjectSupport, enableMergeObjectSupport, equals, fireAssociateEvent, fireChildEvent, fireChildEvent, getAssociate, getAssociateListeners, getAssociates, getAssociates, getAttributeTable, getAttributeTimeStamp, getBaselineId, getBizObjectId, getBooleanAttribute, getChild, getChild, getChildById, getChildDocPersistObjects, getChildListeners, getChildren, getChildren, getChildren, getFirstChild, getId, getIntAttribute, getInwardAssociates, getInwardAssociates, getLockOwner, getLongAttribute, getName, getNextChild, getNextChild, getObjectAttribute, getOutwardAssociates, getOutwardAssociates, getParent, getParent, getParentListeners, getPreviousChild, getShortAttribute, getStringAttribute, getTimeStamp, getTimeStamp, getTimeStampTable, hasAssociate, hasAttribute, hasChild, hasChildById, hasChildren, hasInwardAssociate, hasOutwardAssociate, incrementChildPosition, isAssociateChangedNewer, isAssociateChangedOlder, isAttributesChangedNewer, isAttributesChangedOlder, isChildConflict, isChildWasAdded, isChildWasRemoved, isCustomPropertyChanged, isCustomPropertyChangedAdded, isCustomPropertyChangedRemoved, isCustomPropertyValueChangedNewer, isCustomPropertyValueChangedOlder, isEqual, isEqualWithFilter, isLocked, isMergeAccepted, isMergeChanged, isMergeObjectSupportEnabled, isMergeRejected, isNewParentAfterMove, isOldParentAfterMove, isParentChanged, isPositionChangedNewer, isPositionChangedOlder, isReadOnly, isWasAdded, isWasRemoved, moveChild, moveChild, moveChildAt, numAssociates, numChildren, numInwardAssociates, numOutwardAssociates, reInitialiseListeners, removeAssociate, removeAssociateListener, removeAttribute, removeChild, removeChildListener, removeInwardAssociate, removeParentListener, renameAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeNoTimeStampUpdate, setAttributeNoTimeStampUpdate, setAttributeNoValidation, setAttributeTable, setAttributeTimeStamp, setAttributeWithParentTime, setBaselineId, setBizObjectId, setId, setIsAssociateChangedNewer, setIsAssociateChangedOlder, setIsAttributesChangedNewer, setIsAttributesChangedOlder, setIsChildConflict, setIsChildWasAdded, setIsChildWasRemoved, setIsCustomPropertyChanged, setIsCustomPropertyChangedAdded, setIsCustomPropertyChangedRemoved, setIsCustomPropertyValueChangedNewer, setIsCustomPropertyValueChangedOlder, setIsLocked, setIsMergeAccepted, setIsMergeChanged, setIsMergeRejected, setIsNewParentAfterMove, setIsOldParentAfterMove, setIsParentChanged, setIsPositionChangedNewer, setIsPositionChangedOlder, setIsReadOnly, setIsWasAdded, setIsWasRemoved, setLockOwner, setName, setObjectAttribute, setParent, setTimeStamp, setTimeStamp, setTimeStampNoParentUpdate, setTimeStampTable, silentlyAddChild, silentlyAddChildAt, silentlyRemoveChild, toDocArray, toSQL, toString
 
Methods inherited from class com.compuware.optimaltrace.framework.business.AbstractPropertiesContainer
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener, setTimeStampListenersEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.compuware.optimaltrace.tools.common.bizobjects.AbstractStepIfc
addBranch, addRefinement, checkBranchNameUnique, checkRefinementNameUnique, getBranches, getBranchesAsString, getDescription, getExternalLinks, getParentUseCase, getRefinements, getRefinementsAsString, isAlreadyBranched, isAlreadyRefinedToUseCase, isCircularBranch, isCircularRefinement, isRefiningToSelf, moveBranch, moveRefinement, removeBranch, removeRefinement, setDescription, updateName
 
Methods inherited from interface com.compuware.optimaltrace.framework.business.BizObjectIfc
cloneObjectsAttributes, disableMergeObjectSupport, enableMergeObjectSupport, equals, getBaselineId, getBizObjectId, getFirstChild, getId, getLockOwner, getName, getNextChild, getTimeStamp, hasChildren, isEqual, isEqualWithFilter, isLocked, isMergeObjectSupportEnabled, isReadOnly, setBaselineId, setBizObjectId, setId, setIsLocked, setIsReadOnly, setLockOwner, setName, setTimeStamp, setTimeStampNoParentUpdate
 
Methods inherited from interface com.compuware.optimaltrace.framework.relations.ParentIfc
addChild, addChildAt, addParentListener, decrementChildPosition, fireChildEvent, fireChildEvent, getChild, getChild, getChildById, getChildren, getChildren, getChildren, getNextChild, getParentListeners, getPreviousChild, hasChild, hasChildById, incrementChildPosition, moveChild, numChildren, reInitialiseListeners, removeChild, removeParentListener, silentlyAddChild, silentlyAddChildAt, silentlyRemoveChild
 
Methods inherited from interface com.compuware.optimaltrace.framework.relations.ChildIfc
addChildListener, getChildListeners, getParent, getParent, moveChild, moveChildAt, removeChildListener, setParent
 
Methods inherited from interface com.compuware.optimaltrace.framework.relations.AssociateIfc
addAssociate, addAssociateListener, addInwardAssociate, fireAssociateEvent, getAssociate, getAssociateListeners, getAssociates, getAssociates, getInwardAssociates, getInwardAssociates, getOutwardAssociates, getOutwardAssociates, hasAssociate, hasInwardAssociate, hasOutwardAssociate, numAssociates, numInwardAssociates, numOutwardAssociates, removeAssociate, removeAssociateListener, removeInwardAssociate
 
Methods inherited from interface com.compuware.optimaltrace.framework.business.PersistentIfc
customPropertiesToDocArray, getChildDocPersistObjects, toDocArray, toSQL
 
Methods inherited from interface com.compuware.optimaltrace.framework.business.PropertiesContainerIfc
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from interface com.compuware.optimaltrace.framework.dynattribute.DynAttributeIfc
getAttributeTable, getAttributeTimeStamp, getBooleanAttribute, getIntAttribute, getLongAttribute, getObjectAttribute, getShortAttribute, getStringAttribute, getTimeStamp, getTimeStampTable, hasAttribute, removeAttribute, renameAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeNoTimeStampUpdate, setAttributeNoTimeStampUpdate, setAttributeTable, setAttributeTimeStamp, setObjectAttribute, setTimeStampTable
 
Methods inherited from interface com.compuware.optimaltrace.framework.merge.MergeObjectIfc
isAssociateChangedNewer, isAssociateChangedOlder, isAttributesChangedNewer, isAttributesChangedOlder, isChildConflict, isChildWasAdded, isChildWasRemoved, isMergeAccepted, isMergeChanged, isMergeRejected, isNewParentAfterMove, isOldParentAfterMove, isParentChanged, isPositionChangedNewer, isPositionChangedOlder, isWasAdded, isWasRemoved, setIsAssociateChangedNewer, setIsAssociateChangedOlder, setIsAttributesChangedNewer, setIsAttributesChangedOlder, setIsChildConflict, setIsChildWasAdded, setIsChildWasRemoved, setIsMergeAccepted, setIsMergeChanged, setIsMergeRejected, setIsNewParentAfterMove, setIsOldParentAfterMove, setIsParentChanged, setIsPositionChangedNewer, setIsPositionChangedOlder, setIsWasAdded, setIsWasRemoved
 
Methods inherited from interface com.compuware.optimaltrace.framework.business.RepositionableChildIfc
getPositionNumber
 
Methods inherited from interface com.compuware.optimaltrace.framework.customproperty.CustomPropertyHolderIfc
getCustomProperty, getCustomPropertyBucket, getCustomPropertyTemplates, removeCustomPropertyBucket, setCustomPropertyBucket
 
Methods inherited from interface com.compuware.optimaltrace.tools.common.bizobjects.LinkHolderIfc
getLinkBucket, setLinkBucket
 

Field Detail

_typeId

public static final java.lang.String _typeId
See Also:
Constant Field Values

_readableName

public static final java.lang.String _readableName
Constructor Detail

Step

public Step()
Constructor Step

Method Detail

getTypeId

public java.lang.String getTypeId()
Gets the type ID.

Specified by:
getTypeId in interface BizObjectIfc
Returns:
String

getReadableName

public java.lang.String getReadableName()
Gets the readable name.

Specified by:
getReadableName in interface BizObjectIfc
Returns:
String

getReadableTypeName

public static java.lang.String getReadableTypeName()
Gets the readable type name.

Returns:
String

getAbstractStepReadableTypeName

public java.lang.String getAbstractStepReadableTypeName()
Gets the abstract step readable type name.

Specified by:
getAbstractStepReadableTypeName in interface AbstractStepIfc
Specified by:
getAbstractStepReadableTypeName in class com.compuware.optimaltrace.tools.common.bizobjects.AbstractStep
Returns:
String

getReadableTypePluralName

public static java.lang.String getReadableTypePluralName()
Gets the readable type plural name.

Returns:
String

setActor

public boolean setActor(com.compuware.optimaltrace.tools.common.bizobjects.ActorIfc actor)
Sets the actor

Specified by:
setActor in interface StepIfc
Parameters:
actor -
Returns:
boolean

removeActor

public boolean removeActor(com.compuware.optimaltrace.tools.common.bizobjects.ActorIfc actor)
Moves the actor.

Specified by:
removeActor in interface StepIfc
Parameters:
actor -
Returns:
boolean

getActor

public com.compuware.optimaltrace.tools.common.bizobjects.ActorIfc getActor()
Gets the actore.

Specified by:
getActor in interface StepIfc
Returns:
ActorIfc

setPreCondition

public boolean setPreCondition(com.compuware.optimaltrace.tools.common.bizobjects.PreConditionIfc preCondition)
Sets the precondition.

Specified by:
setPreCondition in interface StepIfc
Parameters:
preCondition -
Returns:
boolean

getPreCondition

public com.compuware.optimaltrace.tools.common.bizobjects.PreConditionIfc getPreCondition()
Gets the precondition.

Specified by:
getPreCondition in interface StepIfc
Returns:
PreConditionIfc

setPostCondition

public boolean setPostCondition(com.compuware.optimaltrace.tools.common.bizobjects.PostConditionIfc postCondition)
Sets the postcondition.

Specified by:
setPostCondition in interface StepIfc
Parameters:
postCondition -
Returns:
boolean

getPostCondition

public com.compuware.optimaltrace.tools.common.bizobjects.PostConditionIfc getPostCondition()
Gets the postcondition.

Specified by:
getPostCondition in interface StepIfc
Returns:
PostConditionIfc

removePreCondition

public boolean removePreCondition(com.compuware.optimaltrace.tools.common.bizobjects.PreConditionIfc preCondition)
Removes the precondition.

Specified by:
removePreCondition in interface StepIfc
Parameters:
preCondition -
Returns:
boolean

removePostCondition

public boolean removePostCondition(com.compuware.optimaltrace.tools.common.bizobjects.PostConditionIfc postCondition)
Removes the postcondition.

Specified by:
removePostCondition in interface StepIfc
Parameters:
postCondition -
Returns:
boolean

getStepNumber

public int getStepNumber()
Gets the step number.

Returns:
int

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.