biouml.model
Class Module
ru.biosoft.access.DataElementSupport
|
+--ru.biosoft.access.AbstractDataCollection
|
+--ru.biosoft.access.DerivedDataCollection
|
+--biouml.model.Module
- public class Module
- extends DerivedDataCollection
The module data is hierarchically organised in following manner:
- Diagrams
DataCollection of Diagrams.
In furture diagrams can be ierarchically grouped.
- Data
"Kernel" and other data elements. For example, literature reference, that is DataElemrnt)
but can not be used as diagram element.
Data elements ordered by categories. So Data is a DataCollection
where data elements are categories.
- Metadata
This DataCollection stores DiagramTypes,
inheretid modules and so on.
| Field Summary |
final static String | DATA Name of data DataCollection. |
final static String | DIAGRAM Name of diagrams DataCollection. |
final static String | METADATA Name of meatadata DataCollection. |
final static String | TYPE_PROPERTY |
| Constructor Summary |
Module(DataCollection primaryCollection, Properties properties) Constructs derived data collection with primary collection. |
| Methods inherited from class ru.biosoft.access.DerivedDataCollection |
close, contains, contains, doGet, getDataElementType, getInfo, getNameList, getSize, isMutable, iterator, toString |
DATA
public final static String DATA
- Name of data DataCollection.
DIAGRAM
public final static String DIAGRAM
- Name of diagrams DataCollection.
METADATA
public final static String METADATA
- Name of meatadata DataCollection.
TYPE_PROPERTY
public final static String TYPE_PROPERTY
Module
public Module(DataCollection primaryCollection, Properties properties)
throws java.lang.Exception
- Constructs derived data collection with primary collection.
- Parameters:
- primaryCollection
- properties - Properties for creating data collection .
getCategory
public DataCollection getCategory(Class clazz)
throws java.lang.Exception
getDiagram
public Diagram getDiagram(String name)
throws java.lang.Exception
getDiagrams
public DataCollection getDiagrams()
throws java.lang.Exception
getKernel
public DataElement getKernel(Class c, String name)
throws java.lang.Exception
getModule
public static Module getModule(DataElement element)
getPath
public File getPath()
- Returns:
- pending Temp for module removing
getType
public ModuleType getType()
getVersion
public String getVersion()
putDiagram
public void putDiagram(Diagram diagram)
throws java.lang.Exception
putKernel
public void putKernel(DataElement kernel)
throws java.lang.Exception
to Class java.lang.String- Name of diagrams DataCollection.
to Class java.lang.String
- Name of data DataCollection.
to Class java.lang.String
- Name of meatadata DataCollection.
to Class java.lang.String
to Class biouml.model.ModuleType
to Class ru.biosoft.access.DataCollection
to Class ru.biosoft.access.DataCollection
BOTTOM