Class CategoryInfo
java.lang.Object
com.nomagic.magicdraw.teamwork2.esi.CategoryInfo
- All Implemented Interfaces:
Serializable
Project category information object. So far project categories are single level - no tree structure.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCategoryInfo
(UUID id, String name) Constructs category with the given name and no projects assigned to it.Constructs category with the given name and no projects assigned to it. -
Method Summary
-
Constructor Details
-
CategoryInfo
public CategoryInfo(@CheckForNull UUID id, String name, @CheckForNull UUID parentID, Set<UUID> nested) Constructs category with the given name and no projects assigned to it.- Parameters:
id
- identifiername
- the category nameparentID
- parent category idnested
- nested category id
-
CategoryInfo
Constructs category with the given name and no projects assigned to it.- Parameters:
id
- identifiername
- the category name
-
-
Method Details
-
getParentID
Get category parent id- Returns:
- parent category id
-
getNested
Get nested category id- Returns:
- nested category ids
-
getID
Gets category identifier- Returns:
- category identifier or null if it is unspecified
-
getName
Gets category name- Returns:
- name of the category
-
setName
Sets category name.- Parameters:
name
- a new category name
-
addNested
Adds child category id- Parameters:
childId
- child category id
-
toString
-
equals
-
hashCode
public int hashCode()
-