de.uni_paderborn.fujaba.uml
Class UMLProject

java.lang.Object
  extended byde.uni_paderborn.fujaba.basic.BasicIncrement
      extended byde.uni_paderborn.fujaba.asg.ASGElement
          extended byde.uni_paderborn.fujaba.asg.ASGProject
              extended byde.uni_paderborn.fujaba.uml.UMLProject
All Implemented Interfaces:
java.lang.Comparable, FElement, FProject, de.uni_kassel.prop.InspectionAware, LogicUnparseInterface, de.tu_bs.coobra.ObjectChangeAware, de.upb.tools.pcs.PropertyChangeClient, de.upb.tools.pcs.PropertyChangeInterface, UniqueIdentifier

public class UMLProject
extends ASGProject
implements FProject

Associations

            +---------+ 1                                   1
 UMLProject + name    +--------------------------------------- UMLClass
            +---------+ declaredInReferences       references

            ------ 0..1         Assoc         0..1
 UMLProject | ID |--------------------------------- BasicIncrement
            ------ refProject      objectHashTable
 

Version:
$Revision: 1.413 $
Author:
$Author: cschneid $

Nested Class Summary
 
Nested classes inherited from class de.uni_paderborn.fujaba.asg.ASGElement
ASGElement.SortByNameComparator
 
Field Summary
private  java.io.File backupFile
          file name for immediate store
private  java.io.OutputStream backupStream
          output stream for immediate store
private  UMLIncrement clipboard
          No comment provided by developer, please add a comment to improve documentation.
private  java.io.File file
          No comment provided by developer, please add a comment to improve documentation.
static int FILE_VERSION
          The current file version for Fujaba project files.
private  de.upb.tools.fca.FPropTreeSet files
          use this to get all the files of the project
private  FrameMain gui
          No comment provided by developer, please add a comment to improve documentation.
private static int inconsistencyErrors
          No comment provided by developer, please add a comment to improve documentation.
private static boolean loading
          No comment provided by developer, please add a comment to improve documentation.
private static org.apache.log4j.Logger log
          log4j logging
private  java.lang.String name
          No comment provided by developer, please add a comment to improve documentation.
private static java.util.Hashtable objectHashTable
          No comment provided by developer, please add a comment to improve documentation.
static java.lang.String PROPERTY_FILES
          No comment provided by developer, please add a comment to improve documentation.
static java.lang.String PROPERTY_TYPE_LIST
          No comment provided by developer, please add a comment to improve documentation.
private  de.upb.tools.fca.FPropHashMap references
           +------+ 1 1 UMLProject + name +--------------------------------------- UMLClass +------+ declaredInReferences references
private  java.lang.String rootDir
          No comment provided by developer, please add a comment to improve documentation.
private  UMLPackage rootPackage
          The used java-packages are saved in a package-tree.
private  boolean saved
          No comment provided by developer, please add a comment to improve documentation.
private static SourceCodeFactory sourceCodeFactory
          No comment provided by developer, please add a comment to improve documentation.
private  UMLStereotypeManager stereotypeManager
          No comment provided by developer, please add a comment to improve documentation.
private static UMLProject theUMLProject
          The singleton instance.
private  UMLTypeList typeList
          No comment provided by developer, please add a comment to improve documentation.
 
Fields inherited from class de.uni_paderborn.fujaba.asg.ASGProject
DIAGS_PROPERTY
 
Fields inherited from class de.uni_paderborn.fujaba.asg.ASGElement
 
Fields inherited from class de.uni_paderborn.fujaba.basic.BasicIncrement
dontUseAccessMethodsInThisClass
 
Fields inherited from interface de.uni_paderborn.fujaba.metamodel.FProject
ROOT_PACKAGE_PROPERTY
 
Fields inherited from interface de.uni_paderborn.fujaba.metamodel.FElement
ANNOTATIONS_PROPERTY, DIAGRAMS_PROPERTY, ELEMENT_REFERENCES_PROPERTY, GENERATED_PROPERTY, NAME_PROPERTY, TEXT_PROPERTY
 
Constructor Summary
private UMLProject()
          The private constructor.
 
Method Summary
 void addToFiles(KeyValuePair pair)
          Adds a feature to the ToFiles attribute of the UMLProject object
 boolean addToFiles(UMLFile value)
          Adds a feature to the ToFiles attribute of the UMLProject object
 void addToPackages(java.lang.String fullName, UMLPackage pkg)
          for loading (versioning): add a package
effect: addToPackages( pkg, key );
 void addToPackages(UMLPackage elem, java.lang.String fullName)
          Adds a feature to the ToPackages attribute of the UMLProject object
 void addToReferences(KeyValuePair pair)
          Adds a feature to the ToReferences attribute of the UMLProject object
this method is needed only for loading OrderedMaps do not use it in other cases
 void addToReferences(java.lang.String key, UMLClass value)
          Adds a feature to the ToReferences attribute of the UMLProject object
this method is needed only for loading OrderedMaps do not use it in other cases
 boolean addToReferences(UMLClass obj)
          Adds a feature to the ToReferences attribute of the UMLProject object
private  UMLClass createClass(java.lang.String name, boolean coobraPersistent, boolean reference)
          No comment provided by developer, please add a comment to improve documentation.
private static java.util.StringTokenizer createLineTokenizer(java.lang.String line)
          No comment provided by developer, please add a comment to improve documentation.
static UMLProject createPlainProject()
          The current project will be removed and a new one is returned with an initialized base type list.
private  boolean createProjectBackup(java.io.File outputFile)
          Creates a *.bak.fpr project backup if the given outputFile quite exists.
