net.wotonomy.access
Class EORelationship
java.lang.Object
net.wotonomy.access.EOProperty
net.wotonomy.access.EORelationship
- All Implemented Interfaces:
- EOPropertyListEncoding
public class EORelationship
- extends EOProperty
- implements EOPropertyListEncoding
Represents a relationship from one entity to another. Relationships are unidirectional.
- Version:
- $Revision: 894 $
- Author:
- ezamudio@nasoft.com, $Author: cgruber $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InnerJoin
public static final int InnerJoin
- See Also:
- Constant Field Values
FullOuterJoin
public static final int FullOuterJoin
- See Also:
- Constant Field Values
LeftOuterJoin
public static final int LeftOuterJoin
- See Also:
- Constant Field Values
RightOuterJoin
public static final int RightOuterJoin
- See Also:
- Constant Field Values
_name
protected java.lang.String _name
_batchCount
protected int _batchCount
_deleteRule
protected int _deleteRule
_joinSemantic
protected int _joinSemantic
_destination
protected EOEntity _destination
_entity
protected EOEntity _entity
_joins
protected net.wotonomy.foundation.NSMutableArray _joins
_isMandatory
protected boolean _isMandatory
_isToMany
protected boolean _isToMany
_isFlattened
protected boolean _isFlattened
_knowsIfFlattened
protected boolean _knowsIfFlattened
_ownsDestination
protected boolean _ownsDestination
_propagatesPrimaryKey
protected boolean _propagatesPrimaryKey
_useBatchFaulting
protected boolean _useBatchFaulting
_userInfo
protected net.wotonomy.foundation.NSDictionary _userInfo
_internalInfo
protected net.wotonomy.foundation.NSDictionary _internalInfo
plist
protected net.wotonomy.foundation.NSDictionary plist
_definition
protected java.lang.String _definition
EORelationship
public EORelationship()
EORelationship
public EORelationship(net.wotonomy.foundation.NSDictionary dict,
java.lang.Object obj)
setName
public void setName(java.lang.String name)
name
public java.lang.String name()
- Specified by:
name
in class EOProperty
addJoin
public void addJoin(EOJoin join)
removeJoin
public void removeJoin(EOJoin join)
entity
public EOEntity entity()
destinationEntity
public EOEntity destinationEntity()
setOwnsDestination
public void setOwnsDestination(boolean flag)
ownsDestination
public boolean ownsDestination()
setToMany
public void setToMany(boolean flag)
isToMany
public boolean isToMany()
setIsMandatory
public void setIsMandatory(boolean flag)
isMandatory
public boolean isMandatory()
setPropagatesPrimaryKey
public void setPropagatesPrimaryKey(boolean flag)
propagatesPrimaryKey
public boolean propagatesPrimaryKey()
setDeleteRule
public void setDeleteRule(int value)
deleteRule
public int deleteRule()
setJoinSemantic
public void setJoinSemantic(int value)
joinSemantic
public int joinSemantic()
setNumberOfToManyFaultsToBatchFetch
public void setNumberOfToManyFaultsToBatchFetch(int count)
numberOfToManyFaultsToBatchFetch
public int numberOfToManyFaultsToBatchFetch()
joins
public net.wotonomy.foundation.NSArray joins()
setDefinition
public void setDefinition(java.lang.String def)
definition
public java.lang.String definition()
isFlattened
public boolean isFlattened()
isMultiHop
public boolean isMultiHop()
relationshipPath
public java.lang.String relationshipPath()
- Specified by:
relationshipPath
in class EOProperty
setUserInfo
public void setUserInfo(net.wotonomy.foundation.NSDictionary value)
userInfo
public net.wotonomy.foundation.NSDictionary userInfo()
awakeWithPropertyList
public void awakeWithPropertyList(net.wotonomy.foundation.NSDictionary plist)
- Specified by:
awakeWithPropertyList
in interface EOPropertyListEncoding
encodeIntoPropertyList
public void encodeIntoPropertyList(net.wotonomy.foundation.NSMutableDictionary dict)
- Specified by:
encodeIntoPropertyList
in interface EOPropertyListEncoding
Copyright © 2006 null. All Rights Reserved.