Record Class SurfaceDefinition
java.lang.Object
java.lang.Record
org.praxisplatform.uischema.surface.SurfaceDefinition
public record SurfaceDefinition(String id, String resourceKey, String resourcePath, String group, SurfaceKind kind, SurfaceScope scope, String title, String description, String intent, String schemaType, CanonicalOperationRef operation, CanonicalSchemaRef schema, int order, List<String> requiredAuthorities, List<String> allowedStates, List<String> tags)
extends Record
Definicao estavel de uma surface descoberta a partir de operacoes reais do recurso.
-
Constructor Summary
ConstructorsConstructorDescriptionSurfaceDefinition(String id, String resourceKey, String resourcePath, String group, SurfaceKind kind, SurfaceScope scope, String title, String description, String intent, String schemaType, CanonicalOperationRef operation, CanonicalSchemaRef schema, int order, List<String> requiredAuthorities, List<String> allowedStates, List<String> tags) Creates an instance of aSurfaceDefinitionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theallowedStatesrecord component.Returns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.group()Returns the value of thegrouprecord component.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.Returns the value of theoperationrecord component.intorder()Returns the value of theorderrecord component.Returns the value of therequiredAuthoritiesrecord component.Returns the value of theresourceKeyrecord component.Returns the value of theresourcePathrecord component.schema()Returns the value of theschemarecord component.Returns the value of theschemaTyperecord 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
-
SurfaceDefinition
public SurfaceDefinition(String id, String resourceKey, String resourcePath, String group, SurfaceKind kind, SurfaceScope scope, String title, String description, String intent, String schemaType, CanonicalOperationRef operation, CanonicalSchemaRef schema, int order, List<String> requiredAuthorities, List<String> allowedStates, List<String> tags) Creates an instance of aSurfaceDefinitionrecord class.- Parameters:
id- the value for theidrecord componentresourceKey- the value for theresourceKeyrecord componentresourcePath- the value for theresourcePathrecord componentgroup- the value for thegrouprecord 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 componentschemaType- the value for theschemaTyperecord componentoperation- the value for theoperationrecord componentschema- the value for theschemarecord componentorder- the value for theorderrecord componentrequiredAuthorities- the value for therequiredAuthoritiesrecord componentallowedStates- the value for theallowedStatesrecord 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
-
resourcePath
Returns the value of theresourcePathrecord component.- Returns:
- the value of the
resourcePathrecord component
-
group
Returns the value of thegrouprecord component.- Returns:
- the value of the
grouprecord 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
-
schemaType
Returns the value of theschemaTyperecord component.- Returns:
- the value of the
schemaTyperecord component
-
operation
Returns the value of theoperationrecord component.- Returns:
- the value of the
operationrecord component
-
schema
Returns the value of theschemarecord component.- Returns:
- the value of the
schemarecord component
-
order
public int order()Returns the value of theorderrecord component.- Returns:
- the value of the
orderrecord component
-
requiredAuthorities
Returns the value of therequiredAuthoritiesrecord component.- Returns:
- the value of the
requiredAuthoritiesrecord component
-
allowedStates
Returns the value of theallowedStatesrecord component.- Returns:
- the value of the
allowedStatesrecord component
-
tags
Returns the value of thetagsrecord component.- Returns:
- the value of the
tagsrecord component
-