java.lang.Object
is.codion.framework.domain.entity.condition.AbstractCondition
All Implemented Interfaces:
Condition, Serializable

public abstract class AbstractCondition extends Object implements Condition, Serializable
A base class for Condition implementations.
See Also:
  • Constructor Details

  • Method Details

    • entityType

      public final EntityType entityType()
      Specified by:
      entityType in interface Condition
      Returns:
      the entity type
    • columns

      public final List<Column<?>> columns()
      Specified by:
      columns in interface Condition
      Returns:
      a list of the columns this condition is based on, in the same order as their respective values appear in the condition clause. An empty list is returned in case no values are specified.
    • values

      public final List<?> values()
      Specified by:
      values in interface Condition
      Returns:
      a list of the values this condition is based on, in the order they appear in the condition clause. An empty list is returned in case no values are specified.
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object