Package org.apache.cayenne.access

# Class ToOneFault

java.lang.Object
org.apache.cayenne.Fault
org.apache.cayenne.access.ToOneFault

All Implemented Interfaces:
  `Serializable`

public class ToOneFault extends Fault

Since:
  3.0
See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ToOneFault()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Object`
  `resolveFault(Persistent sourceObject, String relationshipName)`
  Resolves this fault to a DataObject.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ToOneFault

    public ToOneFault()

- ## Method Details

  - ### resolveFault

    public Object resolveFault(Persistent sourceObject, String relationshipName)
    Resolves this fault to a DataObject.
    Specified by:
      `resolveFault` in class `Fault`