net.sf.quarrel.uml
Interface Relationship

All Known Implementing Classes:
RelationshipImpl

public interface Relationship

Represents a relationship between two entities in a model. The supplier or independent FileElement would be the target of the dependency; the client or dependent FileElement would be the source the dependency. For example, if modeling an interface and its implementation, the interface would be the supplier and the implementation would be the client.

See section 7.3.12 Dependencies (from Dependencies) in UML 2.0 specification


Method Summary
 Element getClient()
          Returns the dependent FileElement in the relationship (child).
 Element getSupplier()
          Returns the independent element in the relationship (parent).
 RelationshipType getType()
          Returns an object representing the type of this relationship.
 

Method Detail

getType

public RelationshipType getType()
Returns an object representing the type of this relationship.

Returns:
the RelationshipType object for this relationship

getSupplier

public Element getSupplier()
Returns the independent element in the relationship (parent).

Returns:
the supplier, or independent, element

getClient

public Element getClient()
Returns the dependent FileElement in the relationship (child).

Returns:
the client, or dependent, element


Copyright © 2006-2007. All Rights Reserved.