CodeBeamer 5.4.0.1-RC API

com.intland.codebeamer.persistence.dto
Class TrackerTypeDto

java.lang.Object
  extended by com.intland.codebeamer.persistence.dto.base.IdentifiableDto
      extended by com.intland.codebeamer.persistence.dto.base.NamedDto
          extended by com.intland.codebeamer.persistence.dto.TrackerTypeDto
All Implemented Interfaces:
BaseDto, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable

public class TrackerTypeDto
extends NamedDto

Wraps a tracker type.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.intland.codebeamer.persistence.dto.base.NamedDto
NamedDto.NameComparator
 
Nested classes/interfaces inherited from class com.intland.codebeamer.persistence.dto.base.IdentifiableDto
IdentifiableDto.IdComparator
 
Field Summary
static int BUG
           
static int CHANGE
           
static int CONFIG_ITEMS
           
static int GENERAL
           
static int QA
           
static int REQUIREMENTS
           
static int TASK
           
 
Constructor Summary
TrackerTypeDto()
           
 
Method Summary
static boolean isA(TrackerTypeDto type, boolean cmdb)
          Check if the specified type is of the specified type.
static boolean isCategoryType(TrackerTypeDto type)
          Check if the specified type is a configuration item category type
static boolean isTrackerType(TrackerTypeDto type)
          Check if the specified type is a tracker type
 
Methods inherited from class com.intland.codebeamer.persistence.dto.base.NamedDto
compareNames, compareString, compareStringIgnoreCase, compareTo, createLookupMap, equals, getName, hashCode, setName, toString
 
Methods inherited from class com.intland.codebeamer.persistence.dto.base.IdentifiableDto
clone, compare, compareInteger, equals, getId, hashCode, setId
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

GENERAL

public static final int GENERAL
See Also:
Constant Field Values

BUG

public static final int BUG
See Also:
Constant Field Values

CHANGE

public static final int CHANGE
See Also:
Constant Field Values

QA

public static final int QA
See Also:
Constant Field Values

REQUIREMENTS

public static final int REQUIREMENTS
See Also:
Constant Field Values

TASK

public static final int TASK
See Also:
Constant Field Values

CONFIG_ITEMS

public static final int CONFIG_ITEMS
See Also:
Constant Field Values
Constructor Detail

TrackerTypeDto

public TrackerTypeDto()
Method Detail

isTrackerType

public static boolean isTrackerType(TrackerTypeDto type)
Check if the specified type is a tracker type

Parameters:
type - to check
Returns:
true if type is a tracker type, otherwise false

isCategoryType

public static boolean isCategoryType(TrackerTypeDto type)
Check if the specified type is a configuration item category type

Parameters:
type - to check
Returns:
true if type is a configuration item category type , otherwise false

isA

public static boolean isA(TrackerTypeDto type,
                          boolean cmdb)
Check if the specified type is of the specified type. Note: the "hidden" logic behind is that "null" type defaults to NON config-type!

Parameters:
type - to check
cmdb - true if the type should be checked for a configuration item category type, false for a Tracker type
Returns:
true if the type is of the specified type

CodeBeamer 5.4.0.1-RC API

Copyright © 2006-2009 Intland Software. All rights reserved.