Class EdmStructuralTypeImplProv
java.lang.Object
org.apache.olingo.odata2.core.edm.provider.EdmNamedImplProv
org.apache.olingo.odata2.core.edm.provider.EdmStructuralTypeImplProv
- All Implemented Interfaces:
EdmAnnotatable,EdmMappable,EdmNamed,EdmStructuralType,EdmType
- Direct Known Subclasses:
EdmComplexTypeImplProv,EdmEntityTypeImplProv
public abstract class EdmStructuralTypeImplProv
extends EdmNamedImplProv
implements EdmStructuralType, EdmAnnotatable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected EdmStructuralTypeprotected Stringprotected ComplexTypeFields inherited from class org.apache.olingo.odata2.core.edm.provider.EdmNamedImplProv
edm -
Constructor Summary
ConstructorsConstructorDescriptionEdmStructuralTypeImplProv(EdmImplProv edm, ComplexType structuralType, EdmTypeKind edmTypeKind, String namespace) -
Method Summary
Modifier and TypeMethodDescriptionprotected EdmTypedcreateProperty(Property property) Get all annotations applied to an EDM elementBase types are described in the OData protocol specification.getKind()Get mapping information applied to an EDM elementNamespace of thisEdmTypegetProperty(String name) Get property by nameprotected EdmTypedgetPropertyInternal(String name) Get all property namestoString()Methods inherited from class org.apache.olingo.odata2.core.edm.provider.EdmNamedImplProv
getName
-
Field Details
-
edmBaseType
-
structuralType
-
namespace
-
edmProperties
-
-
Constructor Details
-
EdmStructuralTypeImplProv
public EdmStructuralTypeImplProv(EdmImplProv edm, ComplexType structuralType, EdmTypeKind edmTypeKind, String namespace) throws EdmException - Throws:
EdmException
-
-
Method Details
-
getNamespace
Description copied from interface:EdmTypeNamespace of thisEdmType- Specified by:
getNamespacein interfaceEdmType- Returns:
- namespace as String
- Throws:
EdmException
-
getProperty
Description copied from interface:EdmStructuralTypeGet property by name- Specified by:
getPropertyin interfaceEdmStructuralType- Returns:
- simple or complex property as
EdmTyped - Throws:
EdmException
-
getPropertyNames
Description copied from interface:EdmStructuralTypeGet all property names- Specified by:
getPropertyNamesin interfaceEdmStructuralType- Returns:
- property names as type List
- Throws:
EdmException
-
getBaseType
Description copied from interface:EdmStructuralTypeBase types are described in the OData protocol specification.- Specified by:
getBaseTypein interfaceEdmStructuralType- Returns:
EdmStructuralType- Throws:
EdmException
-
getKind
- Specified by:
getKindin interfaceEdmType- Returns:
EdmTypeKindof thisEdmType
-
getMapping
Description copied from interface:EdmMappableGet mapping information applied to an EDM element- Specified by:
getMappingin interfaceEdmMappable- Returns:
EdmMapping- Throws:
EdmException
-
getPropertyInternal
- Throws:
EdmException
-
createProperty
- Throws:
EdmException
-
toString
-
getAnnotations
Description copied from interface:EdmAnnotatableGet all annotations applied to an EDM element- Specified by:
getAnnotationsin interfaceEdmAnnotatable- Returns:
EdmAnnotationsnever null- Throws:
EdmException
-