@Entity public class Right extends java.lang.Object implements EntityWithId<Right.PK>, java.io.Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
Right.PK |
| Constructor and Description |
|---|
Right(SecurityRole secRole,
java.lang.String name)
|
| Modifier and Type | Method and Description |
|---|---|
Right.PK |
getId()
Returns the primary key.
|
java.lang.String |
getName()
Returns the name of the right.
|
java.lang.String |
toString() |
public Right(SecurityRole secRole, java.lang.String name)
name - The name of the right. Cannot be blank.java.lang.NullPointerException - (unchecked) If the name argument is null.java.lang.IllegalArgumentException - (unchecked) If the name argument contains just
whitespace characters.public Right.PK getId()
EntityWithIdgetId in interface EntityWithId<Right.PK>public java.lang.String getName()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.