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, getNamespace
getAnnotation, getAnnotations
EdmElement getProperty(String name)
name
- name of propertyEdmTyped
List<String> getPropertyNames()
EdmProperty getStructuralProperty(String name)
name
- name of structural propertyEdmTyped
EdmNavigationProperty getNavigationProperty(String name)
name
- name of navigation propertyEdmTyped
List<String> getNavigationPropertyNames()
EdmStructuredType getBaseType()
EdmStructuredType
boolean compatibleTo(EdmType targetType)
targetType
targetType
- target type for which compatibility is checkedboolean isOpenType()
true
if the structured type is openboolean isAbstract()
true
if the structured type is abstractCopyright © 2013–2018 The Apache Software Foundation. All rights reserved.