Record Class CsdlParameter
java.lang.Object
java.lang.Record
io.skipcheck.tm1.csdl.CsdlParameter
- Record Components:
name- the parameter's nametype- its typenullable- whether it may be null (default true)annotations- its annotations, e.g.Core.OptionalParameter
public record CsdlParameter(String name, CsdlTypeRef type, boolean nullable, List<CsdlAnnotation> annotations)
extends Record
A parameter of an action or function.
-
Constructor Summary
ConstructorsConstructorDescriptionCsdlParameter(String name, CsdlTypeRef type, boolean nullable, List<CsdlAnnotation> annotations) Validates and copies the components. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theannotationsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.booleannullable()Returns the value of thenullablerecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
CsdlParameter
public CsdlParameter(String name, CsdlTypeRef type, boolean nullable, List<CsdlAnnotation> annotations) Validates and copies the components.
-
-
Method Details
-
toString
-
hashCode
-
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 thecomparemethod from their corresponding wrapper classes. -
name
-
type
-
nullable
-
annotations
Returns the value of theannotationsrecord component.- Returns:
- the value of the
annotationsrecord component
-