Record Class CsdlEntityContainer
java.lang.Object
java.lang.Record
io.skipcheck.tm1.csdl.CsdlEntityContainer
- Record Components:
name- the container's nameentitySets- its entity sets, such asCubessingletons- its singletons, such asServeractionImports- its action imports, such asExecuteMDXfunctionImports- its function imports, such asTailMessageLogannotations- its annotations, including the service'sCapabilities
public record CsdlEntityContainer(String name, List<CsdlEntityContainer.EntitySet> entitySets, List<CsdlEntityContainer.Singleton> singletons, List<CsdlEntityContainer.ActionImport> actionImports, List<CsdlEntityContainer.FunctionImport> functionImports, List<CsdlAnnotation> annotations)
extends Record
The entity container: the service's top-level resources, addressed from the service
root.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordAn unbound action, addressable from the service root.static final recordAn entity set.static final recordAn unbound function, addressable from the service root.static final recordA singleton: a single entity addressed by name. -
Constructor Summary
ConstructorsConstructorDescriptionCsdlEntityContainer(String name, List<CsdlEntityContainer.EntitySet> entitySets, List<CsdlEntityContainer.Singleton> singletons, List<CsdlEntityContainer.ActionImport> actionImports, List<CsdlEntityContainer.FunctionImport> functionImports, List<CsdlAnnotation> annotations) Validates and copies the components. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theactionImportsrecord component.Returns the value of theannotationsrecord component.Returns the value of theentitySetsrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefunctionImportsrecord component.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.Returns the value of thesingletonsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CsdlEntityContainer
public CsdlEntityContainer(String name, List<CsdlEntityContainer.EntitySet> entitySets, List<CsdlEntityContainer.Singleton> singletons, List<CsdlEntityContainer.ActionImport> actionImports, List<CsdlEntityContainer.FunctionImport> functionImports, 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. All components in this record class are compared withObjects::equals(Object,Object). -
name
-
entitySets
Returns the value of theentitySetsrecord component.- Returns:
- the value of the
entitySetsrecord component
-
singletons
Returns the value of thesingletonsrecord component.- Returns:
- the value of the
singletonsrecord component
-
actionImports
Returns the value of theactionImportsrecord component.- Returns:
- the value of the
actionImportsrecord component
-
functionImports
Returns the value of thefunctionImportsrecord component.- Returns:
- the value of the
functionImportsrecord component
-
annotations
Returns the value of theannotationsrecord component.- Returns:
- the value of the
annotationsrecord component
-