Package io.jmix.dynmodel
Record Class DynamicModelMigration.UpdateAttributeInstanceName
java.lang.Object
java.lang.Record
io.jmix.dynmodel.DynamicModelMigration.UpdateAttributeInstanceName
- All Implemented Interfaces:
DynamicModelMigration
- Enclosing interface:
DynamicModelMigration
public static record DynamicModelMigration.UpdateAttributeInstanceName(String entityName, String attributeName, boolean instanceName)
extends Record
implements DynamicModelMigration
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.dynmodel.DynamicModelMigration
DynamicModelMigration.CreateAttribute, DynamicModelMigration.CreateEntity, DynamicModelMigration.DropAttribute, DynamicModelMigration.DropEntity, DynamicModelMigration.DropEnumeration, DynamicModelMigration.RemoveMessage, DynamicModelMigration.UpdateAttributeColumn, DynamicModelMigration.UpdateAttributeInstanceName, DynamicModelMigration.UpdateAttributeValidation, DynamicModelMigration.UpdateCalculatedAttribute, DynamicModelMigration.UpdateEntityValidation, DynamicModelMigration.UpdateMessage, DynamicModelMigration.UpdateUniqueConstraints, DynamicModelMigration.UpsertEnumeration -
Constructor Summary
ConstructorsConstructorDescriptionUpdateAttributeInstanceName(String entityName, String attributeName, boolean instanceName) Creates an instance of aUpdateAttributeInstanceNamerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theattributeNamerecord component.Returns the value of theentityNamerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theinstanceNamerecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
UpdateAttributeInstanceName
Creates an instance of aUpdateAttributeInstanceNamerecord class.- Parameters:
entityName- the value for theentityNamerecord componentattributeName- the value for theattributeNamerecord componentinstanceName- the value for theinstanceNamerecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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 '=='. -
entityName
Returns the value of theentityNamerecord component.- Returns:
- the value of the
entityNamerecord component
-
attributeName
Returns the value of theattributeNamerecord component.- Returns:
- the value of the
attributeNamerecord component
-
instanceName
public boolean instanceName()Returns the value of theinstanceNamerecord component.- Returns:
- the value of the
instanceNamerecord component
-