public class PartOfGenerator extends java.lang.Object implements AnnotationGenerator<IntegrationObjectItemAttributeModel>
s:IsPartOf annotation on the Property and NavigationProperty EDMX elements.| Constructor and Description |
|---|
PartOfGenerator() |
| Modifier and Type | Method and Description |
|---|---|
AnnotationAttribute |
generate(IntegrationObjectItemAttributeModel itemAttributeModel)
Generates the schema element whose type is defined by T.
|
boolean |
isApplicable(IntegrationObjectItemAttributeModel model)
Determines if this annotation generator is applicable for the given attribute or attributes
|
protected TypeAttributeDescriptor |
toDescriptor(IntegrationObjectItemAttributeModel model)
Converts model to the attribute descriptor.
|
public boolean isApplicable(IntegrationObjectItemAttributeModel model)
AnnotationGeneratorisApplicable in interface AnnotationGenerator<IntegrationObjectItemAttributeModel>model - the IntegrationObjectItemAttributeModel OR IntegrationObjectItemModel we are verifying onprotected TypeAttributeDescriptor toDescriptor(IntegrationObjectItemAttributeModel model)
model - a model to convertDefaultTypeAttributeDescriptor.create(model)public AnnotationAttribute generate(IntegrationObjectItemAttributeModel itemAttributeModel)
SchemaElementGeneratorgenerate in interface SchemaElementGenerator<AnnotationAttribute,IntegrationObjectItemAttributeModel>itemAttributeModel - the object that is being convertedCopyright © 2018 SAP SE. All Rights Reserved.