OptimalTrace
5.2

com.compuware.optimaltrace.tools.common.bizobjects.client
Class SimpleRequirementFactory

java.lang.Object
  extended by com.compuware.optimaltrace.tools.common.bizobjects.client.SimpleRequirementFactory
All Implemented Interfaces:
com.compuware.optimaltrace.tools.common.bizobjects.EmptyBizObjectCreatorIfc

public final class SimpleRequirementFactory
extends java.lang.Object
implements com.compuware.optimaltrace.tools.common.bizobjects.EmptyBizObjectCreatorIfc

Class SimpleRequirementFactory


Method Summary
 BizObjectIfc createNewEmptyBizObject()
          Creates a new empty biz object.
 SimpleRequirementIfc createNewEmptySimpleRequirement()
          Creates a new empty simple requirement.
 SimpleRequirementIfc createNewSimpleRequirement(java.lang.String name, UseCasePackageIfc parent)
          Creates a new simple requirement.
 SimpleRequirementIfc createNewSimpleRequirement(UseCasePackageIfc pkg)
          Creates a new simple requirement.
static SimpleRequirementFactory getInstance()
          Get the instance of this simple requirement factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static SimpleRequirementFactory getInstance()
Get the instance of this simple requirement factory.

Returns:
SimpleRequirementFactory

createNewSimpleRequirement

public SimpleRequirementIfc createNewSimpleRequirement(UseCasePackageIfc pkg)
Creates a new simple requirement.

Parameters:
pkg -
Returns:
SimpleRequirementIfc SimpleRequirementFactory

createNewSimpleRequirement

public SimpleRequirementIfc createNewSimpleRequirement(java.lang.String name,
                                                       UseCasePackageIfc parent)
                                                throws com.compuware.optimaltrace.tools.common.bizobjects.NameNotUniqueException,
                                                       com.compuware.optimaltrace.tools.common.tpn.client.NameAlreadyReservedException
Creates a new simple requirement.

Parameters:
name -
parent -
Returns:
SimpleRequirementIfc
Throws:
com.compuware.optimaltrace.tools.common.bizobjects.NameNotUniqueException
com.compuware.optimaltrace.tools.common.tpn.client.NameAlreadyReservedException

createNewEmptySimpleRequirement

public SimpleRequirementIfc createNewEmptySimpleRequirement()
Creates a new empty simple requirement.

Returns:
SimpleRequirementIfc

createNewEmptyBizObject

public BizObjectIfc createNewEmptyBizObject()
Creates a new empty biz object.

Specified by:
createNewEmptyBizObject in interface com.compuware.optimaltrace.tools.common.bizobjects.EmptyBizObjectCreatorIfc
Returns:
BizObjectIfc

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.