org.apache.cayenne.access
Class ToOneFault

java.lang.Object
  extended by org.apache.cayenne.Fault
      extended by org.apache.cayenne.access.ToOneFault
All Implemented Interfaces:
Serializable

public class ToOneFault
extends Fault

Since:
3.0
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.cayenne.Fault
toManyFault, toOneFault
 
Constructor Summary
ToOneFault()
           
 
Method Summary
 Object resolveFault(Persistent sourceObject, String relationshipName)
          Resolves this fault to a DataObject.
 
Methods inherited from class org.apache.cayenne.Fault
getToManyFault, getToOneFault
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToOneFault

public ToOneFault()
Method Detail

resolveFault

public Object resolveFault(Persistent sourceObject,
                           String relationshipName)
Resolves this fault to a DataObject.

Specified by:
resolveFault in class Fault


Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.