protected  java.lang.String createUnparseModuleName()
          No comment provided by developer, please add a comment to improve documentation.
 void deleteBackupFile()
          delete backup file used for immediate store
 java.util.Enumeration elementsOfClasses()
          use this to get all the classes of the project
 java.util.Iterator entriesOfReferences()
          No comment provided by developer, please add a comment to improve documentation.
 UMLClass findClass(UMLClass context, java.lang.String name)
          No comment provided by developer, please add a comment to improve documentation.
 UMLClass findClass(UMLClass context, java.lang.String name, boolean create)
          No comment provided by developer, please add a comment to improve documentation.
 UMLClass findClass(UMLClass context, java.lang.String name, boolean create, boolean coobraPersistent)
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator findFiles(java.lang.String searchName)
          No comment provided by developer, please add a comment to improve documentation.
 FPackage findFPackage(java.lang.String fullName)
          No comment provided by developer, please add a comment to improve documentation.
 FPackage findFPackage(java.lang.String fullName, boolean create)
          No comment provided by developer, please add a comment to improve documentation.
 FPackage findFPackage(java.lang.String fullName, boolean create, boolean coobraPersistent)
          No comment provided by developer, please add a comment to improve documentation.
 FClass findFReference(java.lang.String name)
          No comment provided by developer, please add a comment to improve documentation.
 FClass findFReference(java.lang.String name, boolean create)
          No comment provided by developer, please add a comment to improve documentation.
 FClass findFReference(java.lang.String name, boolean create, boolean coobraPersistent)
          No comment provided by developer, please add a comment to improve documentation.
 FType findFType(FClass context, java.lang.String name)
          No comment provided by developer, please add a comment to improve documentation.
 FType findFType(FClass context, java.lang.String name, boolean create)
          No comment provided by developer, please add a comment to improve documentation.
 FType findFType(FClass context, java.lang.String name, boolean create, boolean coobraPersistent)
          No comment provided by developer, please add a comment to improve documentation.
 UMLPackage findPackage(java.lang.String fullName)
          No comment provided by developer, please add a comment to improve documentation.
 UMLPackage findPackage(java.lang.String fullName, boolean create)
          No comment provided by developer, please add a comment to improve documentation.
 UMLPackage findPackage(java.lang.String fullName, boolean create, boolean coobraPersistent)
          No comment provided by developer, please add a comment to improve documentation.
 UMLClass findReference(java.lang.String name)
          No comment provided by developer, please add a comment to improve documentation.
 UMLClass findReference(java.lang.String name, boolean create)
          No comment provided by developer, please add a comment to improve documentation.
 UMLClass findReference(java.lang.String name, boolean create, boolean coobraPersistent)
          No comment provided by developer, please add a comment to improve documentation.
 UMLType findType(UMLClass context, java.lang.String name)
          No comment provided by developer, please add a comment to improve documentation.
 UMLType findType(UMLClass context, java.lang.String name, boolean create)
          No comment provided by developer, please add a comment to improve documentation.
 UMLType findType(UMLClass context, java.lang.String name, boolean create, boolean coobraPersistent)
          No comment provided by developer, please add a comment to improve documentation.
static UMLProject get()
          Use this method to get the instance of UMLProject.
 java.io.File getBackupFile()
           
 UMLClass getClassFromImports(UMLClass context, java.lang.String name)
          Searches the UMLClass with the name in the imports of the current UMLFile.
 UMLIncrement getClipboard()
          Get the clipboard attribute of the UMLProject object
 UMLDiagram getCurrentUMLDiagram()
          Get the currentUMLDiagram attribute of the UMLProject object
 UMLPackage getDefaultPackage()
          Searches for the default project and returns it.
 FClass getFClassFromImports(FClass context, java.lang.String name)
          Get the fClassFromImports attribute of the UMLProject object
 java.io.File getFile()
          Get the file attribute of the UMLProject object
 UMLBaseTypes getFromBaseTypes(java.lang.String key)
          Get the fromBaseTypes attribute of the UMLProject object
 UMLClass getFromClasses(java.lang.String fullClassName)
          Retrieve a class with the given full qualified (with package) class name.
 UMLDiagram getFromDiags(java.lang.String name)
          Get the fromDiags attribute of the UMLProject object
 FType getFromFBaseTypes(java.lang.String key)
          Get the fromFBaseTypes attribute of the UMLProject object
 UMLFile getFromFiles(java.lang.String name)
          Get the fromFiles attribute of the UMLProject object
 FClass getFromFReferences(java.lang.String key)
          Get the fromFReferences attribute of the UMLProject object
static java.lang.Object getFromObjectHashTable(java.lang.String id)
          this method can be used on load time to find a restored object
 UMLPackage getFromPackages(java.lang.String key)
          Get the fromPackages attribute of the UMLProject object
 UMLClass getFromReferences(java.lang.String key)
          Get the fromReferences attribute of the UMLProject object
 FPackage getFRootPackage()
          Get the fRootPackage attribute of the UMLProject object
 FTypeList getFTypeList()
          Get the fTypeList attribute of the UMLProject object
 FrameMain getGui()
          Get the gui attribute of the UMLProject object
 java.lang.String getName()
          Get the name attribute of the UMLProject object
 FPackage getNewFromFPackages(java.lang.String fullName)
          Get the newFromFPackages attribute of the UMLProject object
 FPackage getNewFromFPackages(java.lang.String fullName, boolean coobraPersistent)
          Get the newFromFPackages attribute of the UMLProject object
 UMLPackage getNewFromPackages(java.lang.String fullName)
          Searches for a package with the full-name fullname and returns this package.
 UMLPackage getNewFromPackages(java.lang.String fullName, boolean coobraPersistent)
          Get the newFromPackages attribute of the UMLProject object
 UMLClass getOrNewClass(java.lang.String name)
          Get the orNewClass attribute of the UMLProject object
 UMLClass getOrNewClass(java.lang.String name, boolean coobraPersistent)
          Get the orNewClass attribute of the UMLProject object
 UMLClass getOrNewClass(UMLClass context, java.lang.String name)
          Get the orNewClass attribute of the UMLProject object
 UMLClass getOrNewClass(UMLClass context, java.lang.String name, boolean coobraPersistent)
          Get the orNewClass attribute of the UMLProject object
 FClass getOrNewFromFReferences(java.lang.String name)
          Get the orNewFromFReferences attribute of the UMLProject object
 FClass getOrNewFromFReferences(java.lang.String name, boolean coobraPersistent)
          Get the orNewFromFReferences attribute of the UMLProject object
 UMLClass getOrNewFromReferences(java.lang.String name)
          Get the orNewFromReferences attribute of the UMLProject object
 UMLClass getOrNewFromReferences(java.lang.String name, boolean coobraPersistent)
          Get the orNewFromReferences attribute of the UMLProject object
 FType getOrNewFType(FClass context, java.lang.String name)
          Get the orNewFType attribute of the UMLProject object
 FType getOrNewFType(FClass context, java.lang.String name, boolean coobraPersistent)
          Get the orNewFType attribute of the UMLProject object
 UMLType getOrNewType(UMLClass context, java.lang.String name)
          Get the orNewType attribute of the UMLProject object
 UMLType getOrNewType(UMLClass context, java.lang.String name, boolean coobraPersistent)
          Get the orNewType attribute of the UMLProject object
