Package ch.so.agi.gretl.lsp.metadata
Record Class PropertyMetadata
java.lang.Object
java.lang.Record
ch.so.agi.gretl.lsp.metadata.PropertyMetadata
public record PropertyMetadata(String name, String displayName, String kind, String valueType, String javaType, boolean required, boolean deprecated, String description, FileMetadata file, List<AcceptedForm> acceptedForms, MigrationMetadata migration, boolean sqlParameterProvider, CompletionMetadata completion)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyMetadata(String name, String displayName, String kind, String valueType, String javaType, boolean required, boolean deprecated, String description, FileMetadata file, List<AcceptedForm> acceptedForms, MigrationMetadata migration, boolean sqlParameterProvider, CompletionMetadata completion) Creates an instance of aPropertyMetadatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theacceptedFormsrecord component.Returns the value of thecompletionrecord component.booleanReturns the value of thedeprecatedrecord component.Returns the value of thedescriptionrecord component.Returns the value of thedisplayNamerecord component.final booleanIndicates whether some other object is "equal to" this one.file()Returns the value of thefilerecord component.final inthashCode()Returns a hash code value for this object.javaType()Returns the value of thejavaTyperecord component.kind()Returns the value of thekindrecord component.Returns the value of themigrationrecord component.name()Returns the value of thenamerecord component.booleanrequired()Returns the value of therequiredrecord component.booleanReturns the value of thesqlParameterProviderrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thevalueTyperecord component.
-
Constructor Details
-
PropertyMetadata
public PropertyMetadata(String name, String displayName, String kind, String valueType, String javaType, boolean required, boolean deprecated, String description, FileMetadata file, List<AcceptedForm> acceptedForms, MigrationMetadata migration, boolean sqlParameterProvider, CompletionMetadata completion) Creates an instance of aPropertyMetadatarecord class.- Parameters:
name- the value for thenamerecord componentdisplayName- the value for thedisplayNamerecord componentkind- the value for thekindrecord componentvalueType- the value for thevalueTyperecord componentjavaType- the value for thejavaTyperecord componentrequired- the value for therequiredrecord componentdeprecated- the value for thedeprecatedrecord componentdescription- the value for thedescriptionrecord componentfile- the value for thefilerecord componentacceptedForms- the value for theacceptedFormsrecord componentmigration- the value for themigrationrecord componentsqlParameterProvider- the value for thesqlParameterProviderrecord componentcompletion- the value for thecompletionrecord 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 '=='. -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
displayName
Returns the value of thedisplayNamerecord component.- Returns:
- the value of the
displayNamerecord component
-
kind
Returns the value of thekindrecord component.- Returns:
- the value of the
kindrecord component
-
valueType
Returns the value of thevalueTyperecord component.- Returns:
- the value of the
valueTyperecord component
-
javaType
Returns the value of thejavaTyperecord component.- Returns:
- the value of the
javaTyperecord component
-
required
public boolean required()Returns the value of therequiredrecord component.- Returns:
- the value of the
requiredrecord component
-
deprecated
public boolean deprecated()Returns the value of thedeprecatedrecord component.- Returns:
- the value of the
deprecatedrecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
file
Returns the value of thefilerecord component.- Returns:
- the value of the
filerecord component
-
acceptedForms
Returns the value of theacceptedFormsrecord component.- Returns:
- the value of the
acceptedFormsrecord component
-
migration
Returns the value of themigrationrecord component.- Returns:
- the value of the
migrationrecord component
-
sqlParameterProvider
public boolean sqlParameterProvider()Returns the value of thesqlParameterProviderrecord component.- Returns:
- the value of the
sqlParameterProviderrecord component
-
completion
Returns the value of thecompletionrecord component.- Returns:
- the value of the
completionrecord component
-