public interface CdsType extends CdsDefinition
Modifier and Type | Method and Description |
---|---|
default <T extends CdsType> |
as(Class<T> type)
Casts this type to the given
type . |
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 |
isStructured()
Returns
true if this is a structured type. |
accept, byNamespace, getName, getQualifiedName, getQualifier
annotations, byAnnotation, findAnnotation
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
Copyright © 2019 SAP. All rights reserved.