Package com.sap.cds.reflect.impl
Class DraftAdapter
java.lang.Object
com.sap.cds.reflect.impl.DraftAdapter
This class can be used to adapt a CDS model that was generated for OData in a
way that it reflects the actual database objects and relations between them.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDraftAdapter
(Map<String, com.fasterxml.jackson.databind.JsonNode> entityObjects) Constructor -
Method Summary
-
Field Details
-
IS_ACTIVE_ENTITY
- See Also:
-
HAS_ACTIVE_ENTITY
- See Also:
-
HAS_DRAFT_ENTITY
- See Also:
-
DRAFT_ADMINISTRATIVE_DATA
- See Also:
-
DRAFT_UUID
- See Also:
-
-
Constructor Details
-
DraftAdapter
Constructor- Parameters:
entityObjects
- a modifiable map of the entities in the model
-
-
Method Details
-
adapt
public void adapt() -
isDraftElement
-