All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.unblu.webapi.model.v4.CompoundOperator Maven / Gradle / Ivy

package com.unblu.webapi.model.v4;

import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;

@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "type", visible = true)
@JsonSubTypes({
	@JsonSubTypes.Type(value = AndCompoundOperator.class, name = "AND"),
	@JsonSubTypes.Type(value = OrCompoundOperator.class, name = "OR"),
})
public interface CompoundOperator {
	void setType(ECompoundOperatorType type);

	ECompoundOperatorType getType();

	CompoundOperator type(ECompoundOperatorType type);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy