protected static class CdsSimpleTypeBuilder.CdsSimpleTypeImpl extends CdsDefinitionImpl implements CdsSimpleType
CdsAnnotatableImpl.CdsAnnotationImpl<T>
Modifier | Constructor and Description |
---|---|
protected |
CdsSimpleTypeImpl(Collection<CdsAnnotation<?>> annotations,
String qualifiedName,
CdsBaseType cdsType,
Map<String,Object> properties) |
Modifier and Type | Method and Description |
---|---|
Optional<Object> |
defaultValue() |
<T> T |
get(String property) |
Class<?> |
getJavaType() |
CdsKind |
getKind() |
CdsBaseType |
getType() |
boolean |
isSimpleType(CdsBaseType baseType) |
String |
toString() |
getQualifiedName
annotations, findAnnotation, removeAt
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
accept, getQualifiedName, isSimple
isArrayed, isAssociation, isEnum, isStructured
as, byNamespace, getName, getQualifier
annotations, byAnnotation, findAnnotation, getAnnotationValue
protected CdsSimpleTypeImpl(Collection<CdsAnnotation<?>> annotations, String qualifiedName, CdsBaseType cdsType, Map<String,Object> properties)
public CdsBaseType getType()
getType
in interface CdsSimpleType
public Class<?> getJavaType()
getJavaType
in interface CdsSimpleType
public Optional<Object> defaultValue()
defaultValue
in interface CdsSimpleType
public <T> T get(String property)
get
in interface CdsSimpleType
public String toString()
toString
in class CdsDefinitionImpl
public boolean isSimpleType(CdsBaseType baseType)
isSimpleType
in interface CdsType
public CdsKind getKind()
getKind
in interface CdsDefinition
Copyright © 2021 SAP. All rights reserved.