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, removeVetoableChangeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, addVetoableChangeListener, createJDOExtension, getJDOExtensions, removeJDOExtension, removePropertyChangeListener, removeVetoableChangeListener
public int getLowerBound()
getLowerBound
in interface JDORelationship
public void setLowerBound(int lowerBound)
setLowerBound
in interface JDORelationship
lowerBound
- an integer indicating the lower cardinality boundpublic int getUpperBound()
getUpperBound
in interface JDORelationship
public void setUpperBound(int upperBound)
setUpperBound
in interface JDORelationship
upperBound
- an integer indicating the upper cardinality boundpublic JDOField getDeclaringField()
getDeclaringField
in interface JDORelationship
null
if the element is not attached to any fieldpublic void setDeclaringField(JDOField declaringField)
setDeclaringField
in interface JDORelationship
declaringField
- the declaring field of this relationship elementpublic JDORelationship getInverseRelationship()
getInverseRelationship
in interface JDORelationship
public void setInverseRelationship(JDORelationship inverseRelationship)
setInverseRelationship
in interface JDORelationship
inverseRelationship
- the inverse relationshipCopyright © 2005-2012 Apache Software Foundation. All Rights Reserved.