Record Class ForeignKey
java.lang.Object
java.lang.Record
io.micronaut.controlpanel.panels.datasource.model.ForeignKey
- Record Components:
name- The foreign key namefkColumn- The foreign key column name on the current tablepkSchema- The primary key table schemapkTable- The primary key table namepkColumn- The primary key column name
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.fkColumn()Returns the value of thefkColumnrecord component.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.pkColumn()Returns the value of thepkColumnrecord component.pkSchema()Returns the value of thepkSchemarecord component.pkTable()Returns the value of thepkTablerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ForeignKey
Creates an instance of aForeignKeyrecord class.
-
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
name
-
fkColumn
-
pkSchema
-
pkTable
-
pkColumn
-