public interface CdsType extends CdsDefinition
Modifier and Type | Method and Description |
---|---|
default boolean |
isArrayed()
Returns
true if this is an arrayed type. |
default boolean |
isAssociation()
Returns
true if this is an association type. |
default boolean |
isEnum()
Returns
true if this is an enum type. |
default boolean |
isSimple()
Returns
true if this is a simple type. |
default boolean |
isSimpleType(CdsBaseType baseType)
Returns
true if this is a simple type with a given base type. |
default boolean |
isStructured()
Returns
true if this is a structured type. |
default boolean |
isSymbolicType()
Returns
true if this is a symbolic type with special meaning e.g. |
accept, as, byNamespace, getKey, getKind, getName, getQualifiedName, getQualifier
annotations, byAnnotation, findAnnotation, getAnnotationValue
default boolean isSimple()
true
if this is a simple type.true
if this is a simple type, otherwise false
default boolean isStructured()
true
if this is a structured type.true
if this is a structured type, otherwise false
default boolean isAssociation()
true
if this is an association type.true
if this is an association type, otherwise false
default boolean isEnum()
true
if this is an enum type.true
if this is an enum type, otherwise false
default boolean isArrayed()
true
if this is an arrayed type.true
if this is an arrayed type, otherwise false
default boolean isSimpleType(CdsBaseType baseType)
true
if this is a simple type with a given base type.baseType
- the base typetrue
if this is a simple type with a given base type,
otherwise false
default boolean isSymbolicType()
true
if this is a symbolic type with special meaning e.g. reference to something else or a $self.true
if this is a symbolic type,
otherwise false
Copyright © 2023 SAP. All rights reserved.