net.wotonomy.access
Class EORelationship

java.lang.Object
  extended by net.wotonomy.access.EOProperty
      extended by 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 $

Field Summary
protected  int _batchCount
           
protected  java.lang.String _definition
           
protected  int _deleteRule
           
protected  EOEntity _destination
           
protected  EOEntity _entity
           
protected  net.wotonomy.foundation.NSDictionary _internalInfo
           
protected  boolean _isFlattened
           
protected  boolean _isMandatory
           
protected  boolean _isToMany
           
protected  net.wotonomy.foundation.NSMutableArray _joins
           
protected  int _joinSemantic
           
protected  boolean _knowsIfFlattened
           
protected  java.lang.String _name
           
protected  boolean _ownsDestination
           
protected  boolean _propagatesPrimaryKey
           
protected  boolean _useBatchFaulting
           
protected  net.wotonomy.foundation.NSDictionary _userInfo
           
static int FullOuterJoin
           
static int InnerJoin
           
static int LeftOuterJoin
           
protected  net.wotonomy.foundation.NSDictionary plist
           
static int RightOuterJoin
           
 
Constructor Summary
EORelationship()
           
EORelationship(net.wotonomy.foundation.NSDictionary dict, java.lang.Object obj)
           
 
Method Summary
 void addJoin(EOJoin join)
           
 void awakeWithPropertyList(net.wotonomy.foundation.NSDictionary plist)
           
 java.lang.String definition()
           
 int deleteRule()
           
 EOEntity destinationEntity()
           
 void encodeIntoPropertyList(net.wotonomy.foundation.NSMutableDictionary dict)
           
 EOEntity entity()
           
 boolean isFlattened()
           
 boolean isMandatory()
           
 boolean isMultiHop()
           
 boolean isToMany()
           
 net.wotonomy.foundation.NSArray joins()
           
 int joinSemantic()
           
 java.lang.String name()
           
 int numberOfToManyFaultsToBatchFetch()
           
 boolean ownsDestination()
           
 boolean propagatesPrimaryKey()
           
 java.lang.String relationshipPath()
           
 void removeJoin(EOJoin join)
           
 void setDefinition(java.lang.String def)
           
 void setDeleteRule(int value)
           
 void setIsMandatory(boolean flag)
           
 void setJoinSemantic(int value)
           
 void setName(java.lang.String name)
           
 void setNumberOfToManyFaultsToBatchFetch(int count)
           
 void setOwnsDestination(boolean flag)
           
 void setPropagatesPrimaryKey(boolean flag)
           
 void setToMany(boolean flag)
           
 void setUserInfo(net.wotonomy.foundation.NSDictionary value)
           
 net.wotonomy.foundation.NSDictionary userInfo()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

EORelationship

public EORelationship()

EORelationship

public EORelationship(net.wotonomy.foundation.NSDictionary dict,
                      java.lang.Object obj)
Method Detail

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.