java.lang.Object
org.seasar.doma.jdbc.query.QueryOperand.Prop
- All Implemented Interfaces:
QueryOperand
- Enclosing interface:
- QueryOperand
A property operand that references an entity property.
This class represents a reference to an entity property in a query.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.seasar.doma.jdbc.query.QueryOperand
QueryOperand.Param, QueryOperand.Prop, QueryOperand.Visitor -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionProp(EntityPropertyType<?, ?> propertyType) Constructs a new property operand. -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(QueryOperand.Visitor visitor) Accepts a visitor to perform operations on this operand.EntityPropertyType<?,?> Returns the entity property type associated with this operand.
-
Field Details
-
propertyType
The entity property type.
-
-
Constructor Details
-
Prop
Constructs a new property operand.- Parameters:
propertyType- the entity property type- Throws:
NullPointerException- if the property type is null
-
-
Method Details
-
getEntityPropertyType
Returns the entity property type associated with this operand.- Specified by:
getEntityPropertyTypein interfaceQueryOperand- Returns:
- the entity property type
-
accept
Accepts a visitor to perform operations on this operand.- Specified by:
acceptin interfaceQueryOperand- Parameters:
visitor- the visitor to accept
-