Record Class ActionCatalogItem

java.lang.Object
java.lang.Record
org.praxisplatform.uischema.action.ActionCatalogItem

public record ActionCatalogItem(String id, String resourceKey, ActionScope scope, String title, String description, String operationId, String path, String method, String requestSchemaId, String requestSchemaUrl, String responseSchemaId, String responseSchemaUrl, AvailabilityDecision availability, int order, String successMessage, List<String> tags) extends Record
Action pronta para consumo por clientes documentais e runtimes UI.
  • Constructor Details

    • ActionCatalogItem

      public ActionCatalogItem(String id, String resourceKey, ActionScope scope, String title, String description, String operationId, String path, String method, String requestSchemaId, String requestSchemaUrl, String responseSchemaId, String responseSchemaUrl, AvailabilityDecision availability, int order, String successMessage, List<String> tags)
      Creates an instance of a ActionCatalogItem record class.
      Parameters:
      id - the value for the id record component
      resourceKey - the value for the resourceKey record component
      scope - the value for the scope record component
      title - the value for the title record component
      description - the value for the description record component
      operationId - the value for the operationId record component
      path - the value for the path record component
      method - the value for the method record component
      requestSchemaId - the value for the requestSchemaId record component
      requestSchemaUrl - the value for the requestSchemaUrl record component
      responseSchemaId - the value for the responseSchemaId record component
      responseSchemaUrl - the value for the responseSchemaUrl record component
      availability - the value for the availability record component
      order - the value for the order record component
      successMessage - the value for the successMessage record component
      tags - the value for the tags 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.
    • id

      public String id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component
    • resourceKey

      public String resourceKey()
      Returns the value of the resourceKey record component.
      Returns:
      the value of the resourceKey record component
    • scope

      public ActionScope scope()
      Returns the value of the scope record component.
      Returns:
      the value of the scope record component
    • title

      public String title()
      Returns the value of the title record component.
      Returns:
      the value of the title record component
    • description

      public String description()
      Returns the value of the description record component.
      Returns:
      the value of the description record component
    • operationId

      public String operationId()
      Returns the value of the operationId record component.
      Returns:
      the value of the operationId record component
    • path

      public String path()
      Returns the value of the path record component.
      Returns:
      the value of the path record component
    • method

      public String method()
      Returns the value of the method record component.
      Returns:
      the value of the method record component
    • requestSchemaId

      public String requestSchemaId()
      Returns the value of the requestSchemaId record component.
      Returns:
      the value of the requestSchemaId record component
    • requestSchemaUrl

      public String requestSchemaUrl()
      Returns the value of the requestSchemaUrl record component.
      Returns:
      the value of the requestSchemaUrl record component
    • responseSchemaId

      public String responseSchemaId()
      Returns the value of the responseSchemaId record component.
      Returns:
      the value of the responseSchemaId record component
    • responseSchemaUrl

      public String responseSchemaUrl()
      Returns the value of the responseSchemaUrl record component.
      Returns:
      the value of the responseSchemaUrl record component
    • availability

      public AvailabilityDecision availability()
      Returns the value of the availability record component.
      Returns:
      the value of the availability record component
    • order

      public int order()
      Returns the value of the order record component.
      Returns:
      the value of the order record component
    • successMessage

      public String successMessage()
      Returns the value of the successMessage record component.
      Returns:
      the value of the successMessage record component
    • tags

      public List<String> tags()
      Returns the value of the tags record component.
      Returns:
      the value of the tags record component