com.mysema.query.codegen
Class EntityType
java.lang.Object
com.mysema.query.codegen.TypeAdapter
com.mysema.query.codegen.EntityType
- All Implemented Interfaces:
- Type, Comparable<EntityType>
public final class EntityType
- extends TypeAdapter
- implements Comparable<EntityType>
EntityType represents a model of a query domain type with properties
- Version:
- $Id$
- Author:
- tiwe
Methods inherited from class com.mysema.query.codegen.TypeAdapter |
appendLocalGenericName, appendLocalRawName, as, asArrayType, equals, getFullName, getLocalGenericName, getLocalRawName, getPackageName, getParameter, getParameterCount, getPrimitiveName, getSelfOrValueType, getSimpleName, getType, hashCode, isFinal, isPrimitive, toString |
EntityType
public EntityType(String prefix,
Type type)
EntityType
public EntityType(String prefix,
Type type,
Set<Supertype> superTypes)
addAnnotation
public void addAnnotation(Annotation annotation)
addConstructor
public void addConstructor(Constructor co)
addMethod
public void addMethod(Method method)
addProperty
public void addProperty(Property field)
addSupertype
public void addSupertype(Supertype entityType)
compareTo
public int compareTo(EntityType o)
- Specified by:
compareTo
in interface Comparable<EntityType>
getAnnotations
public Set<Annotation> getAnnotations()
getCategory
public TypeCategory getCategory()
- Specified by:
getCategory
in interface Type
- Overrides:
getCategory
in class TypeAdapter
- Returns:
getConstructors
public Set<Constructor> getConstructors()
getLocalGenericName
public String getLocalGenericName()
getLocalRawName
public String getLocalRawName()
getMethods
public Set<Method> getMethods()
getOriginalCategory
public TypeCategory getOriginalCategory()
getPrefix
public String getPrefix()
getProperties
public Set<Property> getProperties()
getSuperType
@Nullable
public Supertype getSuperType()
getSuperTypes
public Collection<Supertype> getSuperTypes()
getUncapSimpleName
public String getUncapSimpleName()
hasEntityFields
public boolean hasEntityFields()
- Specified by:
hasEntityFields
in interface Type
- Overrides:
hasEntityFields
in class TypeAdapter
- Returns:
hasLists
public boolean hasLists()
hasMaps
public boolean hasMaps()
include
public void include(Supertype supertype)
Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.