static java.lang.String getOuterClassOfFullQualifiedType(java.lang.String type)
          gives back the outer class name of an inner class. recognizes both the dot and dollar formats. for example: type = java.lang.String returns "" type = java.util.Map.Entry or type = java.util.Map$Entry returns java.util.Map type = Map.Entry returns Map
static java.lang.String getPackageOfFullQualifiedType(java.lang.String type)
          gives back the package name of a full qualified class or type. for example: type = java.lang.String returns java.lang type = java.util.Map.Entry returns java.util
 java.lang.String getRootDir()
          Get the rootDir attribute of the UMLProject object
 UMLPackage getRootPackage()
          Get the rootPackage attribute of the UMLProject object
static SourceCodeFactory getSourceCodeFactory()
          Get the sourceCodeFactory attribute of the UMLProject class
 UMLStereotypeManager getStereotypeManager()
           
 UMLTypeList getTypeList()
          Get the typeList attribute of the UMLProject object
static java.lang.String getTypeOfFullQualifiedType(java.lang.String type)
          gives back the class or type of a full qualified class or type. for example: type = java.lang.String returns String type = java.util.Map.Entry returns Entry
 boolean hasInBaseTypes(java.lang.String key)
          No comment provided by developer, please add a comment to improve documentation.
 boolean hasInClasses(java.lang.String fullClassName)
          Query if a class exists
 boolean hasInClasses(UMLClass elem)
          No comment provided by developer, please add a comment to improve documentation.
 boolean hasInFiles(java.lang.String name)
          No comment provided by developer, please add a comment to improve documentation.
 boolean hasInFiles(UMLFile value)
          No comment provided by developer, please add a comment to improve documentation.
 boolean hasInPackages(java.lang.String key)
          No comment provided by developer, please add a comment to improve documentation.
 boolean hasInReferences(UMLClass obj)
          No comment provided by developer, please add a comment to improve documentation.
 boolean hasKeyInReferences(java.lang.String key)
          No comment provided by developer, please add a comment to improve documentation.
private static void inconsistencyRemoveObject(BasicIncrement incr)
          No comment provided by developer, please add a comment to improve documentation.
static boolean isInitialized()
           
static boolean isLoading()
          Get the loading attribute of the UMLProject class
 boolean isSaved()
          Get the saved attribute of the UMLProject object
 java.util.Iterator iteratorOfAllUndefinedMethods()
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator iteratorOfFiles()
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator iteratorOfPackages()
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator iteratorOfReferences()
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator keysOfReferences()
          No comment provided by developer, please add a comment to improve documentation.
private static java.lang.Object loadPluginClass(java.lang.String className, java.util.Hashtable plugins)
          This method is only for old project file format.
static UMLProject loadProject(java.io.BufferedReader reader, java.lang.String fileName)
          Original loadProject method.
static UMLProject loadProject(java.io.File inputFile)
          No comment provided by developer, please add a comment to improve documentation.
 void refreshDisplay()
          Refreshs the visual representation by explicit synchronization.
 void removeAllFromDiags()
          No comment provided by developer, please add a comment to improve documentation.
 void removeAllFromFiles()
          No comment provided by developer, please add a comment to improve documentation.
 void removeAllFromReferences()
          No comment provided by developer, please add a comment to improve documentation.
 void removeAllPackages()
          No comment provided by developer, please add a comment to improve documentation.
 boolean removeFromFiles(UMLFile value)
          No comment provided by developer, please add a comment to improve documentation.
 boolean removeFromReferences(java.lang.String key, UMLClass obj)
          for loading
 boolean removeFromReferences(UMLClass obj)
          No comment provided by developer, please add a comment to improve documentation.
 boolean removeKeyFromReferences(java.lang.String key)
          No comment provided by developer, please add a comment to improve documentation.
static java.lang.String removePackageFromFullQualifiedType(java.lang.String type)
          gives back the class name of a full qualified class with the package removed. for example: type = java.lang.String returns String type = java.util.Map.Entry returns Map.Entry
 void removeYou()
          Isolates the object so the garbage collector can remove it.
 void repairFiles()
          No comment provided by developer, please add a comment to improve documentation.
static ASGDiagram retrieveDiagramByName(java.lang.String name)
          Retrieve the diagram by the specified name.
 boolean saveProject(java.io.File outputFile)
          No comment provided by developer, please add a comment to improve documentation.
 ASGElement searchID(java.lang.String id)
          No comment provided by developer, please add a comment to improve documentation.
 void setClipboard(UMLIncrement clipboard)
          Sets the clipboard attribute of the UMLProject object
 void setFile(java.io.File file)
          Sets the file attribute of the UMLProject object
 void setGui(FrameMain gui)
          Sets the gui attribute of the UMLProject object
static void setLoading(boolean flag)
          Sets the loading attribute of the UMLProject class
 void setName(java.lang.String name)
          Sets the name attribute of the UMLProject object
static void setNewProject(UMLProject newProject)
          Removes the old project and sets a new one.
 void setRootDir(java.lang.String rootDir)
          Sets the rootDir attribute of the UMLProject object
 void setRootPackage(FPackage rootPackage)
          Sets the rootPackage attribute of the UMLProject object
 void setRootPackage(UMLPackage rootPackage)
          There should be no need to set the rootPackage outside of this class.
 void setSaved(boolean saved)
          Sets the saved attribute of the UMLProject object
 void setTypeList(UMLTypeList typeList)
          Sets the typeList attribute of the UMLProject object
 int sizeOfFiles()
          No comment provided by developer, please add a comment to improve documentation.
 int sizeOfReferences()
          No comment provided by developer, please add a comment to improve documentation.
 
Methods inherited from class de.uni_paderborn.fujaba.asg.ASGProject
addToDiags, getCurrentDiagram, getParentElement, hasInDiags, iteratorOfDiags, removeFromDiags, setCurrentDiagram
 
