Record Class CsdlComplexType
java.lang.Object
java.lang.Record
io.skipcheck.tm1.csdl.CsdlComplexType
- Record Components:
name- the type's name, unqualifiedbaseType- the qualified name of its base type, ornullisAbstract- whether it's abstractopenType- whether it's openproperties- its own structural properties- its own navigation propertiesannotations- its annotations
- All Implemented Interfaces:
CsdlStructuredType
public record CsdlComplexType(String name, @Nullable String baseType, boolean isAbstract, boolean openType, List<CsdlProperty> properties, List<CsdlNavigationProperty> navigationProperties, List<CsdlAnnotation> annotations)
extends Record
implements CsdlStructuredType
A complex type: a structured type without a key, such as
ProcessParameter.-
Constructor Summary
ConstructorsConstructorDescriptionCsdlComplexType(String name, @Nullable String baseType, boolean isAbstract, boolean openType, List<CsdlProperty> properties, List<CsdlNavigationProperty> navigationProperties, List<CsdlAnnotation> annotations) Validates and copies the components. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theannotationsrecord component.@Nullable StringbaseType()Returns the value of thebaseTyperecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theisAbstractrecord component.name()Returns the value of thenamerecord component.Returns the value of thenavigationPropertiesrecord component.booleanopenType()Returns the value of theopenTyperecord component.Returns the value of thepropertiesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CsdlComplexType
public CsdlComplexType(String name, @Nullable String baseType, boolean isAbstract, boolean openType, List<CsdlProperty> properties, List<CsdlNavigationProperty> navigationProperties, 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
Returns the value of thenamerecord component.- Specified by:
namein interfaceCsdlStructuredType- Returns:
- the value of the
namerecord component
-
baseType
Returns the value of thebaseTyperecord component.- Specified by:
baseTypein interfaceCsdlStructuredType- Returns:
- the value of the
baseTyperecord component
-
isAbstract
public boolean isAbstract()Returns the value of theisAbstractrecord component.- Specified by:
isAbstractin interfaceCsdlStructuredType- Returns:
- the value of the
isAbstractrecord component
-
openType
public boolean openType()Returns the value of theopenTyperecord component.- Specified by:
openTypein interfaceCsdlStructuredType- Returns:
- the value of the
openTyperecord component
-
properties
Returns the value of thepropertiesrecord component.- Specified by:
propertiesin interfaceCsdlStructuredType- Returns:
- the value of the
propertiesrecord component
-
annotations
Returns the value of theannotationsrecord component.- Specified by:
annotationsin interfaceCsdlStructuredType- Returns:
- the value of the
annotationsrecord component
-