public class EntityType extends com.mysema.codegen.model.TypeAdapter implements Comparable<EntityType>
Constructor and Description |
---|
EntityType(com.mysema.codegen.model.Type type)
Create a new EntityType instance for the given type
|
EntityType(com.mysema.codegen.model.Type type,
Set<Supertype> superTypes)
Create a new EntityType instance for the given type and superTypes
|
public EntityType(com.mysema.codegen.model.Type type)
type
- public void addAnnotation(Annotation annotation)
public void addConstructor(com.mysema.codegen.model.Constructor co)
public void addDelegate(Delegate delegate)
public void addProperty(Property field)
public void addSupertype(Supertype entityType)
public int compareTo(EntityType o)
compareTo
in interface Comparable<EntityType>
public boolean equals(Object o)
equals
in class com.mysema.codegen.model.TypeAdapter
public <T extends Annotation> T getAnnotation(Class<T> type)
public Collection<Annotation> getAnnotations()
public com.mysema.codegen.model.TypeCategory getCategory()
getCategory
in interface com.mysema.codegen.model.Type
getCategory
in class com.mysema.codegen.model.TypeAdapter
public Set<com.mysema.codegen.model.Constructor> getConstructors()
public com.mysema.codegen.model.TypeCategory getOriginalCategory()
public String getUncapSimpleName()
public int hashCode()
hashCode
in class com.mysema.codegen.model.TypeAdapter
public boolean hasArrays()
public boolean hasEntityFields()
public boolean hasInits()
public boolean hasLists()
public boolean hasCollections()
public boolean hasSets()
public boolean hasMaps()
public void include(Supertype supertype)
public com.mysema.codegen.model.Type getInnerType()
Copyright © 2007-2013 Mysema Ltd. All Rights Reserved.