Methods inherited from class de.uni_paderborn.fujaba.asg.ASGElement
acknowledgeChange, addAdditionalListener, addPointToUnparseInformation, addPropertyChangeListener, addPropertyChangeListener, addToAnnotations, addToDiagrams, addToElementReferences, addToElementReferences, addToFsaObjects, addToLocations, addToLocations, addToPropertyChangeListeners, addToPropertyChangeListeners, addToUnparseInformations, addToUnparseInformations, addToUserMessages, deleteTokens, elementsOfDiagrams, entriesOfElementReferences, entriesOfFsaObjects, entriesOfUnparseInformations, fireEvent, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getCoObRAId, getFirstFromFSAObjects, getFirstOOGenToken, getFromElementReferences, getFromFElementReferences, getFromFsaObjects, getFromUnparseInformations, getFSAInterface, getLastModified, getLastOOGenToken, getPointFromUnparseInformation, getPropertyChangeSupport, getRepository, getText, getTransientElements, getUnparseModuleName, getUnparseModuleNameImpl, hasInAnnotations, hasInDiagrams, hasInElementReferences, hasInElementReferences, hasInFsaObjects, hasKeyInElementReferences, hasKeyInFsaObjects, initPersistency, isCoobraPersistent, isInspectableField, isInTransientMode, isReadOnly, iteratorOfAnnotations, iteratorOfDiagrams, iteratorOfElementReferences, iteratorOfFsaObjects, iteratorOfKeyFromUnparseInformations, iteratorOfUnparseInformations, iteratorOfUserMessages, keysOfElementReferences, keysOfFsaObjects, keysOfUnparseInformations, proposeFieldValues, removeAdditionalListener, removeAllFromAnnotations, removeAllFromDiagrams, removeAllFromElementReferences, removeAllFromFsaObjects, removeAllFromUnparseInformations, removeAllFromUserMessages, removeFromAnnotations, removeFromDiagrams, removeFromElementReferences, removeFromElementReferences, removeFromFsaObjects, removeFromPropertyChangeListeners, removeFromPropertyChangeListeners, removeFromUnparseInformations, removeFromUnparseInformations, removeFromUnparseInformations, removeFromUserMessages, removeKeyFromElementReferences, removeKeyFromFsaObjects, removePropertyChangeListener, removePropertyChangeListener, saveFSAProperties, saveLocations, setCoObRAId, setCutCopyPasteParent, setFirstOOGenToken, setGenerated, setInTransientMode, setLastOOGenToken, setRepository, setUnparseModuleName, sizeOfAnnotations, sizeOfDiagrams, sizeOfElementReferences, sizeOfFsaObjects, sizeOfUserMessages, updateFSACollapsed, updateFSALocation, updateKeyInFsaObjects, writeAttributes
 
Methods inherited from class de.uni_paderborn.fujaba.basic.BasicIncrement
compareTo, getID, getUniqueID, getUniqueID, isGenerated, lessUniqueId, readAttributes, readAttributes, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, resetClassInfos, resetFieldWriteMethods, setAttribValue, setAttribValue, setID, setUniqueId, writeClassToStringBuffer, writeClassToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.uni_paderborn.fujaba.metamodel.FProject
addToDiags, iteratorOfDiags
 
Methods inherited from interface de.uni_paderborn.fujaba.metamodel.FElement
addToAnnotations, addToDiagrams, addToElementReferences, addToElementReferences, addToUserMessages, deleteTokens, entriesOfElementReferences, getFirstOOGenToken, getFromFElementReferences, getLastOOGenToken, getParentElement, getText, hasInAnnotations, hasInDiagrams, hasInElementReferences, hasInElementReferences, hasKeyInElementReferences, isCoobraPersistent, isGenerated, iteratorOfAnnotations, iteratorOfDiagrams, iteratorOfElementReferences, iteratorOfUserMessages, keysOfElementReferences, removeAllFromAnnotations, removeAllFromDiagrams, removeAllFromElementReferences, removeAllFromUserMessages, removeFromAnnotations, removeFromDiagrams, removeFromElementReferences, removeFromElementReferences, removeFromUserMessages, removeKeyFromElementReferences, setCutCopyPasteParent, setFirstOOGenToken, setGenerated, setLastOOGenToken, sizeOfAnnotations, sizeOfDiagrams, sizeOfElementReferences, sizeOfUserMessages
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface de.uni_paderborn.fujaba.basic.UniqueIdentifier
getID
 
Methods inherited from interface de.uni_paderborn.fujaba.fsa.unparse.LogicUnparseInterface
getFSAInterface, getUnparseModuleName
 
Methods inherited from interface de.upb.tools.pcs.PropertyChangeInterface
getPropertyChangeSupport
 
Methods inherited from interface de.upb.tools.pcs.PropertyChangeClient
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from interface de.tu_bs.coobra.ObjectChangeAware
acknowledgeChange, getCoObRAId, getRepository, setCoObRAId, setRepository
 
Methods inherited from interface de.uni_kassel.prop.InspectionAware
isInspectableField, proposeFieldValues
 

Field Detail

log

private static final transient org.apache.log4j.Logger log
log4j logging


PROPERTY_TYPE_LIST

public static final java.lang.String PROPERTY_TYPE_LIST
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

PROPERTY_FILES

public static final java.lang.String PROPERTY_FILES
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

FILE_VERSION

public static final transient int FILE_VERSION
The current file version for Fujaba project files.

See Also:
Constant Field Values

theUMLProject

private static UMLProject theUMLProject
The singleton instance.


backupFile

private java.io.File backupFile
file name for immediate store


backupStream

private java.io.OutputStream backupStream
output stream for immediate store


rootPackage

private UMLPackage rootPackage
The used java-packages are saved in a package-tree. The root of this tree is the variable this.rootPackage. The parameter fullName is the full name of the package, with dots as separators. Attention: The name of a package is the simple name, the full name of a package is build by searching the package-tree. So if you want to add a package, e.g. newPackge, with a full-name, e.g. fullName, you have to do two things: first, leafe the name of the package empty second, call the function this.addToPackages( newPackge,fullName ))
            -/-                     1
 UMLProject <-----------------------> UMLPackage
            -/-           rootPackage
 

See Also:
getRootPackage(), getNewFromPackages(String), getDefaultPackage()

sourceCodeFactory

private static transient SourceCodeFactory sourceCodeFactory
No comment provided by developer, please add a comment to improve documentation.


file

private transient java.io.File file
No comment provided by developer, please add a comment to improve documentation.


rootDir

private java.lang.String rootDir
No comment provided by developer, please add a comment to improve documentation.


name

private java.lang.String name
No comment provided by developer, please add a comment to improve documentation.


clipboard

private transient UMLIncrement clipboard
No comment provided by developer, please add a comment to improve documentation.


files

private de.upb.tools.fca.FPropTreeSet files
use this to get all the files of the project


references

