Interface CdsParameter

All Superinterfaces:
CdsAnnotatable

public interface CdsParameter extends CdsAnnotatable
  • Method Details

    • getName

      String getName()
      Returns the name of this CdsParameter.
      Returns:
      the name of this parameter, not null
    • getType

      CdsType getType()
      Returns the type of this CdsParameter.
      Returns:
      the type of this parameter, not null
    • getDefaultValue

      Optional<Object> getDefaultValue()
      Returns an Optional wrapping the default value of this CdsParameter.
      Returns:
      an Optional describing the default value of the CdsParameter, or an empty Optional if there is no default value
    • accept

      default void accept(CdsVisitor visitor)
      Accepts a CdsVisitor visiting this type.
      Parameters:
      visitor - the CdsVisitor
    • isNotNull

      boolean isNotNull()
      Returns true if this parameter cannot be null
      Returns:
      true if this parameter cannot be null, otherwise false