Record Class ExpectedMetamodel
java.lang.Object
java.lang.Record
io.micronaut.data.tck.metamodel.ExpectedMetamodel
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionExpectedMetamodel(Class<?> entityClass, Class<?> metamodelClass, Class<?> jakartaManagedType, List<ExpectedMetamodel.Attribute> attributes, List<String> forbiddenFields) Creates an instance of aExpectedMetamodelrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theattributesrecord component.Class<?> Returns the value of theentityClassrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theforbiddenFieldsrecord component.final inthashCode()Returns a hash code value for this object.Class<?> Returns the value of thejakartaManagedTyperecord component.Class<?> Returns the value of themetamodelClassrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ExpectedMetamodel
public ExpectedMetamodel(Class<?> entityClass, Class<?> metamodelClass, Class<?> jakartaManagedType, List<ExpectedMetamodel.Attribute> attributes, List<String> forbiddenFields) Creates an instance of aExpectedMetamodelrecord class.- Parameters:
entityClass- the value for theentityClassrecord componentmetamodelClass- the value for themetamodelClassrecord componentjakartaManagedType- the value for thejakartaManagedTyperecord componentattributes- the value for theattributesrecord componentforbiddenFields- the value for theforbiddenFieldsrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
entityClass
Returns the value of theentityClassrecord component.- Returns:
- the value of the
entityClassrecord component
-
metamodelClass
Returns the value of themetamodelClassrecord component.- Returns:
- the value of the
metamodelClassrecord component
-
jakartaManagedType
Returns the value of thejakartaManagedTyperecord component.- Returns:
- the value of the
jakartaManagedTyperecord component
-
attributes
Returns the value of theattributesrecord component.- Returns:
- the value of the
attributesrecord component
-
forbiddenFields
-