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 boolean
NOT_NULLABLE_COLUMN
static boolean
NULLABLE_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 boolean
equals(Object o)
List<String>
getColumnNames()
org.hibernate.type.Type
getIdPropertyType(String columnName)
String
getPropertyName()
String
getPropertyName(String columnName)
List<String>
getPropertyNames()
Class<?>
getReferencedClass()
String
getSingleColumnName()
org.hibernate.type.Type
getType()
List<org.hibernate.type.Type>
getTypes()
int
hashCode()
boolean
isNullable()
String
toString()
-
-
-
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()
-
-