EmbeddableObject (cayenne-doc: Cayenne Documentation 5.0-M2 API)
Description: declaration: package: org.apache.cayenne, interface: EmbeddableObject

# Interface EmbeddableObject

public interface EmbeddableObject

Since:
  4.2

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Object`
  `readPropertyDirectly(String propertyName)`
  Returns mapped property value as currently stored in the PersistentObject.
  `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 Details

  - ### 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 PersistentObject. Returned value maybe a fault or a real value. This method will not attempt to resolve faults, or to read unmapped properties.