Class EntityInfo

java.lang.Object
net.ideahut.springboot.entity.EntityInfo

public class EntityInfo extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • getTrxManagerInfo

      public TrxManagerInfo getTrxManagerInfo()
    • getEntityClass

      public Class<?> getEntityClass()
    • getAnnotation

      public <T extends Annotation> T getAnnotation(Class<T> annotationClass)
    • getAnnotationsByType

      public <T extends Annotation> T[] getAnnotationsByType(Class<T> annotationClass)
    • getAnnotations

      public Annotation[] getAnnotations()
    • getAnnotationFields

      public Set<String> getAnnotationFields(Class<? extends Annotation> annotationClass)
    • getTable

      public org.hibernate.mapping.Table getTable()
    • isEntity

      public boolean isEntity()
    • getFieldTransient

      public FieldInfo getFieldTransient(String name)
    • getFieldTransientNames

      public Set<String> getFieldTransientNames()
    • getFieldInfo

      public FieldInfo getFieldInfo(String name)
    • getFieldInfoNames

      public Set<String> getFieldInfoNames()
    • getColumnInfo

      public FieldInfo getColumnInfo(String name)
    • getColumnInfoNames

      public Set<String> getColumnInfoNames()
    • getEagerObjectFields

      public Map<String,FieldInfo> getEagerObjectFields()
    • getLazyObjectFields

      public Map<String,FieldInfo> getLazyObjectFields()
    • getLazyCollectionFields

      public Map<String,FieldInfo> getLazyCollectionFields()
    • isUniqueField

      public boolean isUniqueField(String field)
    • getIdInfo

      public IdInfo getIdInfo()
    • getParentInfo

      public EntityInfo getParentInfo()
    • getColumnConverter

      public EntityNative.ColumnConverter getColumnConverter(String anyField)
    • createEntity

      public <T> T createEntity() throws Exception
      Throws:
      Exception
    • getStandardDefinition

      protected net.ideahut.springboot.entity.StandardEntityDefinition getStandardDefinition()
    • getNativeDefinition

      protected net.ideahut.springboot.entity.NativeEntityDefinition getNativeDefinition()
    • writeJoinColumns

      public <T> void writeJoinColumns(T entity) throws Exception
      Throws:
      Exception
    • loadLazy

      public EntityInfo loadLazy(Object object, List<String> tobeLoadFields)
    • nullLazyCollection

      public EntityInfo nullLazyCollection(Object object)
    • merge

      public <T> boolean merge(T source, T target, boolean skipNull, Collection<String> skipFields)
    • merge

      public <T> boolean merge(net.ideahut.springboot.object.MapStringObject source, T target, Collection<String> skipFields) throws Exception
      Throws:
      Exception
    • prepareConverters

      protected void prepareConverters()
    • prepareAttributeOverrides

      protected void prepareAttributeOverrides()
    • prepareJoinColumns

      protected void prepareJoinColumns()
    • prepareDefinition

      protected void prepareDefinition()