public abstract class JDORelationshipImpl extends JDOElementImpl implements JDORelationship
CARDINALITY_N, CARDINALITY_ONE, CARDINALITY_ZERO| Constructor and Description |
|---|
JDORelationshipImpl() |
| Modifier and Type | Method and Description |
|---|---|
JDOField |
getDeclaringField()
Get the declaring field of this JDORelationship.
|
JDORelationship |
getInverseRelationship()
Get the inverse JDORelationship in the case of a managed relationship.
|
int |
getLowerBound()
Get the lower cardinality bound for this relationship element.
|
int |
getUpperBound()
Get the upper cardinality bound for this relationship element.
|
void |
setDeclaringField(JDOField declaringField)
Set the declaring field of this JDORelationship.
|
void |
setInverseRelationship(JDORelationship inverseRelationship)
Set the inverse JDORelationship in the case of a managed relationship.
|
void |
setLowerBound(int lowerBound)
Set the lower cardinality bound for this relationship element.
|
void |
setUpperBound(int upperBound)
Set the upper cardinality bound for this relationship element.
|
addPropertyChangeListener, addVetoableChangeListener, createJDOExtension, firePropertyChange, fireVetoableChange, getJDOExtensions, removeJDOExtension, removePropertyChangeListener, removeVetoableChangeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPropertyChangeListener, addVetoableChangeListener, createJDOExtension, getJDOExtensions, removeJDOExtension, removePropertyChangeListener, removeVetoableChangeListenerpublic int getLowerBound()
getLowerBound in interface JDORelationshippublic void setLowerBound(int lowerBound)
setLowerBound in interface JDORelationshiplowerBound - an integer indicating the lower cardinality boundpublic int getUpperBound()
getUpperBound in interface JDORelationshippublic void setUpperBound(int upperBound)
setUpperBound in interface JDORelationshipupperBound - an integer indicating the upper cardinality boundpublic JDOField getDeclaringField()
getDeclaringField in interface JDORelationshipnull
if the element is not attached to any fieldpublic void setDeclaringField(JDOField declaringField)
setDeclaringField in interface JDORelationshipdeclaringField - the declaring field of this relationship elementpublic JDORelationship getInverseRelationship()
getInverseRelationship in interface JDORelationshippublic void setInverseRelationship(JDORelationship inverseRelationship)
setInverseRelationship in interface JDORelationshipinverseRelationship - the inverse relationshipCopyright © 2005-2012 Apache Software Foundation. All Rights Reserved.