Package cz.metacentrum.perun.core.api
Class PerunBean
java.lang.Object
cz.metacentrum.perun.core.api.PerunBean
- All Implemented Interfaces:
Serializable
,Comparable<PerunBean>
- Direct Known Subclasses:
Auditable
,Author
,Authorship
,Category
,Publication
,PublicationSystem
,TaskResult
,Thanks
Basic class. All beans (entitties) in Perun must extends this class.
- Author:
- Slavek Licehammer glory@ics.muni.cz
- See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
PerunBean
public PerunBean() -
PerunBean
public PerunBean(int id)
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<PerunBean>
-
equals
-
getBeanName
Returns bean name like VO, Member, Resource,... -
getId
public int getId() -
setId
public void setId(int id) -
hashCode
public int hashCode() -
serializeToString
-
toString
-