Record Class HibernateEntityAttributeInfo
java.lang.Object
java.lang.Record
io.micronaut.controlpanel.panels.hibernate.model.HibernateEntityAttributeInfo
- Record Components:
name- attribute namekind- persistent attribute kindjavaType- attribute Java typeassociation- whether the attribute is an associationcollection- whether the attribute is a collection
-
Constructor Summary
ConstructorsConstructorDescriptionHibernateEntityAttributeInfo(String name, String kind, String javaType, boolean association, boolean collection) Creates an instance of aHibernateEntityAttributeInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theassociationrecord component.booleanReturns the value of thecollectionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.javaType()Returns the value of thejavaTyperecord component.kind()Returns the value of thekindrecord component.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
HibernateEntityAttributeInfo
public HibernateEntityAttributeInfo(String name, String kind, String javaType, boolean association, boolean collection) Creates an instance of aHibernateEntityAttributeInforecord class.- Parameters:
name- the value for thenamerecord componentkind- the value for thekindrecord componentjavaType- the value for thejavaTyperecord componentassociation- the value for theassociationrecord componentcollection- the value for thecollectionrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
name
-
kind
-
javaType
-
association
public boolean association()Returns the value of theassociationrecord component.- Returns:
- the value of the
associationrecord component
-
collection
public boolean collection()Returns the value of thecollectionrecord component.- Returns:
- the value of the
collectionrecord component
-