Class DirectoryAttributeEntityInfo
java.lang.Object
com.atlassian.confluence.impl.backuprestore.hibernate.DirectoryAttributeEntityInfo
- All Implemented Interfaces:
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 ClassesModifier and TypeClassDescriptionstatic class
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
ConstructorsConstructorDescriptionDirectoryAttributeEntityInfo
(org.hibernate.engine.spi.SessionFactoryImplementor sessionFactoryImplementor) -
Method Summary
Modifier and TypeMethodDescriptionClass<?>
org.hibernate.type.Type
getHibernateTypeByFieldName
(String propertyName) getId()
org.hibernate.id.IdentifierGenerator
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
-
Constructor Details
-
DirectoryAttributeEntityInfo
public DirectoryAttributeEntityInfo(org.hibernate.engine.spi.SessionFactoryImplementor sessionFactoryImplementor)
-
-
Method Details
-
getId
- Specified by:
getId
in interfaceExportableEntityInfo
-
getDiscriminatorColumnName
- Specified by:
getDiscriminatorColumnName
in interfaceExportableEntityInfo
-
getDiscriminatorValue
- Specified by:
getDiscriminatorValue
in interfaceExportableEntityInfo
-
getIdentifierGenerator
public org.hibernate.id.IdentifierGenerator getIdentifierGenerator()- Specified by:
getIdentifierGenerator
in interfaceExportableEntityInfo
-
getHibernateTypeByFieldName
- Specified by:
getHibernateTypeByFieldName
in interfaceExportableEntityInfo
-
getFields
- Specified by:
getFields
in interfaceExportableEntityInfo
-
getTableName
- Specified by:
getTableName
in interfaceExportableEntityInfo
-
getEntityClass
- Specified by:
getEntityClass
in interfaceExportableEntityInfo
-