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