public class WsDocumentTypeCategory extends Object
Modifier and Type | Field and Description |
---|---|
static WsDocumentTypeCategory |
ATTACHMENT
The Attachment category signifies that this document type represents the system's attachments, ID 1001.
|
static WsDocumentTypeCategory |
COMPONENT
The Component category signifies that this document type represents Components of the system hierarchy, ID 1002.
|
static WsDocumentTypeCategory |
CORE
The Core category signifies that this document type represents the fields that apply to all items, ID 1000.
|
static WsDocumentTypeCategory |
SECTION
The Folder category signifies that this document type represents Folders in the system hierarchy, ID 1004.
|
static WsDocumentTypeCategory |
SET
The Set category signifies that this document type represents Sets in the system hierarchy, ID 1003.
|
static WsDocumentTypeCategory |
TEST_CASE
The Test Case category signifies that this document type represents Test Cases in the system, ID 1009.
|
static WsDocumentTypeCategory |
TEST_CYCLE
The Test Cycle category signifies that this document type represents Test Cycles in the system, ID 1007.
|
static WsDocumentTypeCategory |
TEST_PLAN
The Test Plan category signifies that this document type represents Test Plans in the system, ID 1006.
|
static WsDocumentTypeCategory |
TEST_RUN
The Test Run category signifies that this document type represents Test Runs in the system, ID 1008.
|
static WsDocumentTypeCategory |
TEXT
The Text category signifies that this document type represents Texts in the system, ID 1005.
|
Constructor and Description |
---|
WsDocumentTypeCategory()
Creates an empty WsDocumentTypeCategory.
|
WsDocumentTypeCategory(Integer id,
String name)
Creates a WsDocumentTypeCategory object with the given id and name.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Checks whether the given object is equal to this WsDocumentTypeCategory.
|
Integer |
getId()
Gets the category's id.
|
String |
getName()
Gets the category's name.
|
static WsDocumentTypeCategory |
getWsDocumentTypeCategory(com.jamasoftware.contour.api.domain.DocumentTypeCategory dtc) |
static boolean |
isCategory(WsDocumentTypeCategory docTypeCategory,
WsDocumentTypeCategory category) |
void |
setId(Integer id)
Sets the category's id.
|
void |
setName(String name)
Sets the category's name.
|
String |
toString()
Gets a string representation of this document type category.
|
public static final WsDocumentTypeCategory CORE
public static final WsDocumentTypeCategory ATTACHMENT
public static final WsDocumentTypeCategory COMPONENT
public static final WsDocumentTypeCategory SET
public static final WsDocumentTypeCategory SECTION
public static final WsDocumentTypeCategory TEXT
public static final WsDocumentTypeCategory TEST_CASE
public static final WsDocumentTypeCategory TEST_PLAN
public static final WsDocumentTypeCategory TEST_CYCLE
public static final WsDocumentTypeCategory TEST_RUN
public WsDocumentTypeCategory()
public WsDocumentTypeCategory(Integer id, String name)
id
- id to use in the new WsDocumentTypeCategory objectname
- name to use in the new WsDocumentTypeCategory objectpublic static WsDocumentTypeCategory getWsDocumentTypeCategory(com.jamasoftware.contour.api.domain.DocumentTypeCategory dtc)
public static boolean isCategory(WsDocumentTypeCategory docTypeCategory, WsDocumentTypeCategory category)
docTypeCategory
- category you want to checkcategory
- category to matchpublic Integer getId()
public void setId(Integer id)
id
- id to setpublic String getName()
public void setName(String name)
name
- name of the categorypublic boolean equals(Object obj)
Copyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.