public class Person extends Resource
Modifier and Type | Field and Description |
---|---|
protected int |
capacity |
static java.lang.String |
CASE_PREFIX |
Constructor and Description |
---|
Person(java.lang.String name) |
Person(java.lang.String name,
int capacity) |
Modifier and Type | Method and Description |
---|---|
int |
getCapacity()
Returns the capacity of the allocatable entity.
|
static boolean |
isCaseResourceName(java.lang.String name) |
java.lang.String |
toString() |
addRole, getRoles, removeRole
getName, setName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName
public static final java.lang.String CASE_PREFIX
protected int capacity
public Person(java.lang.String name)
public Person(java.lang.String name, int capacity)
public int getCapacity()
Allocatable
public java.lang.String toString()
toString
in class java.lang.Object
public static boolean isCaseResourceName(java.lang.String name)