cb.petal
Class ClassCategory
java.lang.Object
|
+--cb.petal.PetalObject
|
+--cb.petal.QuidObject
|
+--cb.petal.ClassCategory
- All Implemented Interfaces:
- AccessQualified, java.lang.Cloneable, Documented, Named, PetalNode, java.io.Serializable
- Direct Known Subclasses:
- LogicalCategory, UseCaseCategory
- public abstract class ClassCategory
- extends QuidObject
- implements AccessQualified, Named, Documented
Class category is used for structuring into submodels and -views, it may contain
further class categories.
- Version:
- $Id: ClassCategory.java,v 1.15 2001/07/19 12:40:40 dahm Exp $
- Author:
- M. Dahm
- See Also:
- Serialized Form
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 |
ClassCategory
protected ClassCategory(PetalNode parent,
java.lang.String name)
setNameParameter
public void setNameParameter(java.lang.String o)
- Specified by:
setNameParameter
in interface Named
getNameParameter
public java.lang.String getNameParameter()
- Specified by:
getNameParameter
in interface Named
getDocumentation
public java.lang.String getDocumentation()
- Specified by:
getDocumentation
in interface Documented
setDocumentation
public void setDocumentation(java.lang.String o)
- Specified by:
setDocumentation
in interface Documented
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
getGlobal
public boolean getGlobal()
setGlobal
public void setGlobal(boolean o)
getLogicalModels
public List getLogicalModels()
- The returned values depend on what kind of class category this
is. In the logical view this returns class, association and mechanism
objects. It may of course also contain further ClassCategory objects.
setLogicalModels
public void setLogicalModels(List o)
getLogicalPresentations
public List getLogicalPresentations()
- This returns a list of diagrams, ClassDiagram objects, e.g.
setLogicalPresentations
public void setLogicalPresentations(List o)
lookupDiagram
protected java.lang.Object lookupDiagram(java.lang.Class clazz)
- Find diagram by given class
add
protected void add(PetalObject obj)
remove
protected void remove(PetalObject obj)
addToModel
public void addToModel(Association assoc)
removeFromModel
public void removeFromModel(Association assoc)
addToModel
public void addToModel(Class clazz)
- Add a class to the model. Sets parent and calls init() on class.
removeFromModel
public void removeFromModel(Class clazz)