Class Category
java.lang.Object
cz.metacentrum.perun.core.api.PerunBean
cz.metacentrum.perun.cabinet.model.Category
- All Implemented Interfaces:
Serializable
,Comparable<PerunBean>
This class represents a category (of publication). I.e. patent, article in journal etc. Each category is supposed to
have some rank, which expresses the importance of given category.
- Author:
- Jiri Harazim invalid input: '<'harazim@mail.muni.cz>, Pavel Zlamal invalid input: '<'256627@mail.muni.cz>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class cz.metacentrum.perun.core.api.PerunBean
compareTo, getBeanName, getId, serializeToString, setId
-
Constructor Details
-
Category
public Category() -
Category
-
-
Method Details
-
equals
-
getName
Get Category name- Returns:
- name
-
setName
Set Category name.- Parameters:
name
- the value for CATEGORY.name
-
getRank
Get Category rank.- Returns:
- Rank of Category
-
setRank
Set Category rank.- Parameters:
rank
- the value for CATEGORY.rank
-
hashCode
public int hashCode() -
toString
-