Package org.apache.olingo.odata2.api.edm
Interface EdmStructuralType
-
- All Superinterfaces:
EdmAnnotatable,EdmMappable,EdmNamed,EdmType
- All Known Subinterfaces:
EdmComplexType,EdmEntityType
public interface EdmStructuralType extends EdmMappable, EdmType, EdmAnnotatable
@org.apache.olingo.odata2.DoNotImplement EdmStructuralType is the base for a complex type or an entity type.Complex types and entity types are described in the Conceptual Schema Definition of the OData protocol.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EdmStructuralTypegetBaseType()Base types are described in the OData protocol specification.EdmTypedgetProperty(String name)Get property by nameList<String>getPropertyNames()Get all property names-
Methods inherited from interface org.apache.olingo.odata2.api.edm.EdmAnnotatable
getAnnotations
-
Methods inherited from interface org.apache.olingo.odata2.api.edm.EdmMappable
getMapping
-
Methods inherited from interface org.apache.olingo.odata2.api.edm.EdmType
getKind, getNamespace
-
-
-
-
Method Detail
-
getProperty
EdmTyped getProperty(String name) throws EdmException
Get property by name- Parameters:
name- Nome- Returns:
- simple or complex property as
EdmTyped - Throws:
EdmException- Caso ocorra uma exceção EDM
-
getPropertyNames
List<String> getPropertyNames() throws EdmException
Get all property names- Returns:
- property names as type List<String>
- Throws:
EdmException- Caso ocorra uma exceção EDM
-
getBaseType
EdmStructuralType getBaseType() throws EdmException
Base types are described in the OData protocol specification.- Returns:
EdmStructuralType- Throws:
EdmException- Caso ocorra uma exceção EDM
-
-