private de.upb.tools.fca.FPropHashMap references
            +------+ 1                                   1
 UMLProject + name +--------------------------------------- UMLClass
            +------+ declaredInReferences       references
 


typeList

private UMLTypeList typeList
No comment provided by developer, please add a comment to improve documentation.


gui

private transient FrameMain gui
No comment provided by developer, please add a comment to improve documentation.


saved

private transient boolean saved
No comment provided by developer, please add a comment to improve documentation.


loading

private static transient boolean loading
No comment provided by developer, please add a comment to improve documentation.


objectHashTable

private static java.util.Hashtable objectHashTable
No comment provided by developer, please add a comment to improve documentation.


inconsistencyErrors

private static int inconsistencyErrors
No comment provided by developer, please add a comment to improve documentation.


stereotypeManager

private UMLStereotypeManager stereotypeManager
No comment provided by developer, please add a comment to improve documentation.

Constructor Detail

UMLProject

private UMLProject()
The private constructor.

See Also:
get()
Method Detail

getBackupFile

public java.io.File getBackupFile()
Returns:
current backup file

isInitialized

public static boolean isInitialized()
Returns:
true when a UMLProject was already created

get

public static UMLProject get()
Use this method to get the instance of UMLProject.

Returns:
The singleton instance

setNewProject

public static final void setNewProject(UMLProject newProject)
Removes the old project and sets a new one.

Parameters:
newProject - The new newProject value

createPlainProject

public static final UMLProject createPlainProject()
The current project will be removed and a new one is returned with an initialized base type list.

Returns:
A new project with an initialized base type list

createUnparseModuleName

protected java.lang.String createUnparseModuleName()
No comment provided by developer, please add a comment to improve documentation.

Overrides:
createUnparseModuleName in class ASGElement
Returns:
No description provided

searchID

public ASGElement searchID(java.lang.String id)
No comment provided by developer, please add a comment to improve documentation.

Overrides:
searchID in class ASGProject
Parameters:
id - No description provided
Returns:
No description provided

setRootPackage

public void setRootPackage(UMLPackage rootPackage)
There should be no need to set the rootPackage outside of this class. But it must be for the load and save mechanism, until now. Hopefully this will be corrected by inro as soon as possible.

Parameters:
rootPackage - The new rootPackage value

getRootPackage

public UMLPackage getRootPackage()
Get the rootPackage attribute of the UMLProject object

Returns:
The rootPackage value

hasInPackages

public boolean hasInPackages(java.lang.String key)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
key - Parameter description
Returns:
Return Value description

getFromPackages

public UMLPackage getFromPackages(java.lang.String key)
Get the fromPackages attribute of the UMLProject object

Parameters:
key - Parameter description
Returns:
The fromPackages value

getNewFromPackages

public UMLPackage getNewFromPackages(java.lang.String fullName)
Searches for a package with the full-name fullname and returns this package. If there is no package, it will be created.

Parameters:
fullName - Parameter description
Returns:
The newFromPackages value

getNewFromPackages

public UMLPackage getNewFromPackages(java.lang.String fullName,
                                     boolean coobraPersistent)
Get the newFromPackages attribute of the UMLProject object

Parameters:
fullName - No description provided
coobraPersistent - No description provided
Returns:
The newFromPackages value

findPackage

public UMLPackage findPackage(java.lang.String fullName)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
fullName - No description provided
Returns:
No description provided

findPackage

public UMLPackage findPackage(java.lang.String fullName,
                              boolean create)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
fullName - No description provided
create - No description provided
Returns:
No description provided

findPackage

public UMLPackage findPackage(java.lang.String fullName,
                              boolean create,
                              boolean coobraPersistent)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
fullName - No description provided
create - No description provided
coobraPersistent - No description provided
Returns:
No description provided

getDefaultPackage

public UMLPackage getDefaultPackage()
Searches for the default project and returns it. Creates a default project if there was no default project.

Returns:
The defaultPackage value

iteratorOfPackages

public java.util.Iterator iteratorOfPackages()
No comment provided by developer, please add a comment to improve documentation.

Specified by:
iteratorOfPackages in interface FProject
Returns:
Return Value description

getPackageOfFullQualifiedType

public static java.lang.String getPackageOfFullQualifiedType(java.lang.String type)
gives back the package name of a full qualified class or type. for example:
    type = java.lang.String
    returns java.lang

    type = java.util.Map.Entry
    returns java.util
 

Parameters:
type - Parameter description
Returns:
The packageOfFullQualifiedType value

getOuterClassOfFullQualifiedType

public static java.lang.String getOuterClassOfFullQualifiedType(java.lang.String type)
gives back the outer class name of an inner class. recognizes both the dot and dollar formats. for example:
    type = java.lang.String
    returns ""

    type = java.util.Map.Entry or
    type = java.util.Map$Entry
    returns java.util.Map

    type = Map.Entry
    returns Map
 

Parameters:
type - No description provided
Returns:
The outerClassOfFullQualifiedType value

getTypeOfFullQualifiedType

public static java.lang.String getTypeOfFullQualifiedType(java.lang.String type)
gives back the class or type of a full qualified class or type. for example:
    type = java.lang.String
    returns String

    type = java.util.Map.Entry
    returns Entry
 

Parameters:
type - Parameter description
Returns:
The typeOfFullQualifiedType value

removePackageFromFullQualifiedType

public static java.lang.String removePackageFromFullQualifiedType(java.lang.String type)
gives back the class name of a full qualified class with the package removed. for example:
    type = java.lang.String
    returns String

    type = java.util.Map.Entry
    returns Map.Entry
    

Parameters:
type - No description provided
Returns:
No description provided

addToPackages

public void addToPackages(UMLPackage elem,
                          java.lang.String fullName)
Adds a feature to the ToPackages attribute of the UMLProject object

Parameters:
elem - Access method for an one to n association.
fullName - Access method for an one to n association.

addToPackages

public void addToPackages(java.lang.String fullName,
                          UMLPackage pkg)
for loading (versioning): add a package
effect: addToPackages( pkg, key );

Parameters:
fullName - full package name
pkg - the package to be added

removeAllPackages

public void removeAllPackages()
No comment provided by developer, please add a comment to improve documentation.


getSourceCodeFactory

public static SourceCodeFactory getSourceCodeFactory()
Get the sourceCodeFactory attribute of the UMLProject class

Returns:
The sourceCodeFactory value

getFile

public java.io.File getFile()
Get the file attribute of the UMLProject object

