Package cz.metacentrum.perun.core.api
Class Group
java.lang.Object
cz.metacentrum.perun.core.api.PerunBean
cz.metacentrum.perun.core.api.Auditable
cz.metacentrum.perun.core.api.Group
- All Implemented Interfaces:
HasUuid
,Serializable
,Comparable<PerunBean>
- Direct Known Subclasses:
RichGroup
Group entity.
- Author:
- Slavek Licehammer glory@ics.muni.cz
- See Also:
-
Constructor Summary
ConstructorDescriptionGroup()
Constructor.Group
(int id) Group
(int id, String name, String description, String createdAt, String createdBy, String modifiedAt, String modifiedBy) Deprecated.Group
(int id, String name, String description, String createdAt, String createdBy, String modifiedAt, String modifiedBy, Integer createdByUid, Integer modifiedByUid) Group
(int id, String name, String description, String createdAt, String createdBy, String modifiedAt, String modifiedBy, Integer parentGroupId, Integer createdByUid, Integer modifiedByUid) Constructor.Group
(String name, String description, String createdAt, String createdBy, String modifiedAt, String modifiedBy, Integer createdByUid, Integer modifiedByUid) Group
(String name, String description, String createdAt, String createdBy, String modifiedAt, String modifiedBy, Integer parentGroupId, Integer createdByUid, Integer modifiedByUid) -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
getName()
getUuid()
Get UUID.int
getVoId()
int
hashCode()
void
setDescription
(String description) void
void
setParentGroupId
(Integer parentGroupId) void
setShortName
(String shortName) void
void
setVoId
(int voId) toString()
Methods inherited from class cz.metacentrum.perun.core.api.Auditable
getCreatedAt, getCreatedBy, getCreatedByUid, getModifiedAt, getModifiedBy, getModifiedByUid, setCreatedAt, setCreatedBy, setCreatedByUid, setModifiedAt, setModifiedBy, setModifiedByUid
Methods inherited from class cz.metacentrum.perun.core.api.PerunBean
getBeanName, getId, setId
-
Constructor Details
-
Group
public Group()Constructor. -
Group
public Group(int id) -
Group
Constructor.- Parameters:
name
- name of the Groupdescription
- description the the group
-
Group
-
Group
-
Group
-
Group
@Deprecated public Group(int id, String name, String description, String createdAt, String createdBy, String modifiedAt, String modifiedBy) Deprecated. -
Group
-
Group
-
Group
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<PerunBean>
- Overrides:
compareTo
in classPerunBean
-
equals
-
getDescription
-
setDescription
-
getName
-
setName
-
getParentGroupId
-
setParentGroupId
-
getShortName
-
setShortName
-
getUuid
Description copied from interface:HasUuid
Get UUID. -
setUuid
-
getVoId
public int getVoId() -
setVoId
public void setVoId(int voId) -
hashCode
public int hashCode() -
serializeToString
- Overrides:
serializeToString
in classAuditable
-
toString
-