public interface EdmStructuredType extends EdmType, EdmAnnotatable
| Modifier and Type | Method and Description |
|---|---|
boolean |
compatibleTo(EdmType targetType)
Checks if this type is convertible to parameter
targetType |
EdmStructuredType |
getBaseType()
Base types are described in the OData protocol specification.
|
EdmNavigationProperty |
getNavigationProperty(String name)
Get navigation property by name.
|
List<String> |
getNavigationPropertyNames()
Get all navigation property names.
|
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, getNamespacegetAnnotation, getAnnotationsEdmElement getProperty(String name)
name - name of propertyEdmTypedList<String> getPropertyNames()
EdmProperty getStructuralProperty(String name)
name - name of structural propertyEdmTypedEdmNavigationProperty getNavigationProperty(String name)
name - name of navigation propertyEdmTypedList<String> getNavigationPropertyNames()
EdmStructuredType getBaseType()
EdmStructuredTypeboolean compatibleTo(EdmType targetType)
targetTypetargetType - target type for which compatibility is checkedboolean isOpenType()
true if the structured type is openboolean isAbstract()
true if the structured type is abstractCopyright © 2013–2023 The Apache Software Foundation. All rights reserved.