当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 server API Documentation 英文版文档
RelationData (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档
org.jboss.ejb.plugins.cmp.jdbc
Class RelationData
java.lang.Object
org.jboss.ejb.plugins.cmp.jdbc.RelationData
- public final class RelationData
- extends Object
This class holds data about one relationship. It maintains a lists of
which relations have been added and removed. When the transaction is
committed these list are retrieved and used to update the relation table.
- Version:
- $Revision: 1.8 $
- Author:
- Dain Sundstrom
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
addedRelations
public final Set addedRelations
removedRelations
public final Set removedRelations
notRelatedPairs
public final Set notRelatedPairs
RelationData
public RelationData(JDBCCMRFieldBridge leftCMRField,
JDBCCMRFieldBridge rightCMRField)
getLeftCMRField
public JDBCCMRFieldBridge getLeftCMRField()
getRightCMRField
public JDBCCMRFieldBridge getRightCMRField()
addRelation
public void addRelation(JDBCCMRFieldBridge leftCMRField,
Object leftId,
JDBCCMRFieldBridge rightCMRField,
Object rightId)
removeRelation
public void removeRelation(JDBCCMRFieldBridge leftCMRField,
Object leftId,
JDBCCMRFieldBridge rightCMRField,
Object rightId)
isDirty
public boolean isDirty()
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.