Record Class DynamicViewDeployment

java.lang.Object
java.lang.Record
io.jmix.dynmodelflowui.impl.DynamicViewDeployment

public record DynamicViewDeployment(String entityName, MetaClass metaClass, boolean dynamicEntity, DynamicViewType type, String viewId, @Nullable String route, String descriptorPath, String descriptorSource, Class<?> controllerClass, String controllerClassName, boolean primary, DynamicViewDefinition definition, @Nullable String title, @Nullable String menuTitle, @Nullable Map<String,String> localizedTitle, @Nullable Map<String,String> localizedMenuTitle, DynamicViewDeployer.DynamicViewSignature signature) extends Record
  • Constructor Details

    • DynamicViewDeployment

      public DynamicViewDeployment(String entityName, MetaClass metaClass, boolean dynamicEntity, DynamicViewType type, String viewId, @Nullable String route, String descriptorPath, String descriptorSource, Class<?> controllerClass, String controllerClassName, boolean primary, DynamicViewDefinition definition, @Nullable String title, @Nullable String menuTitle, @Nullable Map<String,String> localizedTitle, @Nullable Map<String,String> localizedMenuTitle, DynamicViewDeployer.DynamicViewSignature signature)
      Creates an instance of a DynamicViewDeployment record class.
      Parameters:
      entityName - the value for the entityName record component
      metaClass - the value for the metaClass record component
      dynamicEntity - the value for the dynamicEntity record component
      type - the value for the type record component
      viewId - the value for the viewId record component
      route - the value for the route record component
      descriptorPath - the value for the descriptorPath record component
      descriptorSource - the value for the descriptorSource record component
      controllerClass - the value for the controllerClass record component
      controllerClassName - the value for the controllerClassName record component
      primary - the value for the primary record component
      definition - the value for the definition record component
      title - the value for the title record component
      menuTitle - the value for the menuTitle record component
      localizedTitle - the value for the localizedTitle record component
      localizedMenuTitle - the value for the localizedMenuTitle record component
      signature - the value for the signature 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.
    • entityName

      public String entityName()
      Returns the value of the entityName record component.
      Returns:
      the value of the entityName record component
    • metaClass

      public MetaClass metaClass()
      Returns the value of the metaClass record component.
      Returns:
      the value of the metaClass record component
    • dynamicEntity

      public boolean dynamicEntity()
      Returns the value of the dynamicEntity record component.
      Returns:
      the value of the dynamicEntity record component
    • type

      public DynamicViewType type()
      Returns the value of the type record component.
      Returns:
      the value of the type record component
    • viewId

      public String viewId()
      Returns the value of the viewId record component.
      Returns:
      the value of the viewId record component
    • route

      public @Nullable String route()
      Returns the value of the route record component.
      Returns:
      the value of the route record component
    • descriptorPath

      public String descriptorPath()
      Returns the value of the descriptorPath record component.
      Returns:
      the value of the descriptorPath record component
    • descriptorSource

      public String descriptorSource()
      Returns the value of the descriptorSource record component.
      Returns:
      the value of the descriptorSource record component
    • controllerClass

      public Class<?> controllerClass()
      Returns the value of the controllerClass record component.
      Returns:
      the value of the controllerClass record component
    • controllerClassName

      public String controllerClassName()
      Returns the value of the controllerClassName record component.
      Returns:
      the value of the controllerClassName record component
    • primary

      public boolean primary()
      Returns the value of the primary record component.
      Returns:
      the value of the primary record component
    • definition

      public DynamicViewDefinition definition()
      Returns the value of the definition record component.
      Returns:
      the value of the definition record component
    • title

      public @Nullable String title()
      Returns the value of the title record component.
      Returns:
      the value of the title record component
    • localizedTitle

      public @Nullable Map<String,String> localizedTitle()
      Returns the value of the localizedTitle record component.
      Returns:
      the value of the localizedTitle record component
    • localizedMenuTitle

      public @Nullable Map<String,String> localizedMenuTitle()
      Returns the value of the localizedMenuTitle record component.
      Returns:
      the value of the localizedMenuTitle record component
    • signature

      Returns the value of the signature record component.
      Returns:
      the value of the signature record component