Module org.seasar.doma.core
Class UserDefinedExpression<PROPERTY>
java.lang.Object
org.seasar.doma.jdbc.criteria.expression.UserDefinedExpression<PROPERTY>
- Type Parameters:
PROPERTY- the type of the property
- All Implemented Interfaces:
PropertyMetamodel<PROPERTY>
Represents a user-defined expression. It implements the PropertyMetamodel interface.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeclaration of UserDefinedExpressionstatic interfacestatic interface -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(PropertyMetamodel.Visitor visitor) Class<?>asClass()EntityPropertyType<?,?> asType()booleangetDeclarationItems(Dialect dialect) Returns the declarationItem the user-defined expression.getName()inthashCode()
-
Method Details
-
getDeclarationItems
Returns the declarationItem the user-defined expression. This is used to build a query.- Parameters:
dialect- the database dialect- Returns:
- declarationItem of the user-defined expression
-
asClass
- Specified by:
asClassin interfacePropertyMetamodel<PROPERTY>
-
asType
- Specified by:
asTypein interfacePropertyMetamodel<PROPERTY>
-
getName
- Specified by:
getNamein interfacePropertyMetamodel<PROPERTY>
-
accept
- Specified by:
acceptin interfacePropertyMetamodel<PROPERTY>
-
equals
-
hashCode
public int hashCode()
-