public enum CdsAnnotations extends Enum<CdsAnnotations>
Modifier and Type | Method and Description |
---|---|
<T> List<T> |
getListOrDefault(com.sap.cds.reflect.CdsAnnotatable cdsModelElement) |
<T> List<T> |
getListOrValue(com.sap.cds.reflect.CdsAnnotatable cdsModelElement,
T value) |
<T> T |
getOrDefault(com.sap.cds.reflect.CdsAnnotatable cdsModelElement) |
<T> T |
getOrValue(com.sap.cds.reflect.CdsAnnotatable cdsModelElement,
T value) |
boolean |
isTrue(com.sap.cds.reflect.CdsAnnotatable cdsModelElement) |
static CdsAnnotations |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CdsAnnotations[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CdsAnnotations RESTRICT
public static final CdsAnnotations REQUIRES
public static final CdsAnnotations READONLY
public static final CdsAnnotations INSERTONLY
public static final CdsAnnotations INSERTABLE
public static final CdsAnnotations UPDATABLE
public static final CdsAnnotations DELETABLE
public static final CdsAnnotations READABLE
public static final CdsAnnotations AUTOEXPOSED
public static final CdsAnnotations AUTOEXPOSE
public static final CdsAnnotations ON_INSERT
public static final CdsAnnotations ON_UPDATE
public static final CdsAnnotations MANDATORY
public static final CdsAnnotations FIELD_CONTROL_READONLY
public static final CdsAnnotations COMMON_FIELDCONTROL
public static final CdsAnnotations ASSERT_RANGE
public static final CdsAnnotations ASSERT_FORMAT
public static final CdsAnnotations ASSERT_NOTNULL
public static final CdsAnnotations ASSERT_TARGET
public static final CdsAnnotations QUERY_LIMIT_DEFAULT
public static final CdsAnnotations QUERY_LIMIT_MAX
public static final CdsAnnotations DEFAULT_ORDER
public static final CdsAnnotations CORE_COMPUTED
public static final CdsAnnotations CORE_IMMUTABLE
public static final CdsAnnotations CORE_MEDIA_TYPE
public static final CdsAnnotations CORE_CONTENT_DISPOSITION_FILENAME
public static final CdsAnnotations SINGLETON
public static final CdsAnnotations DRAFT_ANNOTATION
public static final CdsAnnotations DRAFT_PREPARE_ANNOTATION
public static final CdsAnnotations ODATA_FOREIGN_KEY_FOR
public static final CdsAnnotations PATH
public static final CdsAnnotations PROTOCOLS
public static final CdsAnnotations ENDPOINTS
public static final CdsAnnotations IGNORE
public static final CdsAnnotations SERVE_IGNORE
public static final CdsAnnotations TOPIC
public static final CdsAnnotations KAFKA_TOPIC
public static final CdsAnnotations ETAG
public static final CdsAnnotations AGGREGATION_DEFAULT
public static final CdsAnnotations SEMANTICS_CURRENCY_CODE
public static final CdsAnnotations SEMANTICS_UNIT_OF_MEASURE
public static final CdsAnnotations PERSONALDATA_ENTITYSEMANTICS
public static final CdsAnnotations PERSONALDATA_DATASUBJECTROLE
public static final CdsAnnotations PERSONALDATA_FIELDSEMANTICS
public static final CdsAnnotations PERSONALDATA_POTENTIALLYPERSONAL
public static final CdsAnnotations PERSONALDATA_POTENTIALLYSENSITIVE
public static final CdsAnnotations AUDITLOG_OPERATION_READ
public static final CdsAnnotations AUDITLOG_OPERATION_INSERT
public static final CdsAnnotations AUDITLOG_OPERATION_UPDATE
public static final CdsAnnotations AUDITLOG_OPERATION_DELETE
public static final CdsAnnotations CASCADE_DELETE
public static final CdsAnnotations INTERNAL_OPERATION_TYPE
public static CdsAnnotations[] values()
for (CdsAnnotations c : CdsAnnotations.values()) System.out.println(c);
public static CdsAnnotations valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic <T> T getOrDefault(com.sap.cds.reflect.CdsAnnotatable cdsModelElement)
public boolean isTrue(com.sap.cds.reflect.CdsAnnotatable cdsModelElement)
public <T> List<T> getListOrDefault(com.sap.cds.reflect.CdsAnnotatable cdsModelElement)
public <T> List<T> getListOrValue(com.sap.cds.reflect.CdsAnnotatable cdsModelElement, T value)
public <T> T getOrValue(com.sap.cds.reflect.CdsAnnotatable cdsModelElement, T value)
Copyright © 2023. All rights reserved.