cb.petal
Class Relationship

java.lang.Object
  |
  +--cb.petal.PetalObject
        |
        +--cb.petal.QuidObject
              |
              +--cb.petal.QuiduObject
                    |
                    +--cb.petal.Relationship
All Implemented Interfaces:
java.lang.Cloneable, Documented, HasQuidu, HasSupplier, Labeled, PetalNode, java.io.Serializable, StereoTyped
Direct Known Subclasses:
ConnectionRelationship, DependencyRelationship, InheritanceRelationship, InstantiationRelationship, ModuleVisibilityRelationship, RealizeRelationship, UsesRelationship, VisibilityRelationship

public abstract class Relationship
extends QuiduObject
implements HasSupplier, StereoTyped, Labeled, Documented

Super class for all relationships between classes.

Version:
$Id: Relationship.java,v 1.8 2001/06/22 09:10:36 dahm Exp $
Author:
M. Dahm
See Also:
Serialized Form

Fields inherited from class cb.petal.PetalObject
EMPTY, params
 
Constructor Summary
Relationship(PetalNode parent, java.lang.String name, java.util.Collection params)
           
Relationship(java.lang.String name)
           
 
Method Summary
 java.lang.String getDocumentation()
           
 java.lang.String getLabel()
           
 java.lang.String getStereotype()
           
 java.lang.String getSupplier()
           
 void setDocumentation(java.lang.String o)
           
 void setLabel(java.lang.String o)
           
 void setStereotype(java.lang.String c)
           
 void setSupplier(java.lang.String o)
           
 
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
accept, 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
accept, getChildCount, getKind
 

Constructor Detail

Relationship

public Relationship(PetalNode parent,
                    java.lang.String name,
                    java.util.Collection params)

Relationship

public Relationship(java.lang.String name)
Method Detail

getSupplier

public java.lang.String getSupplier()
Specified by:
getSupplier in interface HasSupplier

setSupplier

public void setSupplier(java.lang.String o)
Specified by:
setSupplier in interface HasSupplier

getStereotype

public java.lang.String getStereotype()
Specified by:
getStereotype in interface StereoTyped

setStereotype

public void setStereotype(java.lang.String c)
Specified by:
setStereotype in interface StereoTyped

setLabel

public void setLabel(java.lang.String o)
Specified by:
setLabel in interface Labeled

getLabel

public java.lang.String getLabel()
Specified by:
getLabel in interface Labeled

setDocumentation

public void setDocumentation(java.lang.String o)
Specified by:
setDocumentation in interface Documented

getDocumentation

public java.lang.String getDocumentation()
Specified by:
getDocumentation in interface Documented