cb.petal
Class UsesRelationship

java.lang.Object
  |
  +--cb.petal.PetalObject
        |
        +--cb.petal.QuidObject
              |
              +--cb.petal.QuiduObject
                    |
                    +--cb.petal.Relationship
                          |
                          +--cb.petal.UsesRelationship
All Implemented Interfaces:
AccessQualified, java.lang.Cloneable, Documented, HasQuidu, HasSupplier, Labeled, PetalNode, java.io.Serializable, StereoTyped

public class UsesRelationship
extends Relationship
implements AccessQualified

Represents uses relationship in use case diagrams, in class diagrams this is also used to express dependency relationships.

Version:
$Id: UsesRelationship.java,v 1.11 2001/07/09 07:48:52 dahm Exp $
Author:
M. Dahm
See Also:
Serialized Form

Fields inherited from class cb.petal.PetalObject
EMPTY, params
 
Constructor Summary
UsesRelationship()
           
UsesRelationship(PetalNode parent, java.util.Collection params)
           
 
Method Summary
 void accept(Visitor v)
           
 List getAttributes()
           
 Value getClientCardinality()
           
 java.lang.String getExportControl()
           
 Value getSupplierCardinality()
           
 void setAttributes(List o)
           
 void setClientCardinality(Value o)
           
 void setExportControl(java.lang.String o)
           
 void setSupplierCardinality(Value o)
           
 
Methods inherited from class cb.petal.Relationship
getDocumentation, getLabel, getStereotype, getSupplier, setDocumentation, setLabel, setStereotype, setSupplier
 
Methods inherited from class cb.petal.QuiduObject
getQuidu, getQuiduAsLong, getReferencedObject, setQuidu, setQuiduAsLong
 
Methods inherited from class cb.petal.QuidObject
getQuid, getQuidAsLong, init, setQuid, setQuidAsLong
 
Methods inherited from class cb.petal.PetalObject
addProperty, addToList, clone, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, equals, getChildCount, getKind, getLongestName, getName, getNames, getNoProperties, getParameterList, getParent, getProperties, getProperty, getProperty, getPropertyAsBoolean, getPropertyAsFloat, getPropertyAsInteger, getPropertyAsString, getPropertyList, getPropertyName, getPropertyTuples, getQualifiedName, getRoot, indexOf, moveProperty, removeFromList, removeProperty, removeProperty, setName, setParameterList, setParent, setProperty, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface cb.petal.PetalNode
getChildCount, getKind
 

Constructor Detail

UsesRelationship

public UsesRelationship(PetalNode parent,
                        java.util.Collection params)

UsesRelationship

public UsesRelationship()
Method Detail

getAttributes

public List getAttributes()

setAttributes

public void setAttributes(List o)

getExportControl

public java.lang.String getExportControl()
Specified by:
getExportControl in interface AccessQualified

setExportControl

public void setExportControl(java.lang.String o)
Specified by:
setExportControl in interface AccessQualified

getClientCardinality

public Value getClientCardinality()

setClientCardinality

public void setClientCardinality(Value o)

getSupplierCardinality

public Value getSupplierCardinality()

setSupplierCardinality

public void setSupplierCardinality(Value o)

accept

public void accept(Visitor v)
Overrides:
accept in class PetalObject