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
Fields Modifier and Type Field Description protected EdmStructuralTypeedmBaseTypeprotected Map<String,EdmTyped>edmPropertiesprotected Stringnamespaceprotected ComplexTypestructuralType-
Fields inherited from class org.apache.olingo.odata2.core.edm.provider.EdmNamedImplProv
edm
-
-
Constructor Summary
Constructors Constructor Description EdmStructuralTypeImplProv(EdmImplProv edm, ComplexType structuralType, EdmTypeKind edmTypeKind, String namespace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected EdmTypedcreateProperty(Property property)EdmAnnotationsgetAnnotations()EdmStructuralTypegetBaseType()EdmTypeKindgetKind()EdmMappinggetMapping()StringgetNamespace()EdmTypedgetProperty(String name)protected EdmTypedgetPropertyInternal(String name)List<String>getPropertyNames()StringtoString()-
Methods inherited from class org.apache.olingo.odata2.core.edm.provider.EdmNamedImplProv
getName
-
-
-
-
Field Detail
-
edmBaseType
protected EdmStructuralType edmBaseType
-
structuralType
protected ComplexType structuralType
-
namespace
protected String namespace
-
-
Constructor Detail
-
EdmStructuralTypeImplProv
public EdmStructuralTypeImplProv(EdmImplProv edm, ComplexType structuralType, EdmTypeKind edmTypeKind, String namespace) throws EdmException
- Throws:
EdmException
-
-
Method Detail
-
getNamespace
public String getNamespace() throws EdmException
- Specified by:
getNamespacein interfaceEdmType- Throws:
EdmException
-
getProperty
public EdmTyped getProperty(String name) throws EdmException
- Specified by:
getPropertyin interfaceEdmStructuralType- Throws:
EdmException
-
getPropertyNames
public List<String> getPropertyNames() throws EdmException
- Specified by:
getPropertyNamesin interfaceEdmStructuralType- Throws:
EdmException
-
getBaseType
public EdmStructuralType getBaseType() throws EdmException
- Specified by:
getBaseTypein interfaceEdmStructuralType- Throws:
EdmException
-
getKind
public EdmTypeKind getKind()
-
getMapping
public EdmMapping getMapping() throws EdmException
- Specified by:
getMappingin interfaceEdmMappable- Throws:
EdmException
-
getPropertyInternal
protected EdmTyped getPropertyInternal(String name) throws EdmException
- Throws:
EdmException
-
createProperty
protected EdmTyped createProperty(Property property) throws EdmException
- Throws:
EdmException
-
getAnnotations
public EdmAnnotations getAnnotations() throws EdmException
- Specified by:
getAnnotationsin interfaceEdmAnnotatable- Throws:
EdmException
-
-