public interface CdsElement extends CdsAnnotatable
Modifier and Type | Method and Description |
---|---|
default void |
accept(CdsVisitor visitor)
Accepts a
CdsVisitor visiting this type. |
<T extends CdsDefinition> |
getDeclaringType()
Returns the declaring type of this
CdsElement . |
String |
getName()
Returns the name of this
CdsElement . |
default String |
getQualifiedName()
Returns the fully qualified name of this element.
|
<T extends CdsType> |
getType()
Returns the type of this
CdsElement . |
boolean |
isKey()
Returns
true if this CdsElement is a key. |
boolean |
isLocalized()
Returns
true if this CdsElement is localized. |
boolean |
isNotNull()
Returns
true if this CdsElement cannot be null . |
boolean |
isUnique()
Returns
true if this CdsElement is unique. |
boolean |
isVirtual()
Returns
true if this CdsElement is virtual. |
annotations, byAnnotation, findAnnotation, getAnnotationValue
String getName()
CdsElement
.null
default String getQualifiedName()
<T extends CdsType> T getType()
CdsElement
.T
- the CdsType
of this elementnull
<T extends CdsDefinition> T getDeclaringType()
CdsElement
.T
- the type of the declaring typenull
boolean isKey()
true
if this CdsElement
is a key.true
if this element is a key, otherwise false
boolean isVirtual()
true
if this CdsElement
is virtual.true
if this is a virtual element, otherwise false
boolean isUnique()
true
if this CdsElement
is unique.true
if this is a unique element, otherwise false
boolean isNotNull()
true
if this CdsElement
cannot be null
.true
if this element cannot be null
, otherwise
false
boolean isLocalized()
true
if this CdsElement
is localized.true
if this element is localized, otherwise false
default void accept(CdsVisitor visitor)
CdsVisitor
visiting this type.visitor
- the CdsVisitor
Copyright © 2021 SAP. All rights reserved.