|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cayenne.Fault
public abstract class Fault
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.
| Constructor Summary | |
|---|---|
protected |
Fault()
|
| Method Summary | |
|---|---|
abstract java.lang.Object |
resolveFault(Persistent sourceObject,
java.lang.String relationshipName)
Returns an object for a given source object and relationship. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected Fault()
| Method Detail |
|---|
public abstract java.lang.Object resolveFault(Persistent sourceObject,
java.lang.String relationshipName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||