Record Class SurfaceCatalogItem

java.lang.Object
java.lang.Record
org.praxisplatform.uischema.surface.SurfaceCatalogItem

public record SurfaceCatalogItem(String id, String resourceKey, SurfaceKind kind, SurfaceScope scope, String title, String description, String intent, String operationId, String path, String method, String schemaId, String schemaUrl, AvailabilityDecision availability, int order, List<String> tags) extends Record
Surface pronta para consumo por clientes documentais e runtimes UI.
  • Constructor Details

    • SurfaceCatalogItem

      public SurfaceCatalogItem(String id, String resourceKey, SurfaceKind kind, SurfaceScope scope, String title, String description, String intent, String operationId, String path, String method, String schemaId, String schemaUrl, AvailabilityDecision availability, int order, List<String> tags)
      Creates an instance of a SurfaceCatalogItem record class.
      Parameters:
      id - the value for the id record component
      resourceKey - the value for the resourceKey record component
      kind - the value for the kind 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
      intent - the value for the intent 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
      schemaId - the value for the schemaId record component
      schemaUrl - the value for the schemaUrl record component
      availability - the value for the availability record component
      order - the value for the order 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
    • kind

      public SurfaceKind kind()
      Returns the value of the kind record component.
      Returns:
      the value of the kind record component
    • scope

      public SurfaceScope 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
    • intent

      public String intent()
      Returns the value of the intent record component.
      Returns:
      the value of the intent 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
    • schemaId

      public String schemaId()
      Returns the value of the schemaId record component.
      Returns:
      the value of the schemaId record component
    • schemaUrl

      public String schemaUrl()
      Returns the value of the schemaUrl record component.
      Returns:
      the value of the schemaUrl 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
    • tags

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