public class SubjectInfo extends Object implements Serializable
<xs:complexType xmlns:ns="http://ns.dataone.org/service/types/v1" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="SubjectInfo"> <xs:sequence> <xs:element type="ns:Person" name="person" minOccurs="0" maxOccurs="unbounded"/> <xs:element type="ns:Group" name="group" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType>
Modifier and Type | Field and Description |
---|---|
protected List<Group> |
group |
protected List<Person> |
person |
Constructor and Description |
---|
SubjectInfo() |
Modifier and Type | Method and Description |
---|---|
void |
addGroup(Group item)
Add a 'group' element item.
|
void |
addPerson(Person item)
Add a 'person' element item.
|
void |
clearGroupList()
Remove all 'group' element items.
|
void |
clearPersonList()
Remove all 'person' element items.
|
Group |
getGroup(int index)
Get 'group' element item by position.
|
List<Group> |
getGroupList()
Get the list of 'group' element items.
|
Person |
getPerson(int index)
Get 'person' element item by position.
|
List<Person> |
getPersonList()
Get the list of 'person' element items.
|
void |
setGroupList(List<Group> list)
Set the list of 'group' element items.
|
void |
setPersonList(List<Person> list)
Set the list of 'person' element items.
|
int |
sizeGroupList()
Get the number of 'group' element items.
|
int |
sizePersonList()
Get the number of 'person' element items.
|
public List<Person> getPersonList()
public void setPersonList(List<Person> list)
list
- public int sizePersonList()
public void addPerson(Person item)
item
- public Person getPerson(int index)
index
- public void clearPersonList()
public void setGroupList(List<Group> list)
list
- public int sizeGroupList()
public void addGroup(Group item)
item
- public Group getGroup(int index)
index
- public void clearGroupList()
Copyright © 2016. All Rights Reserved.