public interface CdsEnumType<T> extends CdsSimpleType
Modifier and Type | Interface and Description |
---|---|
static interface |
CdsEnumType.Value<T> |
Modifier and Type | Method and Description |
---|---|
default void |
accept(CdsVisitor visitor)
Accepts a
CdsVisitor visiting the elements of this definition
(depth-first) |
Map<String,CdsEnumType.Value<T>> |
getValues()
Returns the values of this
CdsEnumType . |
default boolean |
isEnum()
Returns
true if this is an enum type. |
defaultValue, get, getJavaType, getQualifiedName, getType, isSimple
as, isArrayed, isAssociation, isStructured
byNamespace, getName, getQualifier
annotations, byAnnotation, findAnnotation
Map<String,CdsEnumType.Value<T>> getValues()
CdsEnumType
.null
CdsEnumType.Value
default boolean isEnum()
CdsType
true
if this is an enum type.default void accept(CdsVisitor visitor)
CdsDefinition
CdsVisitor
visiting the elements of this definition
(depth-first)accept
in interface CdsDefinition
accept
in interface CdsSimpleType
visitor
- the CdsVisitor
Copyright © 2019 SAP. All rights reserved.