Package dev.dsf.bpe.v2.variables
Interface Targets
public interface Targets
Specifies a list of communication targets for FHIR Task resources.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetFirst()booleanisEmpty()removeAllByEndpointIdentifierValue(Collection<String> targetEndpointIdentifierValues) Removes targets base on the given endpoint identifier values.Removes targets base on the givenTargets endpoint identifier value.removeByEndpointIdentifierValue(String targetEndpointIdentifierValue) Removes targets base on the given endpoint identifier value.intsize()
-
Method Details
-
getEntries
- Returns:
- not
null
-
removeByEndpointIdentifierValue
Removes targets base on the givenTargets endpoint identifier value.- Parameters:
target-- Returns:
- new
Targetsobject - See Also:
-
removeByEndpointIdentifierValue
Removes targets base on the given endpoint identifier value.- Parameters:
targetEndpointIdentifierValue-- Returns:
- new
Targetsobject
-
removeAllByEndpointIdentifierValue
Removes targets base on the given endpoint identifier values.- Parameters:
targetEndpointIdentifierValues-- Returns:
- new
Targetsobject
-
isEmpty
boolean isEmpty()- Returns:
trueif the entries list is empty
-
size
int size()- Returns:
- number of target entries
-
getFirst
- Returns:
Optionalwith the first element of the target entries, orOptional.empty()ifisEmpty()
-