Class QueryMethod
- java.lang.Object
-
- org.hibernate.jpamodelgen.annotation.AbstractQueryMethod
-
- org.hibernate.jpamodelgen.annotation.QueryMethod
-
- All Implemented Interfaces:
MetaAttribute
public class QueryMethod extends AbstractQueryMethod
-
-
Constructor Summary
Constructors Constructor Description QueryMethod(AnnotationMetaEntity annotationMetaEntity, String methodName, String queryString, @Nullable String returnTypeName, @Nullable String containerTypeName, List<String> paramNames, List<String> paramTypes, boolean isUpdate, boolean isNative, boolean belongsToDao, String sessionType, String sessionName, boolean addNonnullAnnotation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAttributeDeclarationString()
String
getAttributeNameDeclarationString()
String
getTypeDeclaration()
boolean
hasStringAttribute()
boolean
hasTypedAttribute()
-
Methods inherited from class org.hibernate.jpamodelgen.annotation.AbstractQueryMethod
getHostingEntity, getMetaType, getPropertyName
-
-
-
-
Constructor Detail
-
QueryMethod
public QueryMethod(AnnotationMetaEntity annotationMetaEntity, String methodName, String queryString, @Nullable String returnTypeName, @Nullable String containerTypeName, List<String> paramNames, List<String> paramTypes, boolean isUpdate, boolean isNative, boolean belongsToDao, String sessionType, String sessionName, boolean addNonnullAnnotation)
-
-
Method Detail
-
hasTypedAttribute
public boolean hasTypedAttribute()
-
hasStringAttribute
public boolean hasStringAttribute()
-
getAttributeDeclarationString
public String getAttributeDeclarationString()
-
getAttributeNameDeclarationString
public String getAttributeNameDeclarationString()
-
getTypeDeclaration
public String getTypeDeclaration()
-
-