Package com.sap.cds.reflect
Interface CdsParameter
- All Superinterfaces:
CdsAnnotatable
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidaccept(CdsVisitor visitor) Accepts aCdsVisitorvisiting this type.Returns anOptionalwrapping the default value of thisCdsParameter.getName()Returns the name of thisCdsParameter.getType()Returns the type of thisCdsParameter.booleanReturns true if this parameter cannot be nullMethods inherited from interface com.sap.cds.reflect.CdsAnnotatable
annotations, findAnnotation, getAnnotationValue, getDoc
-
Method Details
-
getName
String getName()Returns the name of thisCdsParameter.- Returns:
- the name of this parameter, not
null
-
getType
CdsType getType()Returns the type of thisCdsParameter.- Returns:
- the type of this parameter, not
null
-
getDefaultValue
Returns anOptionalwrapping the default value of thisCdsParameter.- Returns:
- an
Optionaldescribing the default value of theCdsParameter, or an emptyOptionalif there is no default value
-
accept
Accepts aCdsVisitorvisiting this type.- Parameters:
visitor- theCdsVisitor
-
isNotNull
boolean isNotNull()Returns true if this parameter cannot be null- Returns:
- true if this parameter cannot be null, otherwise false
-