Package org.apache.cayenne

## Interface EmbeddableObject

-     public interface EmbeddableObject

  Since:
    4.2

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Object` | `readPropertyDirectly​(String propertyName)` | Returns mapped property value as currently stored in the DataObject.
    `void` | `writePropertyDirectly​(String propertyName, Object val)` | Modifies a value of a named property without altering the object state in any way, and without triggering any database operations.

- - ### Method Detail

    - #### writePropertyDirectly

          void writePropertyDirectly​(String propertyName,
                                     Object val)

      Modifies a value of a named property without altering the object state in any way, and without triggering any database operations. This method is intended mostly for internal use by Cayenne framework, and shouldn't be called from the application code.

    - #### readPropertyDirectly

          Object readPropertyDirectly​(String propertyName)

      Returns mapped property value as currently stored in the DataObject. Returned value maybe a fault or a real value. This method will not attempt to resolve faults, or to read unmapped properties.