public class Owner extends Object implements Comparable<Owner>
Owner class.
Constructor and Description |
---|
Owner(Owner base,
int timeIndex)
Constructor for Owner.
|
Owner(String roleid,
String supervisor)
Constructor for Owner.
|
Owner(String roleid,
String user,
int schedIndex)
Constructor for Owner.
|
Owner(String roleid,
String user,
int schedIndex,
int timeIndex)
Constructor for Owner.
|
Modifier and Type | Method and Description |
---|---|
Owner |
addTimeIndex(int timeIndex) |
int |
compareTo(Owner o)
compareTo
|
boolean |
equals(Object obj) |
String |
getRoleid()
getRoleid
|
int |
getSchedIndex()
getSchedIndex
|
int |
getTimeIndex()
getTimeIndex
|
String |
getUser()
getUser
|
int |
hashCode()
hashCode
|
boolean |
isSupervisor()
isSupervisor
|
String |
toString()
toString
|
public Owner(Owner base, int timeIndex)
Constructor for Owner.
base
- a Owner
object.timeIndex
- a int.public boolean isSupervisor()
isSupervisor
public int getSchedIndex()
getSchedIndex
public int getTimeIndex()
getTimeIndex
public Owner addTimeIndex(int timeIndex)
public int compareTo(Owner o)
compareTo
compareTo
in interface Comparable<Owner>
o
- a Owner
object.Copyright © 2021. All rights reserved.