Package org.apache.cayenne
Class Fault
java.lang.Object
org.apache.cayenne.Fault
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AttributeFault
,ToManyListFault
,ToManyMapFault
,ToManySetFault
,ToOneFault
Represents a placeholder for an unresolved relationship from a source object. Fault is
resolved via
resolveFault(Persistent, String)
. Depending on the type of fault
it is resolved differently. Each type of fault is a singleton that can be obtained via
corresponding static method.- Since:
- 1.1
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract Object
resolveFault
(Persistent sourceObject, String relationshipName) Returns an object for a given source object and relationship.
-
Constructor Details
-
Fault
protected Fault()
-
-
Method Details
-
resolveFault
Returns an object for a given source object and relationship.
-