Class DefaultExportableEntityInfo
- java.lang.Object
-
- com.atlassian.confluence.impl.backuprestore.hibernate.DefaultExportableEntityInfo
-
- All Implemented Interfaces:
ExportableEntityInfo
public class DefaultExportableEntityInfo extends Object implements ExportableEntityInfo
Represent hibernate entity that has to be exported. Contains information about its fields and references.- Since:
- 7.20.0
-
-
Constructor Summary
Constructors Constructor Description DefaultExportableEntityInfo(org.hibernate.persister.entity.AbstractEntityPersister entityPersister, org.hibernate.SessionFactory sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getDiscriminatorColumnName()
Object
getDiscriminatorValue()
Class<?>
getEntityClass()
List<HibernateField>
getFields()
org.hibernate.type.Type
getHibernateTypeByFieldName(String propertyName)
HibernateField
getId()
org.hibernate.id.IdentifierGenerator
getIdentifierGenerator()
String
getTableName()
int
hashCode()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.confluence.impl.backuprestore.hibernate.ExportableEntityInfo
getAllExternalReferences, getPersistableFields
-
-
-
-
Method Detail
-
getFields
public List<HibernateField> getFields()
- Specified by:
getFields
in interfaceExportableEntityInfo
-
getEntityClass
public Class<?> getEntityClass()
- Specified by:
getEntityClass
in interfaceExportableEntityInfo
-
getId
public HibernateField getId()
- Specified by:
getId
in interfaceExportableEntityInfo
-
getTableName
public String getTableName()
- Specified by:
getTableName
in interfaceExportableEntityInfo
-
getDiscriminatorColumnName
public String getDiscriminatorColumnName()
- Specified by:
getDiscriminatorColumnName
in interfaceExportableEntityInfo
-
getDiscriminatorValue
public Object getDiscriminatorValue()
- Specified by:
getDiscriminatorValue
in interfaceExportableEntityInfo
-
getIdentifierGenerator
public org.hibernate.id.IdentifierGenerator getIdentifierGenerator()
- Specified by:
getIdentifierGenerator
in interfaceExportableEntityInfo
-
getHibernateTypeByFieldName
public org.hibernate.type.Type getHibernateTypeByFieldName(String propertyName)
- Specified by:
getHibernateTypeByFieldName
in interfaceExportableEntityInfo
-
-