public class PersonParticipation extends PersonReference
Java class for PersonParticipation complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PersonParticipation">
<complexContent>
<extension base="{http://p11073-10207/draft6/pm/2016/12/08}PersonReference">
<sequence>
<element name="Role" type="{http://p11073-10207/draft6/pm/2016/12/08}CodedValue" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<CodedValue> |
role |
extension, identification, name| Constructor and Description |
|---|
PersonParticipation() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that) |
List<CodedValue> |
getRole()
Gets the value of the role property.
|
int |
hashCode() |
void |
setRole(List<CodedValue> value) |
String |
toString() |
getExtension, getIdentification, getName, setExtension, setIdentification, setNameprotected List<CodedValue> role
public List<CodedValue> getRole()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the role property.
For example, to add a new item, do as follows:
getRole().add(newItem);
Objects of the following type(s) are allowed in the list
CodedValue
public void setRole(List<CodedValue> value)
public String toString()
toString in class PersonReferencepublic boolean equals(Object that)
equals in class PersonReferencepublic int hashCode()
hashCode in class PersonReferenceCopyright © 2017. All rights reserved.