com.enspire.gemini
Interface BidirectionalProperty

All Known Implementing Classes:
BidirectionalCollection, BidirectionalList, BidirectionalSet

public interface BidirectionalProperty

A JavaBean property wrapper that updates its opposite property. This kind of property most often represents a relationship end with multiplicity greater than 1.

Author:
Dragan Djuric since 1.0

Method Summary
 java.lang.String getOppositeName()
          Gets the name of the opposite property.
 java.lang.Object getOwner()
          Gets the owner of this object.
 java.lang.Object getPropertyValue()
          Gets the value (e.g.
 RelationshipUpdater getRelationshipUpdater()
          Gets the updater of the another end of the represented relationship.
 void setOppositeName(java.lang.String propertyName)
          Sets the name of the opposite property.
 void setOwner(java.lang.Object owner)
          Sets the owner of this object.
 void setPropertyValue(java.lang.Object propertyValue)
          Sets the value (e.g.
 void setRelationshipUpdater(RelationshipUpdater relationshipUpdater)
          Sets the updater of the another end of the represented relationship.
 

Method Detail

getOwner

java.lang.Object getOwner()
Gets the owner of this object.

Returns:
the owner

setOwner

void setOwner(java.lang.Object owner)
Sets the owner of this object.

Parameters:
owner - new value

getRelationshipUpdater

RelationshipUpdater getRelationshipUpdater()
Gets the updater of the another end of the represented relationship.

Returns:
relationshipUpdater the updater of the another end of the represented relationship

setRelationshipUpdater

void setRelationshipUpdater(RelationshipUpdater relationshipUpdater)
Sets the updater of the another end of the represented relationship.

Parameters:
relationshipUpdater - the updater of the another end of the represented relationship

getOppositeName

java.lang.String getOppositeName()
Gets the name of the opposite property.

Returns:
name the name of the opposite property

setOppositeName

void setOppositeName(java.lang.String propertyName)
Sets the name of the opposite property.

Parameters:
name - the name of the opposite property

getPropertyValue

java.lang.Object getPropertyValue()
Gets the value (e.g. the wrapped object) of the property.

Returns:
value

setPropertyValue

void setPropertyValue(java.lang.Object propertyValue)
Sets the value (e.g. the wrapped object) of the property.

Parameters:
value -


Copyright © 2005 e-nspire. All Rights Reserved.