public class PrincipalRepresentation extends CollaboratorRepresentation
Java class for PrincipalSummary complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PrincipalSummary">
<complexContent>
<extension base="{https://phenotips.org/rest-permissions/}CollaboratorRepresentation">
<sequence>
<element name="role" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="group" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="url" type="{http://www.w3.org/2001/XMLSchema}string"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
group |
protected String |
role |
protected String |
url |
levelemail, id, name, typelinks| Constructor and Description |
|---|
PrincipalRepresentation() |
| Modifier and Type | Method and Description |
|---|---|
String |
getGroup()
Gets the value of the group property.
|
String |
getRole()
Gets the value of the role property.
|
String |
getUrl()
Gets the value of the url property.
|
void |
setGroup(String value)
Sets the value of the group property.
|
void |
setRole(String value)
Sets the value of the role property.
|
void |
setUrl(String value)
Sets the value of the url property.
|
PrincipalRepresentation |
withEmail(String value) |
PrincipalRepresentation |
withGroup(String value) |
PrincipalRepresentation |
withId(String value) |
PrincipalRepresentation |
withLevel(String value) |
PrincipalRepresentation |
withName(String value) |
PrincipalRepresentation |
withRole(String value) |
PrincipalRepresentation |
withType(String value) |
PrincipalRepresentation |
withUrl(String value) |
getLevel, setLevelgetEmail, getId, getName, getType, setEmail, setId, setName, setTypegetLinks, withLinks, withLinkspublic String getRole()
Stringpublic void setRole(String value)
value - allowed object is
Stringpublic String getGroup()
Stringpublic void setGroup(String value)
value - allowed object is
Stringpublic String getUrl()
Stringpublic void setUrl(String value)
value - allowed object is
Stringpublic PrincipalRepresentation withRole(String value)
public PrincipalRepresentation withGroup(String value)
public PrincipalRepresentation withUrl(String value)
public PrincipalRepresentation withLevel(String value)
withLevel in class CollaboratorRepresentationpublic PrincipalRepresentation withId(String value)
withId in class CollaboratorRepresentationpublic PrincipalRepresentation withName(String value)
withName in class CollaboratorRepresentationpublic PrincipalRepresentation withEmail(String value)
withEmail in class CollaboratorRepresentationpublic PrincipalRepresentation withType(String value)
withType in class CollaboratorRepresentationCopyright © 2011–2018 University of Toronto, Computational Biology Lab. All rights reserved.