Returns:
The file value

setFile

public void setFile(java.io.File file)
Sets the file attribute of the UMLProject object

Parameters:
file - The new file value

getRootDir

public java.lang.String getRootDir()
Get the rootDir attribute of the UMLProject object

Returns:
The rootDir value

setRootDir

public void setRootDir(java.lang.String rootDir)
Sets the rootDir attribute of the UMLProject object

Parameters:
rootDir - The new rootDir value

getName

public java.lang.String getName()
Get the name attribute of the UMLProject object

Specified by:
getName in interface FElement
Overrides:
getName in class ASGElement
Returns:
The name value

setName

public void setName(java.lang.String name)
Sets the name attribute of the UMLProject object

Specified by:
setName in interface FElement
Overrides:
setName in class ASGElement
Parameters:
name - The new name value

getClipboard

public UMLIncrement getClipboard()
Get the clipboard attribute of the UMLProject object

Returns:
The clipboard value

setClipboard

public void setClipboard(UMLIncrement clipboard)
Sets the clipboard attribute of the UMLProject object

Parameters:
clipboard - The new clipboard value

hasInFiles

public boolean hasInFiles(UMLFile value)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
value - Parameter description
Returns:
Return Value description

hasInFiles

public boolean hasInFiles(java.lang.String name)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
name - Parameter description
Returns:
Return Value description

getFromFiles

public UMLFile getFromFiles(java.lang.String name)
Get the fromFiles attribute of the UMLProject object

Parameters:
name - Parameter description
Returns:
The fromFiles value

findFiles

public java.util.Iterator findFiles(java.lang.String searchName)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
searchName - No description provided
Returns:
No description provided

repairFiles

public void repairFiles()
No comment provided by developer, please add a comment to improve documentation.


iteratorOfFiles

public java.util.Iterator iteratorOfFiles()
No comment provided by developer, please add a comment to improve documentation.

Specified by:
iteratorOfFiles in interface FProject
Returns:
Return Value description

sizeOfFiles

public int sizeOfFiles()
No comment provided by developer, please add a comment to improve documentation.

Returns:
Return Value description

addToFiles

public boolean addToFiles(UMLFile value)
Adds a feature to the ToFiles attribute of the UMLProject object

Parameters:
value - Access method for an one to n association.
Returns:
Return Value description

addToFiles

public void addToFiles(KeyValuePair pair)
Adds a feature to the ToFiles attribute of the UMLProject object

Parameters:
pair - Access method for an one to n association.

removeFromFiles

public boolean removeFromFiles(UMLFile value)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
value - Parameter description
Returns:
Return Value description

removeAllFromFiles

public void removeAllFromFiles()
No comment provided by developer, please add a comment to improve documentation.


hasInBaseTypes

public boolean hasInBaseTypes(java.lang.String key)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
key - Parameter description
Returns:
Return Value description

getFromBaseTypes

public UMLBaseTypes getFromBaseTypes(java.lang.String key)
Get the fromBaseTypes attribute of the UMLProject object

Parameters:
key - Parameter description
Returns:
The fromBaseTypes value

elementsOfClasses

public java.util.Enumeration elementsOfClasses()
use this to get all the classes of the project

Returns:
Return Value description

hasInClasses

public boolean hasInClasses(java.lang.String fullClassName)
Query if a class exists

Parameters:
fullClassName - full qualified class name
Returns:
getFromClasses (fullClassName) != null

hasInClasses

public boolean hasInClasses(UMLClass elem)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
elem - Parameter description
Returns:
Return Value description

getFromClasses

public UMLClass getFromClasses(java.lang.String fullClassName)
Retrieve a class with the given full qualified (with package) class name.

Parameters:
fullClassName - full qualified class name
Returns:
the class with the given package and name

hasInReferences

public boolean hasInReferences(UMLClass obj)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
obj - Parameter description
Returns:
Return Value description

hasKeyInReferences

public boolean hasKeyInReferences(java.lang.String key)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
key - full qualified class name
Returns:
Return Value description

iteratorOfReferences

public java.util.Iterator iteratorOfReferences()
No comment provided by developer, please add a comment to improve documentation.

Returns:
Return Value description

keysOfReferences

public java.util.Iterator keysOfReferences()
No comment provided by developer, please add a comment to improve documentation.

Returns:
Return Value description

entriesOfReferences

public java.util.Iterator entriesOfReferences()
No comment provided by developer, please add a comment to improve documentation.

Returns:
Return Value description

sizeOfReferences

public int sizeOfReferences()
No comment provided by developer, please add a comment to improve documentation.

Returns:
Return Value description

getFromReferences

public UMLClass getFromReferences(java.lang.String key)
Get the fromReferences attribute of the UMLProject object

Parameters:
key - full qualified class name
Returns:
The fromReferences value

addToReferences

public boolean addToReferences(UMLClass obj)
Adds a feature to the ToReferences attribute of the UMLProject object

Parameters:
obj - Access method for an one to n association.
Returns:
Return Value description

removeFromReferences

public boolean removeFromReferences(UMLClass obj)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
obj - Parameter description
Returns:
Return Value description

removeFromReferences

public boolean removeFromReferences(java.lang.String key,
                                    UMLClass obj)
for loading

Parameters:
key - (ignored)
obj - Class to remove from references
Returns:
true when something was changed

removeKeyFromReferences

public boolean removeKeyFromReferences(java.lang.String key)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
key - full qualified class name
Returns:
Return Value description

removeAllFromReferences

public void removeAllFromReferences()
No comment provided by developer, please add a comment to improve documentation.


addToReferences

public void addToReferences(KeyValuePair pair)
Adds a feature to the ToReferences attribute of the UMLProject object
this method is needed only for loading OrderedMaps do not use it in other cases

Parameters:
pair - key-value-pair

addToReferences

public void addToReferences(java.lang.String key,
                            UMLClass value)
Adds a feature to the ToReferences attribute of the UMLProject object
this method is needed only for loading OrderedMaps do not use it in other cases

Parameters:
key - key for
value - new value

getOrNewType

public UMLType getOrNewType(UMLClass context,
                            java.lang.String name)
Get the orNewType attribute of the UMLProject object

Parameters:
context - Parameter description
name - Parameter description
Returns:
The orNewType value

getOrNewType

public UMLType getOrNewType(UMLClass context,
                            java.lang.String name,
                            boolean coobraPersistent)
Get the orNewType attribute of the UMLProject object

