Class PermissionGroup
java.lang.Object
com.foreach.across.modules.hibernate.business.SettableIdBasedEntity<PermissionGroup>
com.foreach.across.modules.user.business.PermissionGroup
- All Implemented Interfaces:
com.foreach.across.modules.hibernate.business.EntityWithDto<PermissionGroup>
,com.foreach.across.modules.hibernate.business.IdBasedEntity
,org.springframework.data.domain.Persistable<Long>
@NotThreadSafe
@Entity
public class PermissionGroup
extends com.foreach.across.modules.hibernate.business.SettableIdBasedEntity<PermissionGroup>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getId()
getName()
getTitle()
int
hashCode()
void
setDescription
(String description) void
void
void
setPermissions
(Collection<Permission> permissions) void
toString()
Methods inherited from class com.foreach.across.modules.hibernate.business.SettableIdBasedEntity
getNewEntityId, isNew, setNewEntityId, toDto
-
Constructor Details
-
PermissionGroup
public PermissionGroup()
-
-
Method Details
-
getId
-
setId
- Specified by:
setId
in classcom.foreach.across.modules.hibernate.business.SettableIdBasedEntity<PermissionGroup>
-
getName
-
setName
-
getTitle
-
setTitle
-
getDescription
-
setDescription
-
getPermissions
-
setPermissions
-
equals
- Overrides:
equals
in classcom.foreach.across.modules.hibernate.business.SettableIdBasedEntity<PermissionGroup>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classcom.foreach.across.modules.hibernate.business.SettableIdBasedEntity<PermissionGroup>
-
toString
-