|
|||||||||||
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.uml.UMLIncrement
de.uni_paderborn.fujaba.uml.UMLFile
+-----------+ 1 1 UMLFile | getName() +----------------------- UMLClass +-----------+ file contains
Nested Class Summary |
Nested classes inherited from class de.uni_paderborn.fujaba.asg.ASGElement |
ASGElement.SortByNameComparator |
Field Summary | |
static java.lang.String |
DEFAULT_FILE_NAME
No comment provided by developer, please add a comment to improve documentation. |
Fields inherited from class de.uni_paderborn.fujaba.basic.BasicIncrement |
dontUseAccessMethodsInThisClass |
Fields inherited from interface de.uni_paderborn.fujaba.metamodel.FFile |
CONTAINS_PROPERTY, IMPORTED_CLASS_PROPERTY, IMPORTED_PACKAGES_PROPERTY, PACKAGE_PROPERTY |
Fields inherited from interface de.uni_paderborn.fujaba.metamodel.FIncrement |
ASSERT_IN_UNIT_TEST_PROPERTY, COMMENT_PROPERTY, CONSTRAINTS_PROPERTY, STEREOTYPES_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 | |
UMLFile()
Constructor for class UMLFile |
|
UMLFile(java.lang.String name)
Constructor for class UMLFile |
|
UMLFile(UMLClass clazz)
Constructor for class UMLFile |
Method Summary | |
boolean |
addToContains(FClass value)
|
void |
addToImportedClasses(FClass elem)
Access method for an one to n association. |
void |
addToImportedPackages(FPackage elem)
Access method for an one to n association. |
protected java.lang.String |
createUnparseModuleName()
No comment provided by developer, please add a comment to improve documentation. |
java.util.Enumeration |
elementsOfAllChildren()
No comment provided by developer, please add a comment to improve documentation. |
java.util.Enumeration |
elementsOfImportedClasses()
Deprecated. |
java.util.Enumeration |
elementsOfImportedPackages()
Deprecated. |
UMLClass |
getClassFromImports(java.lang.String fullName)
Get the classFromImports attribute of the UMLFile object |
UMLClass |
getContainsAt(int index)
|
FClass |
getFContainsAt(int index)
Get the fContainsAt attribute of the UMLFile object |
UMLClass |
getFirstOfContains()
|
FClass |
getFirstOfFContains()
Get the firstOfFContains attribute of the UMLFile object |
java.lang.StringBuffer |
getFooter()
Get the value of footer. |
FPackage |
getFPackage()
Get the fPackage attribute of the UMLFile object |
UMLClass |
getLastOfContains()
|
FClass |
getLastOfFContains()
Get the lastOfFContains attribute of the UMLFile object |
java.lang.String |
getName()
Get the name attribute of the UMLFile object |
UMLClass |
getNextIndexOfContains(FClass object,
int index)
|
FClass |
getNextIndexOfFContains(FClass object,
int index)
Get the nextIndexOfFContains attribute of the UMLFile object |
UMLClass |
getNextOfContains(FClass object)
|
FClass |
getNextOfFContains(FClass object)
Get the nextOfFContains attribute of the UMLFile object |
UMLPackage |
getPackage()
the package to which this file belongs 0,1 n n 0,1 UMLFile <--------------> UMLClass <--------------> UMLPackage |
FElement |
getParentElement()
Query the logical parent of this element (e.g. package of a class, diagram of an object). |
UMLClass |
getPreviousIndexOfContains(FClass object,
int index)
|
FClass |
getPreviousIndexOfFContains(FClass object,
int index)
Get the previousIndexOfFContains attribute of the UMLFile object |
UMLClass |
getPreviousOfContains(FClass object)
|
FClass |
getPreviousOfFContains(FClass object)
Get the previousOfFContains attribute of the UMLFile object |
UMLProject |
getProject()
Get the project attribute of the UMLFile object |
boolean |
getTokensDirty()
Deprecated. |
boolean |
hasInContains(FClass value)
|
boolean |
hasInImportedClasses(FClass elem)
No comment provided by developer, please add a comment to improve documentation. |
boolean |
hasInImportedPackages(FPackage elem)
No comment provided by developer, please add a comment to improve documentation. |
int |
indexOfContains(FClass elem)
|
boolean |
isAfterOfContains(FClass leftObject,
FClass rightObject)
|
boolean |
isBeforeOfContains(FClass leftObject,
FClass rightObject)
|
boolean |
isCodeGenDenied()
if (codeGenDenied) UMLProject is not allowed to create the UMLFile |
boolean |
isNewFile()
Deprecated. |
java.util.Iterator |
iteratorOfContains()
|
java.util.Iterator |
iteratorOfContains(FClass lowerBound)
Deprecated. useless and lets the 'contains' assoc look like a qualified one |
java.util.Iterator |
iteratorOfImportedClasses()
No comment provided by developer, please add a comment to improve documentation. |
java.util.Iterator |
iteratorOfImportedPackages()
No comment provided by developer, please add a comment to improve documentation. |
int |
lastIndexOfContains(FClass elem)
|
boolean |
necessaryToCreateFile()
No comment provided by developer, please add a comment to improve documentation. |
void |
removeAllFromContains()
No comment provided by developer, please add a comment to improve documentation. |
boolean |
removeFromContains(FClass value)
|
void |
removeFromImportedClasses(FClass elem)
No comment provided by developer, please add a comment to improve documentation. |
void |
removeFromImportedPackages(FPackage elem)
No comment provided by developer, please add a comment to improve documentation. |
void |
removeYou()
Isolates the object so the garbage collector can remove it. |
void |
removeYouAndMyClasses()
Isolates the UMLFile and all its classes in order to prepare a new load. |
void |
setFooter(java.lang.StringBuffer footer)
Set the value of footer. |
void |
setName(java.lang.String newName)
Sets the name attribute of the UMLFile object |
void |
setNewFile(boolean isNew)
Deprecated. |
void |
setProject(UMLProject proj)
Sets the project attribute of the UMLFile object |
void |
setTokensDirty(boolean tokensDirty)
Deprecated. |
int |
sizeOfContains()
|
int |
sizeOfImportedClasses()
No comment provided by developer, please add a comment to improve documentation. |
int |
sizeOfImportedPackages()
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface de.uni_paderborn.fujaba.metamodel.FIncrement |
addToConstraints, addToStereotypes, entriesOfStereotypes, getFComment, getFromFStereotypes, hasInConstraints, hasInStereotypes, hasKeyInStereotypes, isAssertInUnitTest, iteratorOfConstraints, iteratorOfStereotypes, keysOfStereotypes, removeAllFromConstraints, removeAllFromStereotypes, removeFromConstraints, removeFromStereotypes, removeKeyFromStereotypes, setAssertInUnitTest, setComment, sizeOfStereotypes |
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 |
public static final java.lang.String DEFAULT_FILE_NAME
Constructor Detail |
public UMLFile()
public UMLFile(java.lang.String name)
name
- No description providedpublic UMLFile(UMLClass clazz)
clazz
- No description providedMethod Detail |
protected java.lang.String createUnparseModuleName()
createUnparseModuleName
in class ASGElement
public java.lang.String getName()
getName
in interface FElement
getName
in class ASGElement
public void setName(java.lang.String newName)
setName
in interface FElement
setName
in class ASGElement
newName
- The new name valuepublic boolean getTokensDirty()
public void setTokensDirty(boolean tokensDirty)
tokensDirty
- The new tokensDirty valuepublic java.lang.String toString()
public UMLPackage getPackage()
0,1 n n 0,1 UMLFile <--------------> UMLClass <--------------> UMLPackage
public FPackage getFPackage()
getFPackage
in interface FFile
FFile.getFPackage()
public UMLProject getProject()
public void setProject(UMLProject proj)
proj
- The new project valuepublic boolean isCodeGenDenied()
isCodeGenDenied
in interface FFile
public boolean hasInContains(FClass value)
hasInContains
in interface FFile
value
- No description provided
#contains
public java.util.Iterator iteratorOfContains()
iteratorOfContains
in interface FFile
#contains
public int sizeOfContains()
sizeOfContains
in interface FFile
#contains
public boolean addToContains(FClass value)
addToContains
in interface FFile
value
- The object added.
#contains
public boolean removeFromContains(FClass value)
removeFromContains
in interface FFile
value
- No description provided
#contains
public void removeAllFromContains()
FFile
removeAllFromContains
in interface FFile
#contains
public UMLClass getContainsAt(int index)
index
- No description provided
#contains
public FClass getFContainsAt(int index)
getFContainsAt
in interface FFile
index
- No description provided
FFile.getFContainsAt(int)
public int indexOfContains(FClass elem)
indexOfContains
in interface FFile
elem
- No description provided
#contains
public int lastIndexOfContains(FClass elem)
lastIndexOfContains
in interface FFile
elem
- No description provided
#contains
public java.util.Iterator iteratorOfContains(FClass lowerBound)
iteratorOfContains
in interface FFile
lowerBound
- No description provided
#contains
public boolean isBeforeOfContains(FClass leftObject, FClass rightObject)
isBeforeOfContains
in interface FFile
leftObject
- No description providedrightObject
- No description provided
#contains
public boolean isAfterOfContains(FClass leftObject, FClass rightObject)
isAfterOfContains
in interface FFile
leftObject
- No description providedrightObject
- No description provided
#contains
public UMLClass getFirstOfContains()
#contains
public FClass getFirstOfFContains()
getFirstOfFContains
in interface FFile
FFile.getFirstOfFContains()
public UMLClass getLastOfContains()
#contains
public FClass getLastOfFContains()
getLastOfFContains
in interface FFile
FFile.getLastOfFContains()
public UMLClass getNextOfContains(FClass object)
object
- No description provided
#contains
public FClass getNextOfFContains(FClass object)
getNextOfFContains
in interface FFile
object
- No description provided
FFile.getNextOfFContains(de.uni_paderborn.fujaba.metamodel.FClass)
public UMLClass getNextIndexOfContains(FClass object, int index)
object
- No description providedindex
- No description provided
#contains
public FClass getNextIndexOfFContains(FClass object, int index)
getNextIndexOfFContains
in interface FFile
object
- No description providedindex
- No description provided
FFile.getNextIndexOfFContains(de.uni_paderborn.fujaba.metamodel.FClass,
int)
public UMLClass getPreviousOfContains(FClass object)
object
- No description provided
#contains
public FClass getPreviousOfFContains(FClass object)
getPreviousOfFContains
in interface FFile
object
- No description provided
FFile.getPreviousOfFContains(de.uni_paderborn.fujaba.metamodel.FClass)
public UMLClass getPreviousIndexOfContains(FClass object, int index)
object
- No description providedindex
- No description provided
#contains
public FClass getPreviousIndexOfFContains(FClass object, int index)
getPreviousIndexOfFContains
in interface FFile
object
- No description providedindex
- No description provided
FFile.getPreviousIndexOfFContains(de.uni_paderborn.fujaba.metamodel.FClass,
int)
public java.lang.StringBuffer getFooter()
getFooter
in interface FFile
public void setFooter(java.lang.StringBuffer footer)
footer
- Value to assign to footer.public java.util.Enumeration elementsOfAllChildren()
elementsOfAllChildren
in class UMLIncrement
public boolean hasInImportedClasses(FClass elem)
hasInImportedClasses
in interface FFile
elem
- No description provided
public int sizeOfImportedClasses()
public java.util.Enumeration elementsOfImportedClasses()
elementsOfImportedClasses
in interface FFile
public java.util.Iterator iteratorOfImportedClasses()
iteratorOfImportedClasses
in interface FFile
public void addToImportedClasses(FClass elem)
addToImportedClasses
in interface FFile
elem
- The object added.public void removeFromImportedClasses(FClass elem)
removeFromImportedClasses
in interface FFile
elem
- No description providedpublic boolean hasInImportedPackages(FPackage elem)
hasInImportedPackages
in interface FFile
elem
- No description provided
public int sizeOfImportedPackages()
public java.util.Enumeration elementsOfImportedPackages()
elementsOfImportedPackages
in interface FFile
public java.util.Iterator iteratorOfImportedPackages()
iteratorOfImportedPackages
in interface FFile
public void addToImportedPackages(FPackage elem)
addToImportedPackages
in interface FFile
elem
- The object added.public void removeFromImportedPackages(FPackage elem)
removeFromImportedPackages
in interface FFile
elem
- No description providedpublic UMLClass getClassFromImports(java.lang.String fullName)
fullName
- No description provided
public boolean necessaryToCreateFile()
necessaryToCreateFile
in interface FFile
public void removeYouAndMyClasses()
public void removeYou()
removeYou
in interface FElement
removeYou
in class UMLIncrement
public FElement getParentElement()
getParentElement
in interface FElement
getParentElement
in class ASGElement
public boolean isNewFile()
public void setNewFile(boolean isNew)
isNew
- The new newFile value
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |