com.intland.codebeamer.persistence.dto
Class TrackerTypeDto
java.lang.Object
com.intland.codebeamer.persistence.dto.base.IdentifiableDto
com.intland.codebeamer.persistence.dto.base.NamedDto
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
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
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
TrackerTypeDto
public TrackerTypeDto()
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 checkcmdb
- 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
Copyright © 2006-2009 Intland Software. All rights reserved.