cb.petal
Class Inheritable
java.lang.Object
|
+--cb.petal.PetalObject
|
+--cb.petal.QuidObject
|
+--cb.petal.AccessObject
|
+--cb.petal.Inheritable
- All Implemented Interfaces:
- AccessQualified, java.lang.Cloneable, Documented, Named, PetalNode, java.io.Serializable, StereoTyped
- Direct Known Subclasses:
- Class, UseCase
- public abstract class Inheritable
- extends AccessObject
Denote that a petal object may be extended, i.e. classes and use cases.
- Version:
- $Id: Inheritable.java,v 1.2 2001/07/30 15:50:33 dahm Exp $
- Author:
- M. Dahm
- See Also:
- Serialized Form
Constructor Summary |
protected |
Inheritable(PetalNode parent,
java.lang.String name,
java.util.Collection params)
|
protected |
Inheritable(java.lang.String name)
|
Methods inherited from class cb.petal.AccessObject |
getDocumentation, getExportControl, getNameParameter, getStereotype, isPrivate, isProtected, isPublic, setDocumentation, setExportControl, setNameParameter, setStereotype |
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 |
Inheritable
protected Inheritable(PetalNode parent,
java.lang.String name,
java.util.Collection params)
Inheritable
protected Inheritable(java.lang.String name)
getSuperclassList
public List getSuperclassList()
- Returns:
- list of InheritanceRelationship objects
setSuperclassList
public void setSuperclassList(List c)
- Set list of InheritanceRelationship objects
addSuperClassifier
public InheritanceRelationship addSuperClassifier(Inheritable clazz)
- Add super classifier of this use case/class, i.e. add InheritanceRelationship to
"superclasses" list.
- Returns:
- implicitly created relationship object