Class DirectoryAttributeEntityInfo
- java.lang.Object
-
- com.atlassian.confluence.impl.backuprestore.hibernate.DirectoryAttributeEntityInfo
-
- All Implemented Interfaces:
ExportableEntityInfo
public class DirectoryAttributeEntityInfo extends Object implements ExportableEntityInfo
Custom entity info for cwd_directory_attribute table. We need it because Hibernate does not have the entity for this table.- Since:
- 8.3.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DirectoryAttributeEntityInfo.EntityClass
We do not have a dedicated class for cwd_directory_attribute, so we use this fake class basically for logging or methods like equals etc
-
Constructor Summary
Constructors Constructor Description DirectoryAttributeEntityInfo(org.hibernate.engine.spi.SessionFactoryImplementor sessionFactoryImplementor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.confluence.impl.backuprestore.hibernate.ExportableEntityInfo
getAllExternalReferences, getPersistableFields
-
-
-
-
Method Detail
-
getId
public HibernateField getId()
- Specified by:
getId
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
-
getFields
public List<HibernateField> getFields()
- Specified by:
getFields
in interfaceExportableEntityInfo
-
getTableName
public String getTableName()
- Specified by:
getTableName
in interfaceExportableEntityInfo
-
getEntityClass
public Class<?> getEntityClass()
- Specified by:
getEntityClass
in interfaceExportableEntityInfo
-
-