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. |
<T extends CdsType> |
getType()
Returns the type of this
CdsElement. |
boolean |
isKey()
Returns
true if this CdsElement is a key. |
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, findAnnotationString getName()
CdsElement.null<T extends CdsType> T getType()
CdsElement.T - the CdsType of this elementnull<T extends CdsDefinition> T getDeclaringType()
CdsElement.T - the type of the declaring typenullboolean isKey()
true if this CdsElement is a key.true if this element is a key, otherwise falseboolean isVirtual()
true if this CdsElement is virtual.true if this is a virtual element, otherwise falseboolean isUnique()
true if this CdsElement is unique.true if this is a unique element, otherwise falseboolean isNotNull()
true if this CdsElement cannot be null.true if this element cannot be null, otherwise
falsedefault void accept(CdsVisitor visitor)
CdsVisitor visiting this type.visitor - the CdsVisitorCopyright © 2020 SAP. All rights reserved.