Class ExportableEntityInfo
- java.lang.Object
-
- com.atlassian.confluence.impl.backuprestore.hibernate.ExportableEntityInfo
-
public class ExportableEntityInfo extends Object
Represent the hibernate extity that has to be exported. Contains information about its fields and references.- Since:
- 7.20.0
-
-
Constructor Summary
Constructors Constructor Description ExportableEntityInfo(org.hibernate.persister.entity.AbstractEntityPersister entityPersister)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Collection<HibernateField>
getAllExternalReferences()
Class<?>
getEntityClass()
org.hibernate.persister.entity.AbstractEntityPersister
getEntityPersister()
List<HibernateField>
getFields()
org.hibernate.type.Type
getHibernateTypeByFieldName(String propertyName)
HibernateField
getId()
List<HibernateField>
getPersistableFields()
String
getTableName()
int
hashCode()
-
-
-
Method Detail
-
getFields
public List<HibernateField> getFields()
-
getPersistableFields
public List<HibernateField> getPersistableFields()
- Returns:
- all fields that can be persisted (it does not include collection).
-
getEntityClass
public Class<?> getEntityClass()
-
getId
public HibernateField getId()
-
getTableName
public String getTableName()
-
getAllExternalReferences
public Collection<HibernateField> getAllExternalReferences()
-
getEntityPersister
public org.hibernate.persister.entity.AbstractEntityPersister getEntityPersister()
-
getHibernateTypeByFieldName
public org.hibernate.type.Type getHibernateTypeByFieldName(String propertyName)
-
-