public class SloSelection extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SloSelection.Beneficiary
Beneficiary of a service.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
addBeneficiary(SloSelection.Beneficiary beneficiary)
Adds a
Beneficiary to the object. |
Iterator<SloSelection.Beneficiary> |
beneficiariesIterator()
Returns an
java.util.Iterator of beneficiaries. |
String |
getQuery()
Returns the query definition as XML.
|
boolean |
isQueryDefined()
Returns
true if the there is a query |
void |
removeAllBeneficiaries()
Removes all beneficiaries.
|
boolean |
removeBeneficiary(SloSelection.Beneficiary beneficiary)
Removes a specific
Beneficiary. |
void |
setQuery(String query)
Sets the query definition.
|
public String getQuery()
public boolean isQueryDefined()
true if the there is a querypublic void setQuery(String query)
query - String containing a valid XMLpublic Iterator<SloSelection.Beneficiary> beneficiariesIterator()
java.util.Iterator of beneficiaries.public void removeAllBeneficiaries()
public boolean removeBeneficiary(SloSelection.Beneficiary beneficiary)
Beneficiary.beneficiary - Beneficiarytrue if the Beneficiary was removed, false if not foundpublic boolean addBeneficiary(SloSelection.Beneficiary beneficiary)
Beneficiary to the object.beneficiary - BeneficiaryCopyright © 2021. All rights reserved.