@Entity public class PermissionImpl extends Object implements Permission, Auditable<Integer>
Permission-implementation| Constructor and Description |
|---|
PermissionImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
ApplicationImpl |
getApplication()
Returns the
Application this Permission belongs to. |
@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,}",message="{validation.permission}") String |
getName()
Returns the name.
|
Date |
getVersion()
Returns the version.
|
int |
hashCode() |
void |
setApplication(ApplicationImpl application) |
void |
setDescription(String description) |
void |
setId(Integer id) |
void |
setName(String name) |
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,}",
message="{validation.permission}")
public @NotNull(message="{validation.notNull}") @Pattern(regexp="[a-zA-Z0-9\\-\\.]{3,}",message="{validation.permission}") 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 Date getVersion()
VersionablegetVersion in interface Versionable<Date>public void setVersion(Date version)
public ApplicationImpl getApplication()
PermissionApplication this Permission belongs to.getApplication in interface PermissionApplication this Permission belongspublic void setApplication(ApplicationImpl application)
Copyright © 2011–2019 aiticon GmbH. All rights reserved.