|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.uni_paderborn.fujaba.basic.BasicIncrement
de.uni_paderborn.fujaba.asg.ASGElement
de.uni_paderborn.fujaba.asg.ASGProject
de.uni_paderborn.fujaba.uml.UMLProject
+---------+ 1 1
UMLProject + name +--------------------------------------- UMLClass
+---------+ declaredInReferences references
------ 0..1 Assoc 0..1
UMLProject | ID |--------------------------------- BasicIncrement
------ refProject objectHashTable
| 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 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 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 |
private static final transient org.apache.log4j.Logger log
public static final java.lang.String PROPERTY_TYPE_LIST
public static final java.lang.String PROPERTY_FILES
public static final transient int FILE_VERSION
private static UMLProject theUMLProject
private java.io.File backupFile
private java.io.OutputStream backupStream
private UMLPackage rootPackage
-/- 1
UMLProject <-----------------------> UMLPackage
-/- rootPackage
getRootPackage(),
getNewFromPackages(String),
getDefaultPackage()private static transient SourceCodeFactory sourceCodeFactory
private transient java.io.File file
private java.lang.String rootDir
private java.lang.String name
private transient UMLIncrement clipboard
private de.upb.tools.fca.FPropTreeSet files
private de.upb.tools.fca.FPropHashMap references
+------+ 1 1
UMLProject + name +--------------------------------------- UMLClass
+------+ declaredInReferences references
private UMLTypeList typeList
private transient FrameMain gui
private transient boolean saved
private static transient boolean loading
private static java.util.Hashtable objectHashTable
private static int inconsistencyErrors
private UMLStereotypeManager stereotypeManager
| Constructor Detail |
private UMLProject()
get()| Method Detail |
public java.io.File getBackupFile()
public static boolean isInitialized()
public static UMLProject get()
public static final void setNewProject(UMLProject newProject)
newProject - The new newProject valuepublic static final UMLProject createPlainProject()
protected java.lang.String createUnparseModuleName()
createUnparseModuleName in class ASGElementpublic ASGElement searchID(java.lang.String id)
searchID in class ASGProjectid - No description provided
public void setRootPackage(UMLPackage rootPackage)
rootPackage - The new rootPackage valuepublic UMLPackage getRootPackage()
public boolean hasInPackages(java.lang.String key)
key - Parameter description
public UMLPackage getFromPackages(java.lang.String key)
key - Parameter description
public UMLPackage getNewFromPackages(java.lang.String fullName)
fullName - Parameter description
public UMLPackage getNewFromPackages(java.lang.String fullName,
boolean coobraPersistent)
fullName - No description providedcoobraPersistent - No description provided
public UMLPackage findPackage(java.lang.String fullName)
fullName - No description provided
public UMLPackage findPackage(java.lang.String fullName,
boolean create)
fullName - No description providedcreate - No description provided
public UMLPackage findPackage(java.lang.String fullName,
boolean create,
boolean coobraPersistent)
fullName - No description providedcreate - No description providedcoobraPersistent - No description provided
public UMLPackage getDefaultPackage()
public java.util.Iterator iteratorOfPackages()
iteratorOfPackages in interface FProjectpublic static java.lang.String getPackageOfFullQualifiedType(java.lang.String type)
type = java.lang.String
returns java.lang
type = java.util.Map.Entry
returns java.util
type - Parameter description
public static java.lang.String getOuterClassOfFullQualifiedType(java.lang.String type)
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
type - No description provided
public static java.lang.String getTypeOfFullQualifiedType(java.lang.String type)
type = java.lang.String
returns String
type = java.util.Map.Entry
returns Entry
type - Parameter description
public static java.lang.String removePackageFromFullQualifiedType(java.lang.String type)
type = java.lang.String
returns String
type = java.util.Map.Entry
returns Map.Entry
type - No description provided
public void addToPackages(UMLPackage elem,
java.lang.String fullName)
elem - Access method for an one to n association.fullName - Access method for an one to n association.
public void addToPackages(java.lang.String fullName,
UMLPackage pkg)
fullName - full package namepkg - the package to be addedpublic void removeAllPackages()
public static SourceCodeFactory getSourceCodeFactory()
public java.io.File getFile()
public void setFile(java.io.File file)
file - The new file valuepublic java.lang.String getRootDir()
public void setRootDir(java.lang.String rootDir)
rootDir - The new rootDir valuepublic java.lang.String getName()
getName in interface FElementgetName in class ASGElementpublic void setName(java.lang.String name)
setName in interface FElementsetName in class ASGElementname - The new name valuepublic UMLIncrement getClipboard()
public void setClipboard(UMLIncrement clipboard)
clipboard - The new clipboard valuepublic boolean hasInFiles(UMLFile value)
value - Parameter description
public boolean hasInFiles(java.lang.String name)
name - Parameter description
public UMLFile getFromFiles(java.lang.String name)
name - Parameter description
public java.util.Iterator findFiles(java.lang.String searchName)
searchName - No description provided
public void repairFiles()
public java.util.Iterator iteratorOfFiles()
iteratorOfFiles in interface FProjectpublic int sizeOfFiles()
public boolean addToFiles(UMLFile value)
value - Access method for an one to n association.
public void addToFiles(KeyValuePair pair)
pair - Access method for an one to n association.public boolean removeFromFiles(UMLFile value)
value - Parameter description
public void removeAllFromFiles()
public boolean hasInBaseTypes(java.lang.String key)
key - Parameter description
public UMLBaseTypes getFromBaseTypes(java.lang.String key)
key - Parameter description
public java.util.Enumeration elementsOfClasses()
public boolean hasInClasses(java.lang.String fullClassName)
fullClassName - full qualified class name
getFromClasses (fullClassName) != nullpublic boolean hasInClasses(UMLClass elem)
elem - Parameter description
public UMLClass getFromClasses(java.lang.String fullClassName)
fullClassName - full qualified class name
public boolean hasInReferences(UMLClass obj)
obj - Parameter description
public boolean hasKeyInReferences(java.lang.String key)
key - full qualified class name
public java.util.Iterator iteratorOfReferences()
public java.util.Iterator keysOfReferences()
public java.util.Iterator entriesOfReferences()
public int sizeOfReferences()
public UMLClass getFromReferences(java.lang.String key)
key - full qualified class name
public boolean addToReferences(UMLClass obj)
obj - Access method for an one to n association.
public boolean removeFromReferences(UMLClass obj)
obj - Parameter description
public boolean removeFromReferences(java.lang.String key,
UMLClass obj)
key - (ignored)obj - Class to remove from references
public boolean removeKeyFromReferences(java.lang.String key)
key - full qualified class name
public void removeAllFromReferences()
public void addToReferences(KeyValuePair pair)
pair - key-value-pair
public void addToReferences(java.lang.String key,
UMLClass value)
key - key forvalue - new value
public UMLType getOrNewType(UMLClass context,
java.lang.String name)
context - Parameter descriptionname - Parameter description
public UMLType getOrNewType(UMLClass context,
java.lang.String name,
boolean coobraPersistent)
context - No description providedname - No description providedcoobraPersistent - No description provided
public UMLType findType(UMLClass context,
java.lang.String name)
context - No description providedname - No description provided
public UMLType findType(UMLClass context,
java.lang.String name,
boolean create)
context - No description providedname - No description providedcreate - No description provided
public UMLType findType(UMLClass context,
java.lang.String name,
boolean create,
boolean coobraPersistent)
context - No description providedname - No description providedcreate - No description providedcoobraPersistent - No description provided
public UMLClass getOrNewClass(java.lang.String name)
name - Parameter description
public UMLClass getOrNewClass(java.lang.String name,
boolean coobraPersistent)
name - No description providedcoobraPersistent - No description provided
public UMLClass getOrNewClass(UMLClass context,
java.lang.String name)
context - Parameter descriptionname - Parameter description
public UMLClass getOrNewClass(UMLClass context,
java.lang.String name,
boolean coobraPersistent)
context - No description providedname - No description providedcoobraPersistent - No description provided
public UMLClass findClass(UMLClass context,
java.lang.String name)
context - No description providedname - No description provided
public UMLClass findClass(UMLClass context,
java.lang.String name,
boolean create)
context - No description providedname - No description providedcreate - No description provided
public UMLClass findClass(UMLClass context,
java.lang.String name,
boolean create,
boolean coobraPersistent)
context - No description providedname - No description providedcreate - No description providedcoobraPersistent - No description provided
public java.util.Iterator iteratorOfAllUndefinedMethods()
public UMLClass getClassFromImports(UMLClass context,
java.lang.String name)
context - Parameter descriptionname - Parameter description
public UMLClass getOrNewFromReferences(java.lang.String name)
name - full qualified class name
public UMLClass getOrNewFromReferences(java.lang.String name,
boolean coobraPersistent)
name - No description providedcoobraPersistent - No description provided
public UMLClass findReference(java.lang.String name)
name - No description provided
public UMLClass findReference(java.lang.String name,
boolean create)
name - No description providedcreate - No description provided
public UMLClass findReference(java.lang.String name,
boolean create,
boolean coobraPersistent)
name - No description providedcreate - No description providedcoobraPersistent - No description provided
private UMLClass createClass(java.lang.String name,
boolean coobraPersistent,
boolean reference)
name - No description providedcoobraPersistent - No description providedreference - No description provided
public void removeAllFromDiags()
removeAllFromDiags in class ASGProjectpublic UMLDiagram getFromDiags(java.lang.String name)
name - Parameter description
public static ASGDiagram retrieveDiagramByName(java.lang.String name)
name - The name of the diagram to search for.
public UMLTypeList getTypeList()
public void setTypeList(UMLTypeList typeList)
typeList - The new typeList valuepublic FrameMain getGui()
public void setGui(FrameMain gui)
gui - The new gui valuepublic boolean isSaved()
public void setSaved(boolean saved)
saved - The new saved valueprivate boolean createProjectBackup(java.io.File outputFile)
outputFile - No description provided
public boolean saveProject(java.io.File outputFile)
outputFile - Parameter description
private static final java.util.StringTokenizer createLineTokenizer(java.lang.String line)
line - Parameter description
public static boolean isLoading()
public static void setLoading(boolean flag)
flag - The new loading valuepublic static final UMLProject loadProject(java.io.File inputFile)
inputFile - No description provided
public static java.lang.Object getFromObjectHashTable(java.lang.String id)
id -
public static final UMLProject loadProject(java.io.BufferedReader reader,
java.lang.String fileName)
reader - No description providedfileName - No description provided
private static java.lang.Object loadPluginClass(java.lang.String className,
java.util.Hashtable plugins)
throws java.lang.Exception
className - No description providedplugins - No description provided
java.lang.Exception - Exception description not providedprivate static void inconsistencyRemoveObject(BasicIncrement incr)
incr - Parameter descriptionpublic UMLDiagram getCurrentUMLDiagram()
public void refreshDisplay()
public void removeYou()
removeYou in interface FElementremoveYou in class ASGProjectpublic void deleteBackupFile()
public UMLStereotypeManager getStereotypeManager()
public void setRootPackage(FPackage rootPackage)
setRootPackage in interface FProjectrootPackage - The new rootPackage valuepublic FPackage getFRootPackage()
getFRootPackage in interface FProject
public FPackage findFPackage(java.lang.String fullName,
boolean create)
findFPackage in interface FProjectfullName - No description providedcreate - No description provided
public FPackage findFPackage(java.lang.String fullName,
boolean create,
boolean coobraPersistent)
findFPackage in interface FProjectfullName - No description providedcreate - No description providedcoobraPersistent - No description provided
public FPackage getNewFromFPackages(java.lang.String fullName)
getNewFromFPackages in interface FProjectfullName - No description provided
public FPackage getNewFromFPackages(java.lang.String fullName,
boolean coobraPersistent)
getNewFromFPackages in interface FProjectfullName - No description providedcoobraPersistent - No description provided
public FPackage findFPackage(java.lang.String fullName)
findFPackage in interface FProjectfullName - No description provided
public FType getFromFBaseTypes(java.lang.String key)
getFromFBaseTypes in interface FProjectkey - No description provided
public FClass getFromFReferences(java.lang.String key)
getFromFReferences in interface FProjectkey - No description provided
public FType getOrNewFType(FClass context,
java.lang.String name)
getOrNewFType in interface FProjectcontext - No description providedname - No description provided
public FType getOrNewFType(FClass context,
java.lang.String name,
boolean coobraPersistent)
getOrNewFType in interface FProjectcontext - No description providedname - No description providedcoobraPersistent - No description provided
public FType findFType(FClass context,
java.lang.String name)
findFType in interface FProjectcontext - No description providedname - No description provided
public FType findFType(FClass context,
java.lang.String name,
boolean create)
findFType in interface FProjectcontext - No description providedname - No description providedcreate - No description provided
public FType findFType(FClass context,
java.lang.String name,
boolean create,
boolean coobraPersistent)
findFType in interface FProjectcontext - No description providedname - No description providedcreate - No description providedcoobraPersistent - No description provided
public FClass getOrNewFromFReferences(java.lang.String name)
getOrNewFromFReferences in interface FProjectname - No description provided
public FClass getOrNewFromFReferences(java.lang.String name,
boolean coobraPersistent)
getOrNewFromFReferences in interface FProjectname - No description providedcoobraPersistent - No description provided
public FClass findFReference(java.lang.String name)
findFReference in interface FProjectname - No description provided
public FClass findFReference(java.lang.String name,
boolean create)
findFReference in interface FProjectname - No description providedcreate - No description provided
public FClass findFReference(java.lang.String name,
boolean create,
boolean coobraPersistent)
findFReference in interface FProjectname - No description providedcreate - No description providedcoobraPersistent - No description provided
public FTypeList getFTypeList()
getFTypeList in interface FProject
public FClass getFClassFromImports(FClass context,
java.lang.String name)
getFClassFromImports in interface FProjectcontext - No description providedname - No description provided
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||