public class AccessPolicy extends Object implements Serializable
<xs:complexType xmlns:ns="http://ns.dataone.org/service/types/v1" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="AccessPolicy">
<xs:sequence>
<xs:element type="ns:AccessRule" name="allow" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
| Constructor and Description |
|---|
AccessPolicy() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAllow(AccessRule item)
Add a 'allow' element item.
|
void |
clearAllowList()
Remove all 'allow' element items.
|
AccessRule |
getAllow(int index)
Get 'allow' element item by position.
|
List<AccessRule> |
getAllowList()
Get the list of 'allow' element items.
|
void |
setAllowList(List<AccessRule> list)
Set the list of 'allow' element items.
|
int |
sizeAllowList()
Get the number of 'allow' element items.
|
public List<AccessRule> getAllowList()
public void setAllowList(List<AccessRule> list)
list - public int sizeAllowList()
public void addAllow(AccessRule item)
item - public AccessRule getAllow(int index)
index - public void clearAllowList()
Copyright © 2014. All Rights Reserved.