Record Class CsdlEntityType
java.lang.Object
java.lang.Record
io.skipcheck.tm1.csdl.CsdlEntityType
- Record Components:
name- the type's name, unqualifiedbaseType- the qualified name of its base type, ornullisAbstract- whether it's abstractopenType- whether it's openhasStream- whether it's a media entitykey- the names of its key properties; empty for a derived type, which inherits its keyproperties- its own structural properties- its own navigation propertiesannotations- its annotations
- All Implemented Interfaces:
CsdlStructuredType
public record CsdlEntityType(String name, @Nullable String baseType, boolean isAbstract, boolean openType, boolean hasStream, List<String> key, List<CsdlProperty> properties, List<CsdlNavigationProperty> navigationProperties, List<CsdlAnnotation> annotations)
extends Record
implements CsdlStructuredType
An entity type: a structured type with a key, such as
Cube.-
Constructor Summary
ConstructorsConstructorDescriptionCsdlEntityType(String name, @Nullable String baseType, boolean isAbstract, boolean openType, boolean hasStream, List<String> key, 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 thehasStreamrecord component.booleanReturns the value of theisAbstractrecord component.key()Returns the value of thekeyrecord 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
-
CsdlEntityType
public CsdlEntityType(String name, @Nullable String baseType, boolean isAbstract, boolean openType, boolean hasStream, List<String> key, 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
-
hasStream
-
key
-
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
-