public class ReadService
extends java.lang.Object
| Constructor and Description |
|---|
ReadService() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<AttributeDescriptorModel> |
getAttributesForType(ComposedTypeModel type)
Get the set of AttributeDescriptionModel for a given ComposedTypeModel
|
java.util.List<ComposedTypeModel> |
getAvailableTypes()
Get ComposedTypedModels from type system
|
ComposedTypeModel |
getComplexTypeForAttributeDescriptor(AttributeDescriptorModel attributeDescriptorModel)
Gets a CollectionType's element's ComposedTypeModel (if it is a collection of complex types)
|
java.io.InputStream |
getEDMX(IntegrationObjectModel integrationObject)
Get an EDMX representation of a given integration object
|
java.util.List<IntegrationObjectModel> |
getIntegrationObjectModels()
Retrieves all IntegrationObjectModels
|
java.util.List<IntegrationType> |
getIntegrationTypes()
Retrieves all available IntegrationTypes
|
boolean |
isAtomicType(java.lang.String attributeType)
Checks whether a TypeModel's attribute type is an atomic type or a flexible atomic type
|
boolean |
isCollectionType(java.lang.String attributeType)
Checks whether a TypeModel's attribute type is a collection type or a flexible collection type
|
boolean |
isComplexType(TypeModel typeModel)
Checks whether a TypeModel is a ComposedType or an EnumerationMetaType
|
boolean |
isComposedType(java.lang.String attributeType)
Checks whether a TypeModel's attribute type is a composed type or a flexible composed type
|
boolean |
isEnumerationMetaType(java.lang.String attributeType)
Checks whether a TypeModel's attribute type is an enumeration meta type or a flexible enumeration meta type
|
boolean |
isMapType(java.lang.String attributeType)
Checks whether a TypeModel's attribute type is a map type or a flexible map type
|
void |
setFlexibleSearchService(FlexibleSearchService flexibleSearchService) |
void |
setODataDefaultSchemaGenerator(SchemaGenerator oDataDefaultSchemaGenerator) |
void |
setTypeService(TypeService typeService) |
public void setODataDefaultSchemaGenerator(SchemaGenerator oDataDefaultSchemaGenerator)
public void setFlexibleSearchService(FlexibleSearchService flexibleSearchService)
public void setTypeService(TypeService typeService)
public boolean isCollectionType(java.lang.String attributeType)
attributeType - the attribute type to evaluatepublic boolean isComposedType(java.lang.String attributeType)
attributeType - the attribute type to evaluatepublic boolean isEnumerationMetaType(java.lang.String attributeType)
attributeType - the attribute type to evaluatepublic boolean isAtomicType(java.lang.String attributeType)
attributeType - the attribute type to evaluatepublic boolean isMapType(java.lang.String attributeType)
attributeType - the attribute type to evaluatepublic boolean isComplexType(TypeModel typeModel)
typeModel - the type model to evaluatepublic ComposedTypeModel getComplexTypeForAttributeDescriptor(AttributeDescriptorModel attributeDescriptorModel)
attributeDescriptorModel - the attribute descriptor of the collectionpublic java.util.List<IntegrationObjectModel> getIntegrationObjectModels()
public java.util.List<IntegrationType> getIntegrationTypes()
public java.util.List<ComposedTypeModel> getAvailableTypes()
public java.util.Set<AttributeDescriptorModel> getAttributesForType(ComposedTypeModel type)
type - a ComposedTypeModel objectpublic java.io.InputStream getEDMX(IntegrationObjectModel integrationObject) throws InvalidODataSchemaException
integrationObject - an integration object to representInvalidODataSchemaException - when schema generator failsCopyright © 2018 SAP SE. All Rights Reserved.