Class HibernateField
- java.lang.Object
-
- com.atlassian.confluence.impl.backuprestore.hibernate.HibernateField
-
public class HibernateField extends Object
Information about Hibernate field.- Since:
- 7.20.0
-
-
Field Summary
Fields Modifier and Type Field Description static booleanNOT_NULLABLE_COLUMNstatic booleanNULLABLE_COLUMN
-
Constructor Summary
Constructors Constructor Description HibernateField(List<org.hibernate.type.Type> types, List<String> propertyNames, String[] columnNames, Class<?> referencedClass)Deprecated.since 8.3.0HibernateField(List<org.hibernate.type.Type> types, List<String> propertyNames, String[] columnNames, Class<?> referencedClass, boolean nullable)HibernateField(org.hibernate.type.Type type, String propertyName, String[] columnNames, Class<?> referencedClass)Deprecated.since 8.3.0HibernateField(org.hibernate.type.Type type, String propertyName, String[] columnNames, Class<?> referencedClass, boolean nullable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)List<String>getColumnNames()org.hibernate.type.TypegetIdPropertyType(String columnName)StringgetPropertyName()StringgetPropertyName(String columnName)List<String>getPropertyNames()Class<?>getReferencedClass()StringgetSingleColumnName()org.hibernate.type.TypegetType()List<org.hibernate.type.Type>getTypes()inthashCode()booleanisNullable()StringtoString()
-
-
-
Field Detail
-
NULLABLE_COLUMN
public static final boolean NULLABLE_COLUMN
- See Also:
- Constant Field Values
-
NOT_NULLABLE_COLUMN
public static final boolean NOT_NULLABLE_COLUMN
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HibernateField
@Deprecated public HibernateField(org.hibernate.type.Type type, String propertyName, String[] columnNames, Class<?> referencedClass)
Deprecated.since 8.3.0
-
HibernateField
public HibernateField(org.hibernate.type.Type type, String propertyName, String[] columnNames, Class<?> referencedClass, boolean nullable)- Since:
- 8.3.0
-
HibernateField
@Deprecated public HibernateField(List<org.hibernate.type.Type> types, List<String> propertyNames, String[] columnNames, Class<?> referencedClass)
Deprecated.since 8.3.0
-
-
Method Detail
-
getPropertyName
public String getPropertyName()
-
getIdPropertyType
public org.hibernate.type.Type getIdPropertyType(String columnName)
-
getReferencedClass
public Class<?> getReferencedClass()
-
getSingleColumnName
public String getSingleColumnName()
-
getTypes
public List<org.hibernate.type.Type> getTypes()
-
getType
public org.hibernate.type.Type getType()
-
isNullable
public boolean isNullable()
-
-