OptimalTrace
5.2

com.compuware.optimaltrace.framework.customproperty
Interface CustomPropertyTemplatesMapHolderIfc

All Known Subinterfaces:
ProjectIfc, UseCasePackageIfc

public interface CustomPropertyTemplatesMapHolderIfc

Interface CustomPropertyTemplatesMapHolderIfc This interface is implemented by every class that can have a list of CustomPropertyTemplates. Added in 5.0 to support different Custom Property definitions for different packages.

Author:
Ewren

Method Summary
 java.util.List getCustomPropertyTemplatesForType(java.lang.String type)
          Gets the custom property templates for type.
 com.compuware.optimaltrace.tools.common.bizobjects.CustomPropertyTemplatesMapIfc getCustomPropertyTemplatesMap()
          Gets the custom property templates map.
 boolean getInheritCPTemplatesMap()
          Gets the inherit CP templates map.
 boolean removeCustomPropertyTemplatesMap()
          Removes the custom property templates map.
 boolean setCustomPropertyTemplatesMap(com.compuware.optimaltrace.tools.common.bizobjects.CustomPropertyTemplatesMapIfc templatesList)
          Sets the custom property templates map.
 void setInheritCPTemplatesMap(boolean inherit)
          Sets the inherit CP templates map.
 

Method Detail

getCustomPropertyTemplatesMap

com.compuware.optimaltrace.tools.common.bizobjects.CustomPropertyTemplatesMapIfc getCustomPropertyTemplatesMap()
Gets the custom property templates map.

Returns:
CustomPropertyTemplatesMapIfc

getCustomPropertyTemplatesForType

java.util.List getCustomPropertyTemplatesForType(java.lang.String type)
Gets the custom property templates for type.

Parameters:
type -
Returns:
List

setCustomPropertyTemplatesMap

boolean setCustomPropertyTemplatesMap(com.compuware.optimaltrace.tools.common.bizobjects.CustomPropertyTemplatesMapIfc templatesList)
Sets the custom property templates map.

Parameters:
templatesList -
Returns:
boolean

removeCustomPropertyTemplatesMap

boolean removeCustomPropertyTemplatesMap()
Removes the custom property templates map.

Returns:
boolean

setInheritCPTemplatesMap

void setInheritCPTemplatesMap(boolean inherit)
Sets the inherit CP templates map. This method sets whether the object is inheriting cp template map. If is set to false, the cp template map that it currently is referring to is cloned, and is added to a child of the object..so that the object now has its own map of custom property templates If it set to true, the CustomPropertyTemplateMap that is a child of this object, is removed (if it exists) ProjectIfc objects should never be inheriting as they are the daddy of the tree.

Parameters:
inherit -
Since:
5.0

getInheritCPTemplatesMap

boolean getInheritCPTemplatesMap()
Gets the inherit CP templates map.

Returns:
boolean

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.