|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jamasoftware.contour.ws.v3.domain.WsDocumentTypeCategory
public class WsDocumentTypeCategory
This object represents the Category of a WsDocumentType.
| Field Summary | |
|---|---|
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
|
static WsDocumentTypeCategory |
TEST_PLAN
|
static WsDocumentTypeCategory |
TEST_RUN
|
static WsDocumentTypeCategory |
TEXT
The Text category signifies that this document type represents Texts in the system, ID 1005. |
| Constructor Summary | |
|---|---|
WsDocumentTypeCategory()
Creates an empty WsDocumentTypeCategory. |
|
WsDocumentTypeCategory(java.lang.Integer id,
java.lang.String name)
Creates a WsDocumentTypeCategory object with the given id and name. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Checks whether the given object is equal to this WsDocumentTypeCategory. |
java.lang.Integer |
getId()
Gets the category's id. |
java.lang.String |
getName()
Gets the category's name. |
static WsDocumentTypeCategory |
getWsDocumentTypeCategoryById(java.lang.Integer id)
Gets the WsDocumentCategoryType object given it's id. |
static boolean |
isCategory(WsDocumentTypeCategory docTypeCategory,
WsDocumentTypeCategory category)
|
void |
setId(java.lang.Integer id)
Sets the category's id. |
void |
setName(java.lang.String name)
Sets the category's name. |
java.lang.String |
toString()
Gets a string representation of this document type category. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
public WsDocumentTypeCategory()
public WsDocumentTypeCategory(java.lang.Integer id,
java.lang.String name)
id - id to use in the new WsDocumentTypeCategory objectname - name to use in the new WsDocumentTypeCategory object| Method Detail |
|---|
public static WsDocumentTypeCategory getWsDocumentTypeCategoryById(java.lang.Integer id)
id - id of the WsDocumentCategoryType to get
public static boolean isCategory(WsDocumentTypeCategory docTypeCategory,
WsDocumentTypeCategory category)
docTypeCategory - category you want to checkcategory - category to match
public java.lang.Integer getId()
public void setId(java.lang.Integer id)
id - id to setpublic java.lang.String getName()
public void setName(java.lang.String name)
name - name of the categorypublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the object to check equality withpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||