Interface CsdlStructuredType

All Known Implementing Classes:
CsdlComplexType, CsdlEntityType

public sealed interface CsdlStructuredType permits CsdlEntityType, CsdlComplexType
An entity type or a complex type: a named type with properties.
  • Method Details

    • name

      String name()
      The type's name, unqualified.
      Returns:
      the unqualified name
    • baseType

      String baseType()
      The qualified name of the type it derives from, as written, or null.
      Returns:
      the base type's qualified name, or null if it has none
    • isAbstract

      boolean isAbstract()
      Whether it's abstract.
      Returns:
      true if it's abstract
    • openType

      boolean openType()
      Whether it allows properties beyond those declared.
      Returns:
      true if it's an open type
    • properties

      List<CsdlProperty> properties()
      Its own structural properties, excluding inherited ones, in document order.
      Returns:
      the declared structural properties
    • annotations

      List<CsdlAnnotation> annotations()
      Its annotations, in document order.
      Returns:
      the annotations