Parameters:
context - No description provided
name - No description provided
coobraPersistent - No description provided
Returns:
The orNewType value

findType

public UMLType findType(UMLClass context,
                        java.lang.String name)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
context - No description provided
name - No description provided
Returns:
No description provided

findType

public UMLType findType(UMLClass context,
                        java.lang.String name,
                        boolean create)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
context - No description provided
name - No description provided
create - No description provided
Returns:
No description provided

findType

public UMLType findType(UMLClass context,
                        java.lang.String name,
                        boolean create,
                        boolean coobraPersistent)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
context - No description provided
name - No description provided
create - No description provided
coobraPersistent - No description provided
Returns:
No description provided

getOrNewClass

public UMLClass getOrNewClass(java.lang.String name)
Get the orNewClass attribute of the UMLProject object

Parameters:
name - Parameter description
Returns:
The orNewClass value

getOrNewClass

public UMLClass getOrNewClass(java.lang.String name,
                              boolean coobraPersistent)
Get the orNewClass attribute of the UMLProject object

Parameters:
name - No description provided
coobraPersistent - No description provided
Returns:
The orNewClass value

getOrNewClass

public UMLClass getOrNewClass(UMLClass context,
                              java.lang.String name)
Get the orNewClass attribute of the UMLProject object

Parameters:
context - Parameter description
name - Parameter description
Returns:
The orNewClass value

getOrNewClass

public UMLClass getOrNewClass(UMLClass context,
                              java.lang.String name,
                              boolean coobraPersistent)
Get the orNewClass attribute of the UMLProject object

Parameters:
context - No description provided
name - No description provided
coobraPersistent - No description provided
Returns:
The orNewClass value

findClass

public UMLClass findClass(UMLClass context,
                          java.lang.String name)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
context - No description provided
name - No description provided
Returns:
No description provided

findClass

public UMLClass findClass(UMLClass context,
                          java.lang.String name,
                          boolean create)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
context - No description provided
name - No description provided
create - No description provided
Returns:
No description provided

findClass

public UMLClass findClass(UMLClass context,
                          java.lang.String name,
                          boolean create,
                          boolean coobraPersistent)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
context - No description provided
name - No description provided
create - No description provided
coobraPersistent - No description provided
Returns:
No description provided

iteratorOfAllUndefinedMethods

public java.util.Iterator iteratorOfAllUndefinedMethods()
No comment provided by developer, please add a comment to improve documentation.

Returns:
Return Value description

getClassFromImports

public UMLClass getClassFromImports(UMLClass context,
                                    java.lang.String name)
Searches the UMLClass with the name in the imports of the current UMLFile.

Parameters:
context - Parameter description
name - Parameter description
Returns:
The classFromImports value

getOrNewFromReferences

public UMLClass getOrNewFromReferences(java.lang.String name)
Get the orNewFromReferences attribute of the UMLProject object

Parameters:
name - full qualified class name
Returns:
The orNewFromReferences value

getOrNewFromReferences

public UMLClass getOrNewFromReferences(java.lang.String name,
                                       boolean coobraPersistent)
Get the orNewFromReferences attribute of the UMLProject object

Parameters:
name - No description provided
coobraPersistent - No description provided
Returns:
The orNewFromReferences value

findReference

public UMLClass findReference(java.lang.String name)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
name - No description provided
Returns:
No description provided

findReference

public UMLClass findReference(java.lang.String name,
                              boolean create)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
name - No description provided
create - No description provided
Returns:
No description provided

findReference

public UMLClass findReference(java.lang.String name,
                              boolean create,
                              boolean coobraPersistent)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
name - No description provided
create - No description provided
coobraPersistent - No description provided
Returns:
No description provided

createClass

private UMLClass createClass(java.lang.String name,
                             boolean coobraPersistent,
                             boolean reference)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
name - No description provided
coobraPersistent - No description provided
reference - No description provided
Returns:
No description provided

removeAllFromDiags

public void removeAllFromDiags()
No comment provided by developer, please add a comment to improve documentation.

Overrides:
removeAllFromDiags in class ASGProject

getFromDiags

public UMLDiagram getFromDiags(java.lang.String name)
Get the fromDiags attribute of the UMLProject object

Parameters:
name - Parameter description
Returns:
The fromDiags value

retrieveDiagramByName

public static ASGDiagram retrieveDiagramByName(java.lang.String name)
Retrieve the diagram by the specified name.

Parameters:
name - The name of the diagram to search for.
Returns:
Return the diagram or null, if no such diagram exists.

getTypeList

public UMLTypeList getTypeList()
Get the typeList attribute of the UMLProject object

Returns:
The typeList value

setTypeList

public void setTypeList(UMLTypeList typeList)
Sets the typeList attribute of the UMLProject object

Parameters:
typeList - The new typeList value

getGui

public FrameMain getGui()
Get the gui attribute of the UMLProject object

Returns:
The gui value

setGui

public void setGui(FrameMain gui)
Sets the gui attribute of the UMLProject object

Parameters:
gui - The new gui value

isSaved

public boolean isSaved()
Get the saved attribute of the UMLProject object

Returns:
The saved value

setSaved

public void setSaved(boolean saved)
Sets the saved attribute of the UMLProject object

Parameters:
saved - The new saved value

createProjectBackup

private boolean createProjectBackup(java.io.File outputFile)
Creates a *.bak.fpr project backup if the given outputFile quite exists.

Parameters:
outputFile - No description provided
Returns:
true if backup was created successfully

saveProject

public boolean saveProject(java.io.File outputFile)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
outputFile - Parameter description
Returns:
Return Value description

createLineTokenizer

private static final java.util.StringTokenizer createLineTokenizer(java.lang.String line)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
line - Parameter description
Returns:
Return Value description

isLoading

public static boolean isLoading()
Get the loading attribute of the UMLProject class

Returns:
The loading value

setLoading

public static void setLoading(boolean flag)
Sets the loading attribute of the UMLProject class

Parameters:
flag - The new loading value

loadProject

public static final UMLProject loadProject(java.io.File inputFile)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
inputFile - No description provided
Returns:
No description provided

getFromObjectHashTable

public static java.lang.Object getFromObjectHashTable(java.lang.String id)
this method can be used on load time to find a restored object

Parameters:
id -
Returns:
object with specified id

loadProject

public static final UMLProject loadProject(java.io.BufferedReader reader,
                                           java.lang.String fileName)
