public class FullTeam extends Team
Modifier and Type | Field and Description |
---|---|
protected TeamSharingPolicies |
sharingPolicies |
Constructor and Description |
---|
FullTeam(String id,
String name,
TeamSharingPolicies sharingPolicies)
Detailed information about a team.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getId()
The team's unique ID.
|
String |
getName()
The name of the team.
|
TeamSharingPolicies |
getSharingPolicies()
Team policies governing sharing.
|
int |
hashCode() |
String |
toString() |
String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final TeamSharingPolicies sharingPolicies
public FullTeam(String id, String name, TeamSharingPolicies sharingPolicies)
id
- The team's unique ID. Must not be null
.name
- The name of the team. Must not be null
.sharingPolicies
- Team policies governing sharing. Must not be
null
.IllegalArgumentException
- If any argument does not meet its
preconditions.public String getId()
public String getName()
public TeamSharingPolicies getSharingPolicies()
null
.public String toStringMultiline()
The returned String may contain newlines.
toStringMultiline
in class Team