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 Summary
ConstructorsConstructorDescriptionSurfaceCatalogItem(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 aSurfaceCatalogItemrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theavailabilityrecord component.Returns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.intent()Returns the value of theintentrecord component.kind()Returns the value of thekindrecord component.method()Returns the value of themethodrecord component.Returns the value of theoperationIdrecord component.intorder()Returns the value of theorderrecord component.path()Returns the value of thepathrecord component.Returns the value of theresourceKeyrecord component.schemaId()Returns the value of theschemaIdrecord component.Returns the value of theschemaUrlrecord component.scope()Returns the value of thescoperecord component.tags()Returns the value of thetagsrecord component.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.
-
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 aSurfaceCatalogItemrecord class.- Parameters:
id- the value for theidrecord componentresourceKey- the value for theresourceKeyrecord componentkind- the value for thekindrecord componentscope- the value for thescoperecord componenttitle- the value for thetitlerecord componentdescription- the value for thedescriptionrecord componentintent- the value for theintentrecord componentoperationId- the value for theoperationIdrecord componentpath- the value for thepathrecord componentmethod- the value for themethodrecord componentschemaId- the value for theschemaIdrecord componentschemaUrl- the value for theschemaUrlrecord componentavailability- the value for theavailabilityrecord componentorder- the value for theorderrecord componenttags- the value for thetagsrecord 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 '=='. -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
resourceKey
Returns the value of theresourceKeyrecord component.- Returns:
- the value of the
resourceKeyrecord component
-
kind
Returns the value of thekindrecord component.- Returns:
- the value of the
kindrecord component
-
scope
Returns the value of thescoperecord component.- Returns:
- the value of the
scoperecord component
-
title
Returns the value of thetitlerecord component.- Returns:
- the value of the
titlerecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
intent
Returns the value of theintentrecord component.- Returns:
- the value of the
intentrecord component
-
operationId
Returns the value of theoperationIdrecord component.- Returns:
- the value of the
operationIdrecord component
-
path
Returns the value of thepathrecord component.- Returns:
- the value of the
pathrecord component
-
method
Returns the value of themethodrecord component.- Returns:
- the value of the
methodrecord component
-
schemaId
Returns the value of theschemaIdrecord component.- Returns:
- the value of the
schemaIdrecord component
-
schemaUrl
Returns the value of theschemaUrlrecord component.- Returns:
- the value of the
schemaUrlrecord component
-
availability
Returns the value of theavailabilityrecord component.- Returns:
- the value of the
availabilityrecord component
-
order
public int order()Returns the value of theorderrecord component.- Returns:
- the value of the
orderrecord component
-
tags
Returns the value of thetagsrecord component.- Returns:
- the value of the
tagsrecord component
-