cb.petal
Class LogicalCategory

java.lang.Object
  |
  +--cb.petal.PetalObject
        |
        +--cb.petal.QuidObject
              |
              +--cb.petal.ClassCategory
                    |
                    +--cb.petal.LogicalCategory
All Implemented Interfaces:
AccessQualified, java.lang.Cloneable, Documented, Named, PetalNode, java.io.Serializable

public class LogicalCategory
extends ClassCategory

The Logical category contains class diagrams. The interesting part are the two lists "logical_models" and "logical_presentations" where the former contains the data model and the latter contains class diagrams. One can add items to the model with addToModel() methods. Items to the view can be added with the addToView() methods in ClassDiagram. Both types of methods call init() on the given Petal Object after adding them to the appropriate list.

Version:
$Id: LogicalCategory.java,v 1.9 2001/07/17 14:38:36 dahm Exp $
Author:
M. Dahm
See Also:
ClassDiagram, Serialized Form

Fields inherited from class cb.petal.PetalObject
EMPTY, params
 
Constructor Summary
LogicalCategory()
           
LogicalCategory(PetalObject parent)
           
 
Method Summary
 void accept(Visitor v)
           
 void addToModel(LogicalCategory cat)
           
 ClassDiagram getFirstClassDiagram()
          Typically every Logical view has just one "Main" class diagram
 java.lang.String getSubsystem()
           
 void removeFromModel(LogicalCategory cat)
           
 void setSubsystem(java.lang.String o)
           
 
Methods inherited from class cb.petal.ClassCategory
add, addToModel, addToModel, getDocumentation, getExportControl, getGlobal, getLogicalModels, getLogicalPresentations, getNameParameter, lookupDiagram, remove, removeFromModel, removeFromModel, setDocumentation, setExportControl, setGlobal, setLogicalModels, setLogicalPresentations, setNameParameter
 
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
 

Constructor Detail

LogicalCategory

public LogicalCategory(PetalObject parent)

LogicalCategory

public LogicalCategory()
Method Detail

getSubsystem

public java.lang.String getSubsystem()

setSubsystem

public void setSubsystem(java.lang.String o)

addToModel

public void addToModel(LogicalCategory cat)

removeFromModel

public void removeFromModel(LogicalCategory cat)

getFirstClassDiagram

public ClassDiagram getFirstClassDiagram()
Typically every Logical view has just one "Main" class diagram

accept

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