Package com.sap.cds.reflect
Interface CdsElement
- All Superinterfaces:
CdsAnnotatable
,CdsElementDefinition
,CdsNamed
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
accept
(CdsVisitor visitor) Accepts aCdsVisitor
visiting this type.<T extends CdsDefinition>
TReturns the declaring type of thisCdsElement
.default String
Returns the fully qualified name of this element.Methods inherited from interface com.sap.cds.reflect.CdsAnnotatable
annotations, findAnnotation, getAnnotationValue, getDoc
Methods inherited from interface com.sap.cds.reflect.CdsElementDefinition
defaultValue, getExpression, getKey, getName, getType, isCalculated, isKey, isLocalized, isNotNull, isUnique, isVirtual
-
Method Details
-
getQualifiedName
Returns the fully qualified name of this element.- Returns:
- the fully qualified name
-
getDeclaringType
Returns the declaring type of thisCdsElement
.- Type Parameters:
T
- the type of the declaring type- Returns:
- the declaring type of this element, not
null
-
accept
Accepts aCdsVisitor
visiting this type.- Parameters:
visitor
- theCdsVisitor
-