Record Class EntityDescriptor

java.lang.Object
java.lang.Record
io.jmix.datatools.datamodel.EntityDescriptor
Record Components:
storeName - physical data store name
tableName - physical table name
dynamic - whether the entity is defined at runtime rather than on the classpath

@NullMarked public record EntityDescriptor(String storeName, String tableName, boolean dynamic) extends Record
Physical placement of an entity contributed to the data model.
  • Constructor Details

    • EntityDescriptor

      public EntityDescriptor(String storeName, String tableName, boolean dynamic)
      Creates an instance of a EntityDescriptor record class.
      Parameters:
      storeName - the value for the storeName record component
      tableName - the value for the tableName record component
      dynamic - the value for the dynamic record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • storeName

      public String storeName()
      Returns the value of the storeName record component.
      Returns:
      the value of the storeName record component
    • tableName

      public String tableName()
      Returns the value of the tableName record component.
      Returns:
      the value of the tableName record component
    • dynamic

      public boolean dynamic()
      Returns the value of the dynamic record component.
      Returns:
      the value of the dynamic record component