@Entity public class GroupImpl extends Object implements Group, Auditable<Integer>
Group-implementation| Constructor and Description |
|---|
GroupImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
@Size(max=8192,message="{validation.string.max}") String |
getDescription()
Returns the description.
|
Integer |
getId()
Returns the id.
|
@NotNull(message="{validation.notNull}") @Pattern(regexp="([a-zA-Z0-9_\\.-]{3,}[ ]*)+([a-zA-Z0-9_\\.-][ ]*)+",message="{validation.name}") @Size(max=64,message="{validation.string.max}") String |
getName()
Returns the name.
|
Set<Role> |
getRoles()
|
Set<Subject> |
getSubjects()
|
Date |
getVersion()
Returns the version.
|
int |
hashCode() |
boolean |
isDefaultAdmin() |
void |
setDefaultAdmin(boolean defaultAdmin) |
void |
setDescription(String description) |
void |
setId(Integer id) |
void |
setName(String name) |
void |
setRoles(Set<Role> applicationRoles) |
void |
setSubjects(Set<Subject> subjects) |
void |
setVersion(Date version) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAuditNamepublic Integer getId()
IdentifiablegetId in interface Identifiable<Integer>public void setId(Integer id)
@NotNull(message="{validation.notNull}")
@Pattern(regexp="([a-zA-Z0-9_\\.-]{3,}[ ]*)+([a-zA-Z0-9_\\.-][ ]*)+",
message="{validation.name}")
@Size(max=64,
message="{validation.string.max}")
public @NotNull(message="{validation.notNull}") @Pattern(regexp="([a-zA-Z0-9_\\.-]{3,}[ ]*)+([a-zA-Z0-9_\\.-][ ]*)+",message="{validation.name}") @Size(max=64,message="{validation.string.max}") String getName()
Nameablepublic void setName(String name)
@Size(max=8192,
message="{validation.string.max}")
public @Size(max=8192,message="{validation.string.max}") String getDescription()
NameablegetDescription in interface Nameablepublic void setDescription(String description)
public Set<Subject> getSubjects()
GroupgetSubjects in interface GroupSubjects belonging to this Grouppublic Date getVersion()
VersionablegetVersion in interface Versionable<Date>public void setVersion(Date version)
public boolean isDefaultAdmin()
public void setDefaultAdmin(boolean defaultAdmin)
Copyright © 2011–2022 aiticon GmbH. All rights reserved.