Original loadProject method.

Parameters:
reader - No description provided
fileName - No description provided
Returns:
Return Value description

loadPluginClass

private static java.lang.Object loadPluginClass(java.lang.String className,
                                                java.util.Hashtable plugins)
                                         throws java.lang.Exception
This method is only for old project file format. It can be removed, if we do not want load the project files less than 4.0.1

Parameters:
className - No description provided
plugins - No description provided
Returns:
No description provided
Throws:
java.lang.Exception - Exception description not provided

inconsistencyRemoveObject

private static void inconsistencyRemoveObject(BasicIncrement incr)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
incr - Parameter description

getCurrentUMLDiagram

public UMLDiagram getCurrentUMLDiagram()
Get the currentUMLDiagram attribute of the UMLProject object

Returns:
The currentUMLDiagram value

refreshDisplay

public void refreshDisplay()
Refreshs the visual representation by explicit synchronization.


removeYou

public void removeYou()
Isolates the object so the garbage collector can remove it.

Specified by:
removeYou in interface FElement
Overrides:
removeYou in class ASGProject

deleteBackupFile

public void deleteBackupFile()
delete backup file used for immediate store


getStereotypeManager

public UMLStereotypeManager getStereotypeManager()
Returns:
the UMLStereotypeManager for this Project

setRootPackage

public void setRootPackage(FPackage rootPackage)
Sets the rootPackage attribute of the UMLProject object

Specified by:
setRootPackage in interface FProject
Parameters:
rootPackage - The new rootPackage value

getFRootPackage

public FPackage getFRootPackage()
Get the fRootPackage attribute of the UMLProject object

Specified by:
getFRootPackage in interface FProject
Returns:
The fRootPackage value

findFPackage

public FPackage findFPackage(java.lang.String fullName,
                             boolean create)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
findFPackage in interface FProject
Parameters:
fullName - No description provided
create - No description provided
Returns:
No description provided

findFPackage

public FPackage findFPackage(java.lang.String fullName,
                             boolean create,
                             boolean coobraPersistent)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
findFPackage in interface FProject
Parameters:
fullName - No description provided
create - No description provided
coobraPersistent - No description provided
Returns:
No description provided

getNewFromFPackages

public FPackage getNewFromFPackages(java.lang.String fullName)
Get the newFromFPackages attribute of the UMLProject object

Specified by:
getNewFromFPackages in interface FProject
Parameters:
fullName - No description provided
Returns:
The newFromFPackages value

getNewFromFPackages

public FPackage getNewFromFPackages(java.lang.String fullName,
                                    boolean coobraPersistent)
Get the newFromFPackages attribute of the UMLProject object

Specified by:
getNewFromFPackages in interface FProject
Parameters:
fullName - No description provided
coobraPersistent - No description provided
Returns:
The newFromFPackages value

findFPackage

public FPackage findFPackage(java.lang.String fullName)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
findFPackage in interface FProject
Parameters:
fullName - No description provided
Returns:
No description provided

getFromFBaseTypes

public FType getFromFBaseTypes(java.lang.String key)
Get the fromFBaseTypes attribute of the UMLProject object

Specified by:
getFromFBaseTypes in interface FProject
Parameters:
key - No description provided
Returns:
The fromFBaseTypes value

getFromFReferences

public FClass getFromFReferences(java.lang.String key)
Get the fromFReferences attribute of the UMLProject object

Specified by:
getFromFReferences in interface FProject
Parameters:
key - No description provided
Returns:
The fromFReferences value

getOrNewFType

public FType getOrNewFType(FClass context,
                           java.lang.String name)
Get the orNewFType attribute of the UMLProject object

Specified by:
getOrNewFType in interface FProject
Parameters:
context - No description provided
name - No description provided
Returns:
The orNewFType value

getOrNewFType

public FType getOrNewFType(FClass context,
                           java.lang.String name,
                           boolean coobraPersistent)
Get the orNewFType attribute of the UMLProject object

Specified by:
getOrNewFType in interface FProject
Parameters:
context - No description provided
name - No description provided
coobraPersistent - No description provided
Returns:
The orNewFType value

findFType

public FType findFType(FClass context,
                       java.lang.String name)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
findFType in interface FProject
Parameters:
context - No description provided
name - No description provided
Returns:
No description provided

findFType

public FType findFType(FClass context,
                       java.lang.String name,
                       boolean create)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
findFType in interface FProject
Parameters:
context - No description provided
name - No description provided
create - No description provided
Returns:
No description provided

findFType

public FType findFType(FClass context,
                       java.lang.String name,
                       boolean create,
                       boolean coobraPersistent)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
findFType in interface FProject
Parameters:
context - No description provided
name - No description provided
create - No description provided
coobraPersistent - No description provided
Returns:
No description provided

getOrNewFromFReferences

public FClass getOrNewFromFReferences(java.lang.String name)
Get the orNewFromFReferences attribute of the UMLProject object

Specified by:
getOrNewFromFReferences in interface FProject
Parameters:
name - No description provided
Returns:
The orNewFromFReferences value

getOrNewFromFReferences

public FClass getOrNewFromFReferences(java.lang.String name,
                                      boolean coobraPersistent)
Get the orNewFromFReferences attribute of the UMLProject object

Specified by:
getOrNewFromFReferences in interface FProject
Parameters:
name - No description provided
coobraPersistent - No description provided
Returns:
The orNewFromFReferences value

findFReference

public FClass findFReference(java.lang.String name)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
findFReference in interface FProject
Parameters:
name - No description provided
Returns:
No description provided

findFReference

public FClass findFReference(java.lang.String name,
                             boolean create)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
findFReference in interface FProject
Parameters:
name - No description provided
create - No description provided
Returns:
No description provided

findFReference

public FClass findFReference(java.lang.String name,
                             boolean create,
                             boolean coobraPersistent)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
findFReference in interface FProject
Parameters:
name - No description provided
create - No description provided
coobraPersistent - No description provided
Returns:
No description provided

getFTypeList

public FTypeList getFTypeList()
Get the fTypeList attribute of the UMLProject object

Specified by:
getFTypeList in interface FProject
Returns:
The fTypeList value

getFClassFromImports

public FClass getFClassFromImports(FClass context,
                                   java.lang.String name)
Get the fClassFromImports attribute of the UMLProject object

Specified by:
getFClassFromImports in interface FProject
Parameters:
context - No description provided
name - No description provided
Returns:
The fClassFromImports value