public abstract class AbstractEdmStructuredType extends EdmTypeImpl implements EdmStructuredType
| Modifier and Type | Field and Description |
|---|---|
protected EdmStructuredType |
baseType |
protected FullQualifiedName |
baseTypeName |
kind, typeNameedm| Constructor and Description |
|---|
AbstractEdmStructuredType(Edm edm,
FullQualifiedName typeName,
EdmTypeKind kind,
CsdlStructuralType structuredType) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract EdmStructuredType |
buildBaseType(FullQualifiedName baseTypeName) |
protected abstract void |
checkBaseType() |
boolean |
compatibleTo(EdmType targetType)
Checks if this type is convertible to parameter
targetType |
Map<String,EdmNavigationProperty> |
getNavigationProperties() |
EdmNavigationProperty |
getNavigationProperty(String name)
Get navigation property by name.
|
List<String> |
getNavigationPropertyNames()
Get all navigation property names.
|
Map<String,EdmProperty> |
getProperties() |
EdmElement |
getProperty(String name)
Get property by name
|
List<String> |
getPropertyNames()
Get all simple and complex property names.
|
EdmProperty |
getStructuralProperty(String name)
Get structural property by name.
|
boolean |
isAbstract()
Indicates if the structured type is abstract.
|
boolean |
isOpenType()
Indicates if the structured type is an open type.
|
getFullQualifiedName, getKind, getNamespacegetName, toStringgetAnnotation, getAnnotationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBaseTypegetFullQualifiedName, getKind, getNamespacegetAnnotation, getAnnotationsprotected EdmStructuredType baseType
protected FullQualifiedName baseTypeName
public AbstractEdmStructuredType(Edm edm, FullQualifiedName typeName, EdmTypeKind kind, CsdlStructuralType structuredType)
protected abstract EdmStructuredType buildBaseType(FullQualifiedName baseTypeName)
protected abstract void checkBaseType()
public List<String> getPropertyNames()
EdmStructuredTypegetPropertyNames in interface EdmStructuredTypepublic List<String> getNavigationPropertyNames()
EdmStructuredTypegetNavigationPropertyNames in interface EdmStructuredTypepublic EdmElement getProperty(String name)
EdmStructuredTypegetProperty in interface EdmStructuredTypename - name of propertyEdmTypedpublic EdmProperty getStructuralProperty(String name)
EdmStructuredTypegetStructuralProperty in interface EdmStructuredTypename - name of structural propertyEdmTypedpublic EdmNavigationProperty getNavigationProperty(String name)
EdmStructuredTypegetNavigationProperty in interface EdmStructuredTypename - name of navigation propertyEdmTypedpublic boolean compatibleTo(EdmType targetType)
EdmStructuredTypetargetTypecompatibleTo in interface EdmStructuredTypetargetType - target type for which compatibility is checkedpublic Map<String,EdmProperty> getProperties()
public Map<String,EdmNavigationProperty> getNavigationProperties()
public boolean isOpenType()
EdmStructuredTypeisOpenType in interface EdmStructuredTypetrue if the structured type is openpublic boolean isAbstract()
EdmStructuredTypeisAbstract in interface EdmStructuredTypetrue if the structured type is abstractCopyright © 2023. All rights reserved.