java.lang.Object
org.objectstyle.cayenne.access.util.RelationshipFault
- All Implemented Interfaces:
- java.io.Serializable
- public class RelationshipFault
- extends java.lang.Object
- implements java.io.Serializable
This class represents a placeholder for an unresolved relationship from a source object.
RelationshipFault is used in cases when it is impossible to create a HOLLOW object using
the information from the relationship source object. These cases include dependent to-one
relationships and flattened to-one relationships.
- Since:
- 1.0.1
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
relationshipName
protected java.lang.String relationshipName
sourceObject
protected org.objectstyle.cayenne.DataObject sourceObject
RelationshipFault
public RelationshipFault(org.objectstyle.cayenne.DataObject sourceObject,
java.lang.String relationshipName)
getRelationshipName
public java.lang.String getRelationshipName()
getSourceObject
public org.objectstyle.cayenne.DataObject getSourceObject()
resolveToOne
public org.objectstyle.cayenne.DataObject resolveToOne()
- Resolves this fault to a DataObject.
faultEntity
protected org.objectstyle.cayenne.map.ObjEntity faultEntity()
- Determines ObjEntity of this fault.