Class PredicateLogicalAndOperation
- java.lang.Object
-
- org.ehrbase.aql.dto.path.predicate.PredicateLogicalAndOperation
-
- All Implemented Interfaces:
Serializable,LogicalOperatorDto<PredicateLogicalOperatorSymbol,SimplePredicateDto>,PredicateDto,SimplePredicateDto
public final class PredicateLogicalAndOperation extends Object implements LogicalOperatorDto<PredicateLogicalOperatorSymbol,SimplePredicateDto>, SimplePredicateDto, Serializable
- Author:
- Stefan Spiska
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PredicateLogicalAndOperation()PredicateLogicalAndOperation(SimplePredicateDto... values)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PredicateLogicalAndOperationaddValues(Stream<SimplePredicateDto> valuesStream)Adds the values from the stream.booleanequals(Object o)PredicateLogicalOperatorSymbolgetSymbol()List<SimplePredicateDto>getValues()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
PredicateLogicalAndOperation
public PredicateLogicalAndOperation()
-
PredicateLogicalAndOperation
public PredicateLogicalAndOperation(SimplePredicateDto... values)
-
-
Method Detail
-
getSymbol
public PredicateLogicalOperatorSymbol getSymbol()
- Specified by:
getSymbolin interfaceLogicalOperatorDto<PredicateLogicalOperatorSymbol,SimplePredicateDto>
-
getValues
public List<SimplePredicateDto> getValues()
- Specified by:
getValuesin interfaceLogicalOperatorDto<PredicateLogicalOperatorSymbol,SimplePredicateDto>
-
addValues
public PredicateLogicalAndOperation addValues(Stream<SimplePredicateDto> valuesStream)
Description copied from interface:LogicalOperatorDtoAdds the values from the stream. Depending on the implementation, the original object may or may not be modified.- Specified by:
addValuesin interfaceLogicalOperatorDto<PredicateLogicalOperatorSymbol,SimplePredicateDto>- Returns:
-
-