Package com.querydsl.codegen
Class EntityType
java.lang.Object
com.querydsl.codegen.utils.model.TypeAdapter
com.querydsl.codegen.EntityType
- All Implemented Interfaces:
Type,Comparable<EntityType>
EntityType represents a model of a query domain type with properties- Author:
- tiwe
-
Field Summary
Fields inherited from class com.querydsl.codegen.utils.model.TypeAdapter
type -
Constructor Summary
ConstructorsConstructorDescriptionEntityType(Type type) Create a newEntityTypeinstance for the given typeEntityType(Type type, Function<EntityType, String> variableNameFunction) Create a newEntityTypeinstance for the given typeEntityType(Type type, Set<Supertype> superTypes) Create a newEntityTypeinstance for the given type and superTypes -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAnnotation(Annotation annotation) voidvoidaddDelegate(Delegate delegate) voidaddProperty(Property field) voidaddSupertype(Supertype entityType) as(TypeCategory category) intboolean<T extends Annotation>
TgetAnnotation(Class<T> type) getData()@Nullable SupertypeDeprecated.booleanbooleanbooleaninthashCode()booleanhasInits()booleanhasLists()booleanhasMaps()booleanhasSets()voidMethods inherited from class com.querydsl.codegen.utils.model.TypeAdapter
asArrayType, getComponentType, getEnclosingType, getFullName, getGenericName, getGenericName, getJavaClass, getPackageName, getParameters, getRawName, getSimpleName, getType, isFinal, isMember, isPrimitive, toString
-
Constructor Details
-
EntityType
Create a newEntityTypeinstance for the given type- Parameters:
type-
-
EntityType
Create a newEntityTypeinstance for the given type- Parameters:
type- the type to be usedvariableNameFunction- the variable name function to be used
-
EntityType
Create a newEntityTypeinstance for the given type and superTypes- Parameters:
type-superTypes-
-
-
Method Details
-
addAnnotation
-
addConstructor
-
addDelegate
-
addProperty
-
addSupertype
-
compareTo
- Specified by:
compareToin interfaceComparable<EntityType>
-
equals
- Overrides:
equalsin classTypeAdapter
-
getAnnotation
-
getAnnotations
-
as
- Specified by:
asin interfaceType- Overrides:
asin classTypeAdapter
-
getCategory
- Specified by:
getCategoryin interfaceType- Overrides:
getCategoryin classTypeAdapter
-
getConstructors
-
getData
-
getDelegates
-
getOriginalCategory
-
getProperties
-
getSuperType
-
getSuperTypes
-
getUncapSimpleName
Deprecated. -
getModifiedSimpleName
-
hashCode
public int hashCode()- Overrides:
hashCodein classTypeAdapter
-
hasArrays
public boolean hasArrays() -
hasEntityFields
public boolean hasEntityFields() -
hasInits
public boolean hasInits() -
hasLists
public boolean hasLists() -
hasCollections
public boolean hasCollections() -
hasSets
public boolean hasSets() -
hasMaps
public boolean hasMaps() -
include
-
getPropertyNames
-
getEscapedPropertyNames
-
getInnerType
-