Looking again at the PaidEmployment example, to cache the readDetails method, the following code would be used:
<Entity logicalName="PaidEmployment" ... >
<CachedOperation>
databaseRead = "read"
operationName = "readDetails"
returnType =
"curam.example.evidence.entity.struct.
PaidEmploymentDtls"
</CachedOperation>
</Entity>