Interface CdsType

All Superinterfaces:
CdsAnnotatable, CdsDefinition, CdsNamed
All Known Subinterfaces:
CdsArrayedType, CdsAssociationType, CdsDecimal, CdsEntity, CdsEnumType<T>, CdsEvent, CdsSimpleType, CdsStringType, CdsStructuredType

public interface CdsType extends CdsDefinition
  • Method Details

    • isSimple

      default boolean isSimple()
      Returns true if this is a simple type.
      Returns:
      true if this is a simple type, otherwise false
    • isStructured

      default boolean isStructured()
      Returns true if this is a structured type.
      Returns:
      true if this is a structured type, otherwise false
    • isAssociation

      default boolean isAssociation()
      Returns true if this is an association type.
      Returns:
      true if this is an association type, otherwise false
    • isEnum

      default boolean isEnum()
      Returns true if this is an enum type.
      Returns:
      true if this is an enum type, otherwise false
    • isArrayed

      default boolean isArrayed()
      Returns true if this is an arrayed type.
      Returns:
      true if this is an arrayed type, otherwise false
    • isSimpleType

      default boolean isSimpleType(CdsBaseType baseType)
      Returns true if this is a simple type with a given base type.
      Parameters:
      baseType - the base type
      Returns:
      true if this is a simple type with a given base type, otherwise false
    • isSymbolicType

      default boolean isSymbolicType()
      Returns true if this is a symbolic type with special meaning e.g. reference to something else or a $self.
      Returns:
      true if this is a symbolic type, otherwise false