Package com.uc4.api.objects
Class SloSelection
java.lang.Object
com.uc4.api.objects.SloSelection
Selection criteria of SLO objects.
- 
Nested Class SummaryNested Classes
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanaddBeneficiary(SloSelection.Beneficiary beneficiary) Adds aBeneficiaryto the object.Returns anjava.util.Iteratorof beneficiaries.getQuery()Returns the query definition as XML.booleanReturnstrueif the there is a queryvoidRemoves all beneficiaries.booleanremoveBeneficiary(SloSelection.Beneficiary beneficiary) Removes a specificBeneficiary.voidSets the query definition.protected void
- 
Constructor Details- 
SloSelectionprotected SloSelection(com.uc4.util.XMLDocument doc) 
 
- 
- 
Method Details- 
getQueryReturns the query definition as XML.- Returns:
- XML, never null
 
- 
isQueryDefinedpublic boolean isQueryDefined()Returnstrueif the there is a query- Returns:
- true if a query has been defined, false if the query is empty
 
- 
setQuerySets the query definition.- Parameters:
- query- String containing a valid XML
 
- 
beneficiariesIteratorReturns anjava.util.Iteratorof beneficiaries.- Returns:
- Iterator
 
- 
removeAllBeneficiariespublic void removeAllBeneficiaries()Removes all beneficiaries.
- 
removeBeneficiaryRemoves a specificBeneficiary.- Parameters:
- beneficiary- Beneficiary
- Returns:
- trueif the- Beneficiarywas removed, false if not found
 
- 
addBeneficiaryAdds aBeneficiaryto the object.- Parameters:
- beneficiary- Beneficiary
- Returns:
- true when the beneficiary has been added to the list. false if the list already contained the attribute. The list remains unchanged in this case.
 
- 
store
 
-