Class QueryOperand.Prop

java.lang.Object
org.seasar.doma.jdbc.query.QueryOperand.Prop
All Implemented Interfaces:
QueryOperand
Enclosing interface:
QueryOperand

public static final class QueryOperand.Prop extends Object implements QueryOperand
A property operand that references an entity property.

This class represents a reference to an entity property in a query.

  • Field Details

    • propertyType

      public final EntityPropertyType<?,?> propertyType
      The entity property type.
  • Constructor Details

    • Prop

      public Prop(EntityPropertyType<?,?> propertyType)
      Constructs a new property operand.
      Parameters:
      propertyType - the entity property type
      Throws:
      NullPointerException - if the property type is null
  • Method Details

    • getEntityPropertyType

      public EntityPropertyType<?,?> getEntityPropertyType()
      Returns the entity property type associated with this operand.
      Specified by:
      getEntityPropertyType in interface QueryOperand
      Returns:
      the entity property type
    • accept

      public void accept(QueryOperand.Visitor visitor)
      Accepts a visitor to perform operations on this operand.
      Specified by:
      accept in interface QueryOperand
      Parameters:
      visitor - the visitor to accept